24
May
12

Google Popup from OpenLayers and MapGuide/AIMS – gone!

Like many people yesterday, I noticed all my MapGuide/AIMS sites suddenly had a “Map Data” popup in the middle of my map.

Why is this here today?

So how to fix it?
Opent the file:
C:\Program Files\OSGeo\MapGuide\Web\www\fusion\lib\OpenLayers\theme\default\style.css

and add the following around line 30:

.olLayerGoogleV3.olLayerGooglePoweredBy {  
    visibility:hidden !important;
    bottom: 15px !important; 
}
.olLayerGooglePoweredBy.olLayerGoogleV3.gmnoprint {
visibility:hidden !important;
}

About these ads

12 Responses to “Google Popup from OpenLayers and MapGuide/AIMS – gone!”


  1. May 30, 2012 at 9:41 am

    Hello Gordon
    It is not working for me, I am using AIMS 2012 not open source

  2. May 30, 2012 at 12:23 pm

    watch for caching in you browser, you may have to clear you cache.

  3. 3 Svet
    May 30, 2012 at 1:41 pm

    Worked for me on AIMS 2012. Thanks!

  4. 4 Mike
    June 1, 2012 at 12:02 am

    Awesome! Works perfectly after clearing the browser cache.

    Using AIMS 2012. Autodesk needs to keep in step with the Google API updates and deprecations.

    Thanks for the fix.

  5. 5 Mobin
    June 1, 2012 at 12:12 pm

    Thats right, after clearing cache, it works. thanks Mike.

  6. June 6, 2012 at 3:05 pm

    Thanks!, it works after clear cache, for AIMS 2012 (C:\Program Files\Autodesk\Autodesk Infrastructure Web Server Extension 2012\www\fusion\lib\OpenLayers\theme\default\style.css)

  7. 7 charif
    September 9, 2012 at 9:07 am

    Thanks a lot

  8. 8 mike
    September 28, 2012 at 2:03 am

    dear gordon…
    thank god you post the code here. I’ve try with aims 2013 and it doesn’t work so far. I cleared the cache in bowser and still same result. could you advice me how/? thanks

  9. 9 Gordon
    October 10, 2012 at 1:34 am

    You can try pasting the code in the css of the current Template. For example the slate.css or aqua.css

  10. 10 mike
    October 10, 2012 at 7:20 am

    trying aqua.css hmm…so far nothing happen…..

  11. October 10, 2012 at 12:27 pm

    Are you using the aqua template?
    if you paste the css above into the aqua.css, that should work too

    don’t forget to clear the cache.

  12. 12 mike
    October 15, 2012 at 5:27 am

    try restarting the server and …the magic happen no more popup…hmm..maybe still have a cache before…anyway thanks to you…..


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.

Join 25 other followers

%d bloggers like this: