AnsweredAssumed Answered

ArcGIS Javascript API - GraphicsLayer misalignment

Question asked by Avalair on Jun 8, 2015
Latest reply on Jun 11, 2015 by Avalair

Howdy ESRI Community.

 

I have a layer misalignment that I cannot explain.

The details:

     - ArcGIS js api v3.12.

     - IE7.

     - map loads with streets basemap.

     - one ArcGISDynamicMapServiceLayer: projection set to:

WGS_1984_Web_Mercator

WKID: 3785 Authority: EPSG

 

     - when a queryTask is executed against the ArcGISDynamicMapServiceLayer, the results are dumped into a graphicLayer.

 

Screenshot of misalignment (red features are in the graphicsLayer):

 

I can confirm that:

- the spatial reference of the map object's extent seems to be set correctly:

latestWkid: 3857

wkid: 102100

- the spatial reference of the graphics objects seem to be correct (sample of one of the objects):

latestWkid: 3857

wkid: 102100

- the spatial reference of the basemap layer object also seems to be correct:

latestWkid: 3857

wkid: 102100

 

Any super duper GIS people out there with an idea?

If all the projections are the same, why the misalignment?

 

Thanks!

Outcomes