0

Using ArcGIS for JavaScript 3.22 I am overlaying an ArcGISDynamicMapServiceLayer from a ArcGIS Server on top of ESRI basemap. While the service is published in the projected coordinate system with Spatial Reference: 102671 (3435) (NAD_1983_StatePlane_Illinois_East_FIPS_1201_Feet) the eve.mappoint returns the geometry coordinate in the spatial reference of Web Mercator or Geographic (4326) or 102100.

Can you please let me know how I can force the output to be in the Map Service projected format 102671 (3435) ?

  • Can you please show some of your code ? – LMokrane Nov 15 '17 at 7:07
1

The projection of the published service doesn't matter here. The projection is decided by the basemap's projection. You cannot force a change in that.

You can either use a basemap in the projection you want your coordinates to be in, or, maybe preferably, use the geometry service to convert the eve.mappoint geometry coordinates to the spatial reference of your choice.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.