re-center map, vary zoom level

General support questions.
Posts: 10
Joined: Thu Oct 31, 2013 7:55 am
PostPosted: Fri Jan 15, 2016 4:51 pm
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.
SeedCode Staff
SeedCode Staff
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Sat Jan 16, 2016 1:52 pm
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
Texas.jpg (120.79 KiB) Viewed 10219 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,

John
John Sindelar
SeedCode

Return to General Support

Who is online

Users browsing this forum: No registered users and 2 guests

cron
(855) SEEDCODE
[email protected]
Follow us: