[self.mapView.locationDisplay startDataSource]; self.mapView.locationDisplay.autoPanMode = AGSLocationDisplayAutoPanModeOff;
When you start data source, and if your auto pan mode is anything other than AGSLocationDisplayAutoPanModeOff, the map would zoom to your current location. If you want to zoom to a different area, turn off location display's auto pan mode. [self.mapView.locationDisplay startDataSource]; self.mapView.locationDisplay.autoPanMode = AGSLocationDisplayAutoPanModeOff; More information on auto pan modes hereHope this helps! I encourage you to try our latest releases 10.2.3 or 10.2.2 to take advantage of all the new capabilties
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.