DISQUS

Brent Logan's blog: Google Maps Plugin Works with WordPress K2 Theme

  • Jocke Dieden · 2 years ago
    Great workaround :cool:
  • ruth · 2 years ago
    Unfortunately didn't work for me :cry: I'm using the K2 3 column theme - maybe that's why.
  • Jeroen Onstenk · 2 years ago
    Thnx for the help!

    It works now almost perfect. I have the weird error that in IE7 the landmark doesn't show up, and in FF everything is ok.

    --time elapsed--

    But I noticed now that you have the same problem here on this site with IE7 and FF
  • Avi Alkalay · 2 years ago
    I am the original Google Maps plugin author.

    Good to know people are solving problems while using it :razz:

    The plugin is extremely simple, it only replaces some HTML elements and fires standard Google Maps API methods.

    All visual problems I have seen happen because of CSS conflicts between what Googla Maps API and its created elements need, and the page the map is embedded.

    BTW, the plugin is being improved. Next version will let you create a complex map with many different markers, lines, polygons on the My Maps section of the Google Maps website, and simply paste the URL for it to the plugin to get that complex map on your page. The Google Maps website will work as a maps manager and builder for your maps, that will be embedded in your site. Pretty cool.
  • Andrew Boyd · 2 years ago
    Hi,

    I have the opposite problem - this fix works for IE7 but not FireFox 2.0.0.3. For an example of it working/not, please see here.

    Cheers, Andrew

    [Edited link to shorten its display. --blogan]
  • Jane Johnson · 2 years ago
    Thanks for that, great workaround and only spent about 30 minutes looking for the solution and fixing the problem.

    Thanks also to Avi Alkalay, where I found the link to this site.

    My husband will be mad that I beat him to it, as he spent ages trying to fix the same thing on his K2 based blog, but never got it sorted :wink:

    Cheers
    Jane
  • blogan · 2 years ago
    Avi, thanks for the program and the link. It's fun and cool!

    Andrew, I checked out your site in IE6 (not IE7) and Firefox 2.0.0.3. Seems to work in Firefox, but IE6 failed to display the red marker. Using Firefox and the Web Developer extension, I discovered that the red marker is an img having the class "gmnoprint". Maybe applying a style setting its z-index will help in IE. Might be time for some more experimentation...

    Jane, it always comes down to the battle of the sexes, doesn't it? ;-) Glad I could help.
  • Andrew Boyd · 2 years ago
    Thanks blogan,

    I've just seen it work in FireFox 1.5 on a friend's machine, but not on my work PC that also runs FF 2.0.0.3 - it is wierd :) I'm happy to accept that it is something in my own way of setting up FireFox that is the real issue.

    I'll look into the IE 6/z-index style thing, and if anything comes of it, will pass it on here.

    Cheers, Andrew
  • blogan · 2 years ago
    Andrew, after looking more closely at what gets embedded in the page, img.gmnoprint already gets a local style applied with a very negative z-index.
  • Andrew Boyd · 2 years ago
    Hi blogan,

    Scary thing - I thought it was nuts but a friend suggested updating my JRE - and now your solution works in FireFox 2.0.0.3. How this is, I do not know, I am just happy that it works now :)

    I'll check back every now and then to see if there is a fix to the IE6 thing - that said, I have to say that I am pretty happy to have found a working solution for IE7/FireFox.

    Thanks, Andrew