Best Approach to enabling GPS only if current location is within Map Extent

Discussion created by melvin_tan on Apr 27, 2011
Latest reply on Apr 28, 2011 by jamesrichards
What is the best approach to check if the current gps location is within the extent of the map, before switching on the gps and auto pan?

For example, if the base map I???m using only has data for Singapore, and if someone launches this app outside the country, how do I detect it? I understand one of the approach is to check the extent and gps coordinates manually, is there a better solution to tackling that?