[OpenLayers-Users] OpenLayer + Google Maps API key

Christopher Schmidt crschmidt at metacarta.com
Thu Nov 19 08:49:51 EST 2009


On Thu, Nov 19, 2009 at 10:57:46AM +0100, Czarek Tomaszewski wrote:
> Hi, 
> I’ve created application based on GWT-OpenLayer. It works OK. Application enables client to change that key in configuration form but I’ve noticed that when I put incorrect key, popup window informs me: 
> 
> “This web site needs a different Google Maps API key …” and it is OK,
> 
> but after all, map is opening. I think it should not. I checked this also using simple example from http://workshops.opengeo.org/stack-intro/openlayers.html and problem is the same. 
> 
> Does anyone know how to solve the problem? 

So your complaint is "The Google Maps API pops up an error message, but
the map still works"? This is not a problem with OpenLayers, it is a problem
with the Google Maps API (and can be caused to happen without OpenLayers
involvement at all).

OpenLayers can not do anything about this behavior.

Best Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list