Page 1 of 1

re-center map, vary zoom level

PostPosted: Fri Jan 15, 2016 4:51 pm
by hollyheadhunter
I'm wondering how a map can be re-centered before a user arrives at the map layout. For instance, the sample file has a lot of Seattle properties. Upon adding a Texas property and hitting Map, it'd be nice if the map would be centered on the new location.

Additionally, wondering if the Zoom level can be set before user arrives at the map.

Re: re-center map, vary zoom level

PostPosted: Sat Jan 16, 2016 1:52 pm
by John Sindelar
Hi Joanne,

The map gets its center based on the "center" of then selected area(s) or the center of all the pins currently matching the filters, if you're not using areas. This is normally what you'd want: in your case of you have no areas and add a Texas property that matches the current filters the map would center between Seattle and Texas after you click "refresh". It will also zoom out or in until all the pins are in frame--again, after you click "refresh" or call the "Refresh Map" script yourself.

Texas.jpg (120.79 KiB) Viewed 2722 times

We don't have any scripts that let you manipulate the center of the map directly. You could make an overall area and the map would always center/zoom on that are regardless of what your pins were doing.

I hope that helps,