Select to view content in your preferred language

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

530
1
04-27-2011 08:27 AM
MelvinTan
Emerging Contributor
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?
0 Kudos
1 Reply
JamesRichards1
Regular Contributor
I think you'd need to use CoreLocation for that.
0 Kudos