Map Page "Center on" not working

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-09-2011 08:56 PM
I have create a custom Map Page (based on the default Location version) that renders a subset of location records and sets a different icon based on a location "Type". Everything works correctly except for the "Center on" attribute. I have change the default propery for the Google Map settings and set the "Center" on attribute on the instance variable in the Map Page itself, but no matter what, the map renders with it's center in the South Atlantic.
I even went so far as to try as set the center via code (using the map.setCenter(latlon) method) to no avail.
var darwin = new LatLng(37.0625,-95.677068);
map.setCenter(darwin);
map.panTo(darwin);
Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2011 08:25 AM
try personalize > form layout and add "center latitude" and "center longitude"

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2011 08:54 AM
That was it. Thanks.
Odd that there are multiple fields to configure the map center and the ones that work are not on the form by default??

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2011 01:28 PM
Hi borebaug,
If you don't mind, in order to help other members, could you mark your question as "answered"?
Thanks!
-Lawrence