Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I've had a search on here to see if this has come up but I've not found anything, sorry if this is a duplicate.

I'm trying to use the Google Maps layers with an OpenLayers site, but not for all zoom levels. What I want to do is use the NASA global mosaic from my own map server (which works) but once I'm zoomed in far enough, switch to Google for lower level imagery from them. So far I've set Google as a base layer and used my own tiles as an overlay, but doing this means a request to google for all the zoom levels that are covered by my tiles. It seems wasteful to get tile data from google which will never be visible to the user.

What I want to do is limit the available zoom levels for the Google Layer to those zoom levels that are not covered by NASA, while not restricting the zoom levels available to the map as a whole.

My best guess was to create a dummy base layer covering the correct resolutions and zoom levels, and set a restricted set of Google as an overlay, but this is proving very difficult.

Any pointers would be much appreciated.

Thanks.

share|improve this question
1  
See the question, and answer, here. I believe it matches your question. gis.stackexchange.com/questions/2039/… –  Vadim Jul 2 '12 at 23:48
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.