You should star this issue: http://code.google.com/p/gmaps-api-issues/issues/detail?id=55 (and not just add an inane comment - they are ignored - and do nothing but frustrate)
Otherwise I dont know quite what you mean about the zoom slider. The API doesn't know what zoom levels are available. All it does is try setting a zoom level, and if loading the tiles fail, then it puts that message. I suppose its possible it uses a failure and then sets that as a max zoom level, but personally never seen that - Just tried it now and it doesn't appear to do that. Knowing in advance what levels are available would be difficult, and would really require a request to check if anything available - which would slow zooming, and require the server infrastructure to support it. I doubt a database is maintained about zoomlevels, its simply if a tile is available. (although I suppose a webservice could be made that just checks if a given tile is available - very quickly - the API could then check a single central tile*) * I don't believe it can use the current system to reliably detect no imagery, as the tile could fail loading for different reasons, and a authoritative no from a webservice would at least be deterministic. Actually using the tile server for this would be wasteful as you couldn't use the image returned so it would only slow matters and waste bandwidth. On Sat, Nov 1, 2008 at 11:11 PM, cthornbe <[EMAIL PROTECTED]> wrote: > > OK, I know this has been discussed a couple of times in different > places on the group but I'm going to ask this question again to see if > there are any hacks out there and might spark someone's creativity :-) > > Here is my frustration ... > > I have a custom application that uses the Google Maps API to identify > locations. Once I identify a location I really need to know what the > maximum available zoom level for satellite imagery is at that specific > lat/lon point. > > From everything I have read online and on the newsgroup here that > there is absolutely no way to determine the maximum zoom level. My > question, however, is that why if you set a zoom level when you find > the location and it is something less than the maximum available zoom > at that location will it only allow you access to available zoom > levels? > > I am going to take it because the Developers know what the maximum > zoom is and just don't give us access to that information. So, where > my thought process comes in is would it be possible through some type > of JavaScript to go through the process of setting a zoom level (say > 16) and them programatically have my software attempt to zoom using > the MapControl to determine that max zoom level? > > Hopefully this makes sense ... I know it's a potential hack, but I > believe is something that should definitely be made available in a > future release of the API. Hopefully the next one ;-) > > > > -- Barry - www.nearby.org.uk - www.geograph.org.uk - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
