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.

This question already has an answer here:

I want to overlay WMS tiles on Google maps using the following scales 1:287 / 1:573 / 1:1146 / 1:2292 (layer preview in geoserver)

I set a bounding box and a centroid for a specific area to set the google map as base layer.

However as I zoom or move the mouse my overlayed tile moves along, losing focus (when panning tiles not in sync).

Is there a way to resolve this?

(i am using openlayers vs 2.1/geoserver 2.1.4)

share|improve this question

marked as duplicate by Devdatta Tengshe, PolyGeo, artwork21, dassouki, whuber Jun 10 '13 at 13:06

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

In Short - No.

The new Google Maps v3 ToS require to use the API rather than the tiles directly. Thus, when you pan an OL map, there's a slight delay where the OL code has to pass a message to the Goog javascript API which then pans it's own map.

Whereas if we were using tiles directly, OL would pan the image tiles itself.

This is a known issue with no known legal workarounds. There are solutions out there that tap into the Google tiles directly, but I won't reference them.

We faced the same problem with the OL 2.12/Goog v3 combo with no resolution.

share|improve this answer
    
Do you imply that resolving this issue may violate google's terms of use? –  Nik Oct 16 '12 at 6:12
1  
I don't imply. I'm stating that with certainty :) There are tickets in OL that provide the solution and then the OL admins rolled back those changes due to collision with Google's terms. –  Vadim Oct 16 '12 at 16:24
    
I havent worked with microsoft or nokia api, is this an issue with their api as well ? If yes are you aware if any possible solutions violate their terms of use? –  Nik Oct 16 '12 at 17:37
    
You can access Bing tiles directly (OL does that for you), but now you have to use Bing v7 and have an API key. I have no experience with OL + Nokia. –  Vadim Oct 16 '12 at 17:41
    
There may be an obvious answer to this one, If I ask geoserver through openlayers to return KML instead of png images will resolve the problem? –  Nik Oct 17 '12 at 16:54

Not the answer you're looking for? Browse other questions tagged or ask your own question.