Bug #2786
Mercury Search UI map widget pops up map data panel on every use of map
100%
Description
Noticed this 5-21. Every map load, zoom, etc. seems to result in a new 'Map Data' copyright panel popping up in the map control that the user must close to use the map. Very annoying.
No code changes. Seems to be new behavior in either the google v3 map api?
History
#1 Updated by Skye Roseboom over 12 years ago
Looks to be css issue with widget:
#2 Updated by Skye Roseboom over 12 years ago
- Status changed from New to Closed
Applied patch found at end of http://trac.osgeo.org/openlayers/ticket/2984 to d1_mercury/src/main/webapp/mfbase/openlayers/OpenLayers.js and tested.
#3 Updated by Skye Roseboom over 12 years ago
Google Map API v3 is served from a google content server to the web client. Our application requests the version of the map api. However when google deprecates / EOL's the version requested by ONEMercury, the next oldest version is served instead. For example, if we request v=3.1 but 3.1 has been EOL'd then version 3.2 will actually be returned.
So what happened here is ONEMercury was tested and deployed with v3.6 which was then EOL'd so v3.7 was served and introduced some css display changes that effected the open layers map widget - triggering the re-occurring popup.
Updated ONEMercury to request v3.8, the latest release version - however when 3.8 is EOL'd the behavior of the map widget may be altered if the new map api version has modified behavior.