Letractively / morisoliver

Automatically exported from code.google.com/p/morisoliver
0 stars 0 forks source link

Google basemaps suddenly pop up a metadata window - on each zoom and pan #123

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As of today 2/8/2012, we noticed that any OLIVER app that goes to a Google 
basemap sees a metadata window.  The text is different depending on which 
basemap is used.  See attachment for sample.  Are we stuck with this or is 
there a way around it? 

Original issue reported on code.google.com by Aleda.Fr...@state.ma.us on 8 Feb 2012 at 7:49

Attachments:

GoogleCodeExporter commented 9 years ago
I see a discussion of this at the bottom of this thread: 
http://openlayers.org/blog/2010/07/10/google-maps-v3-for-openlayers/ 

only way to remove the popup is extend the stylesheet with 
.olLayerGoogleCopyright {visibility: hidden;}

Original comment by Aleda.Fr...@state.ma.us on 8 Feb 2012 at 7:55

GoogleCodeExporter commented 9 years ago
Unfortunately I looked into our code and I see 

.olLayerGoogleCopyright {
  visibility : hidden; !important;
}

already in ogcsearch.css

So it seems to have stopped working.  I'm not sure if I should put it into a 
different .css file? We see the popups everywhere - staging and maps, also 
pre-Jan 10th version and post-Jan 10th version. 

Original comment by Aleda.Fr...@state.ma.us on 9 Feb 2012 at 7:10

GoogleCodeExporter commented 9 years ago
http://comments.gmane.org/gmane.comp.gis.openlayers.user/16571

Original comment by Aleda.Fr...@state.ma.us on 9 Feb 2012 at 8:46

GoogleCodeExporter commented 9 years ago
A similar issue appeared and was fixed over a year ago.  It has reappeared in 
the last two days, following a recent Google Maps API update.  As per the final 
comments in http://trac.osgeo.org/openlayers/ticket/2984 a workaround can be 
achieved by adding the following css:

div.olLayerGoogleCopyright,
div.olLayerGooglePoweredBy
{
 display: none !important;
} 

This presents a temporary stopgap measure, but I'd expect a formal fix in 
openlayers soon.  In the meantime, it's been committed into morisoliver.css 

Original comment by maric423@gmail.com on 9 Feb 2012 at 9:16

GoogleCodeExporter commented 9 years ago

Original comment by Aleda.Fr...@state.ma.us on 31 Oct 2012 at 4:02