Sasha A


Folks,

Is there any way in the VE API to query for whether imagery is available at a particular zoom level and lat/long I'm showing closeup maps, and I'd really like to not show a map (or show it at a different zoom) if imagery isn't there. I don't see anything in the API, but I might just be missing it. Does anyone else know if it's there

Thanks,
Sasha.



Re: Query for imagery available?

Derek Chan


You mean birds eye imagery right If that's so, there's a method VEMap.IsBirdseyeAvailable() which checks a lat/long to see if birds eye is available there.

More information here:
http://msdn2.microsoft.com/en-us/library/bb429589.aspx

Hope that helps,







Re: Query for imagery available?

Sasha A

Sorry, no, I mean non-bird's eye satellite imagery.

There are many parts of the globe where VE doesn't have hybrid or aerial imagery at the close zoom levels; they just have grey images with a circle around a camera with a bar through it. Is there any way to query for that kind of imagery availability





Re: Query for imagery available?

Derek Chan

Unfortunately, there's no supported way to do what your looking for. The problem is that the VE tiles are actually the "camera with a bar through it" images (compared to referencing a single image for all cases). You may want to dig through the API and see if there's an unsupported way to find that out, but I suspect it's only determined by the tile server and not handled at all through the API.

Hope that helps,




Re: Query for imagery available?

SoulSolutions

When Derek says he hasn't found anything in the API to do it you may not want to take up the challenge

I had a successfull method using the DOM to detect the image signature in V4 but it meant that it cause lots of processing on the client and was not 100% reliable for production systems.

http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1303375&SiteID=1

We ended up storing the boundary areas of the detailed imagry as an encoded set of points and validating the view in the client. This worked very well but add a few KB to the javascript and was limited to the specific country we did.

John.