I have some very high resolution aerial imagery that I would like to display over a satellite view base map. My imagery is good enough to generate images up to zoom level 23. However, Google's satellite view only allows zooming in to level 20. I know that I can manually switch the map type to my custom overlay once the user zooms in to level 20 (so only my map type is shown), but then I lose the Google imagery for a full zoom level.
My question is, is there some way to register for an event once the zoom reaches level 20, where the client is attempting to zoom in further but can't? If not, are there other ideas on how I can enable further zooming without losing the Google imagery at level 20?
The only other solution that I can come up with is to create a second custom tile server that simply forwards requests on to the standard Google tile url, but that offers a different min/max zoom. If this idea is the way to go, I would like to get confirmation on that as well. Thanks.
maxZoom
andminZoom
properties withinmapOptions
.