Select to view content in your preferred language

arcgisonline services "Map data not yet available"

847
2
02-03-2011 03:50 PM
RyanCoodey
Frequent Contributor
So I have been using the ESRI_Imagery_World_2D as our background layer for our web maps... I see that this service is now in Extended support so I was going to switch to the World_Imagery service (and WGS 84 Web Mercator).  But when I zoom in too far I get tiles that say "Map data not yet available"... is there a way to not show these and still zoom in on the layer? 

Bringing this same service into ArcMap I do not see these not available tiles... sure it gets blurry, but I prefer that over nothing.

Also, a side question: what is the difference between server.arcgisonline.com and services.arcgisonline.com?  Are they pointing to the same server?

Thanks a lot!
0 Kudos
2 Replies
dotMorten_esri
Esri Notable Contributor
There's nothing out of the box that does this in the API's (from the API point of view, it's still getting a tile and isn't trying to analyze the image).

It might be possible to use the TileLoaded event on the layer to check the image stream coming back and see if you can "recognize" that this is one of these images - ie first look at the stream length which is 2521bytes (although subject to change), and then check some bytes to see if these match the "not available" image bytes". However the only option you get is to replace the image with your own, or set it to "null", meaning not displaying an image at all (so it's not the blurred image you see in ArcMap).
0 Kudos
RyanCoodey
Frequent Contributor
hmm, that�??s a bummer.  Thanks for the clarification Morten!
0 Kudos