POST
|
Hi i am using the below code to display current location on the map. I notice that the current location does not seem to be updating my new location. I would like to make it sure that the location indicator would update the pointer when i move around places. It is something that i miss out. Sorry new to ios development [self.mapView.locationDisplay startDataSource];
self.mapView.locationDisplay.autoPanMode = AGSLocationDisplayAutoPanModeCompassNavigation;
... View more
12-23-2013
03:37 PM
|
0
|
0
|
729
|
POST
|
Hi i manage to solve my own problem. double x =mapPoint.x; double y =mapPoint.y; allow you to get x and y coordinate from AGSPoint. Thanks
... View more
12-15-2013
05:04 PM
|
0
|
0
|
231
|
POST
|
hi i would like to get the current coordinate of the user on the mapview. i tried using AGSGeometryEngine to convert the coordinate i got from CLLocationManager as shown: AGSPoint* gpsPoint = [[AGSPoint alloc] initWithX:location.coordinate.longitude y:location.coordinate.latitude spatialReference:[AGSSpatialReference wgs84SpatialReference]]; AGSGeometryEngine* engine = [AGSGeometryEngine defaultGeometryEngine]; AGSPoint* mapPoint = (AGSPoint*) [engine projectGeometry:gpsPoint toSpatialReference:self.mapView.spatialReference]; My question is how do i get the x and y coordinate in NSString instead of AGSPoint or AGSGeometry? Is there another way to get the current coordinate? Thanks!
... View more
12-15-2013
04:44 PM
|
0
|
1
|
3128
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|