POST
|
AGSPoint has x and y properties you can use to access lat/long. so from your example
AGSPoint *currentPoint = [AGSPoint pointWithX:longValue
y:latValue
spatialReference:[AGSSpatialReference wgs84SpatialReference]];
currentPoint = (AGSPoint *)[[AGSGeometryEngine defaultGeometryEngine] projectGeometry:currentPoint
toSpatialReference:[AGSSpatialReference webMercatorSpatialReference]];
//you could get the lat long back out like so
double long = [currentPoint x];
double lat = [currentPoint y];
Sorry if i am misunderstanding this question. Yes ...You are right...but [currentPoint x] and [currentPoint y] returns UTM coordinates...so if you know.. how to convert back this to original lat-long value...Let me know... For ref. original lat-long x=-90.293628 Y=41.713072 later lat-long x = -10051440.690837, y = 5118095.453266 (UTM) Thanx for your reply...
... View more
07-31-2013
04:19 AM
|
0
|
0
|
432
|
POST
|
Hi frnds, Anyone know....How to convert ARCGIS AGSPoint to lat-long in iOS ? I knew ..how to convert lat-long to AGSPoint by this, AGSPoint *currentPoint = [AGSPoint pointWithX:longValue y:latValue spatialReference:[AGSSpatialReference wgs84SpatialReference]]; currentPoint = (AGSPoint *)[[AGSGeometryEngine defaultGeometryEngine] projectGeometry:currentPoint toSpatialReference:[AGSSpatialReference webMercatorSpatialReference]]; using this code i can find the AGSPoint of any lat-long value... So what, I have to do to reverse this process or any idea if you know..Help me....
... View more
07-29-2013
08:41 PM
|
0
|
3
|
5491
|
POST
|
I am new in arcgis framework, I am working on arcgis to do some plotting stuff in ios but i am not able to zoom at certain level using my ios devices. Devices: IPAD/ IPAD RETINA Both of these has different zoom level. Can you help to resolve these issue?
... View more
07-23-2013
03:47 AM
|
0
|
0
|
210
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|