Default Map Location

Dec 1, 2011 at 10:31 PM


Is there such thing as setting a default location?  If so, which xml file should the information be recored?

I see a <globalsettings><near>... section and added the location, but that doesn't seem to do anything.




Dec 8, 2011 at 5:13 AM

Yes, it is not working currently. I've added it in configuration file to reduce the future cost of enabling this capability. Didn't get time to actually code this, but it is simple to implement.


Sep 20, 2012 at 12:36 PM

I'd also like to default the Map Browser location to the only country in which I have my locations. Is there a way of doing this through manipulating any of the various files?

Sep 23, 2012 at 11:56 AM

This funtionality is now available in v2-solution in the downloads.  There is a global setting called 'defaultMapLocation' where you need to specify the lat-long where you want to zoom map when it renders for first time. You need to also specify the zoom level.


Sep 25, 2012 at 10:31 PM

Yes, works perfectly now and thanks for getting back to me so quickly. This is a must-have resource for anyone doing demos. Thanks again.