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-center map, vary zoom level
2 posts
• Page 1 of 1
Posts: 10
Joined: Thu Oct 31, 2013 7:55 am |
|
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
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. 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, John John Sindelar
SeedCode |
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 4 guests