Hello all:We are attempting to get a geocode (i.e., longitude, latitude) from the sketch layer. To date we have been successful in getting the X and Y from the point but they look like this:89569.25265 45236.32566
This obviously is not even close to being a geocode (i.e., longitude, latitude), at least not in my normal line of thinking.Now we're using a notification to use respondToGeomChanged [see below]:[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(respondToGeomChanged
name:AGSSketchGraphicsLayerGeometryDidChangeNotification object:nil];
That method, when called, fires, gets the geometry information from the sketchLayer that we've already instantiated.self.sketchLayer.geometry
If we simply put that in a log, we can find out that it's a mutable point ... and from there we can build that out appropriately:AGSMutablePoint *currentSketchValue = self.sketchLayer.geometry;
Now that we have an AGSMutablePoint the documentation from Esri for version 10.1 of the SDK we see we have access to an X (double) and a Y (double) ... but these are not longitude and latitude. These are the numbers that I showed above.How do we either A) get the longitude and latitude or
convert the AGSMutablePoint X & Y to a longitude and latitude?