rogue_markers

This map is trying to show available listings in Austin, TX. A few rogue map markers is causing the map to zoom out to include all markers on the map.

Listing addresses are geocoded to get the correct latitude and longitude. Sometimes, especially when the address was not correctly input by the agent during the creation of the MLS listing, that geocoding goes awry:

Detecting that the geocode didn't quite give us what we expected isn't so easy.  The geocode succeeded, we just got wrong results.

Rover IDX can handle this scenario very nicely, using the defined_location feature.

Step 1.  In the Rover IDX plugin admin pages, go to Styling >> Map.

Step 2.  Select the "Defined Locations" tab.

Step 3.  Move the map to include the entire area that you want to cover.  For instance, if you want to display Austin, TX, zoom in/out to show all of Austin on the map.

Step 4.  Click your mouse on the map to place a marker in a corner.  Repeat this for all four corners.

Step 5.  Notice that a Save this new Polygon button appears.  Press it, and give your four-cornered polygon a name.

create_polygon

This is what your polygon might look like

 

Step 6.  On your search page, add defined_locations="<polygon name>" to your Rover shortcode.  For instance:

[rover_idx_full_page defined_locations="austin area" ]

If you do not want the polygon to display, but still have the map respect the boundaries of the polygon:

[rover_idx_full_page defined_locations="austin area" show_defined_locations="false"]