Select to view content in your preferred language

Problem with shape file display

582
2
03-10-2011 09:07 PM
MartinKunert
Emerging Contributor
Hi,

I am facing issues with shape file display.I have created the widget and added it to the ArcGIS viewer.My problem is,

a) When I use the map service "http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer" shape file display works fine.I assume this service is in extended support now.

b) When I use the map service "http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer", shape file display fails.I am getting 'Map data not yet available' message.

Please provide me the reason for this behavior,if anyone has observed this. Is there any difference with the map layers?

Thanks
Tags (2)
0 Kudos
2 Replies
DasaPaddock
Esri Regular Contributor
Martin,

Those services have different spatial references (geographic vs. web mercator).

You can try using the WebMercatorUtil class to convert your geometry from geographic to web mercator.
0 Kudos