TransWikia.com

How to Specify Out Unit to Be in Decimal Degree in ArcGIS JS API

Geographic Information Systems Asked by Mona Coder on February 20, 2021

I am using a Map service on ArcGIS Server 10.4.1 which is in this format

Spatial Reference: 102100  (3857) 
Single Fused Map Cache: false 
Initial Extent:
XMin: -9819759.37726215
YMin: 5128008.078704429
XMax: -9809084.764440382
YMax: 5132626.115644935
Spatial Reference: 102100  (3857)
Full Extent:
XMin: -9819004.6505
YMin: 5125535.589900002
XMax: -9809349.0802
YMax: 5131992.668099999
Spatial Reference: 102100  (3857)

Units: esriMeters

Now when I query the service it returns the data in Meter format which I can not display back them on the map as new graphics. Can you please let me know how I can change the service configuration or OutUnit in ArcGIS JavaScript API to be in Decimal Degree?

One Answer

You need to set the Output Spatial Reference to 4326

Answered by GavinR on February 20, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP