[OpenLayers-Dev] Re: [Openlayers-Users] Map data popups on Google
ahocevar at opengeo.org
Sat Dec 18 09:38:06 EST 2010
On Dec 17, 2010, at 20:12 , Martin Saturka wrote:
> one possibility to deal with the "map data popups" at google v 3.3 is to change the repositionMapElements method on OpenLayers.Layer.Google class - to comment out two lines there:
> //termsOfUse.style.display = "";
> //cache.termsOfUse = termsOfUse;
> This works well for me for both v3.2 and v3.3 of Google API.
> The v3.3 detects it, and when the data providers string is too large, it just puts a link to the popup with the data providers. It is better then, since you can see the strings appropriately.
> It looks that OL is confused by the change and supposes that the popup is something to be shown (without clicking for it).
> Martin Saturka
> Software Engineer, Sourcefabric
> martin.saturka at sourcefabric.org
> Subscribe to our Newsletter:
> Salvátorská 10
> 110 00 Praha 1, Czech Republic
> Dev mailing list
> Dev at lists.osgeo.org
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
More information about the Dev