Support » Plugin: XML Google Maps » Responsive google maps

Viewing 3 replies - 1 through 3 (of 3 total)
  • I got it. It works
    The jquery.fitmaps.js code filters the iframe source url to urls containing ‘maps.google’
    On line 65 see
    "iframe[src*='maps.google']"
    I changed this to
    "iframe[src*='xml-google-maps']"
    and it now works like a charm.

    I think this is a must to include in the next version of your plugin.
    The ability to choose markers icons depending on the symbol of the GPX waypoint would be a great thing too but that’s another story.

    Oh, I forgot…
    I also to remove the below piece of code
    width: '.$params->width.'px; height: '.$params->height.'px;"
    everywhere in the xmlgooglemaps.php file in the plugin

    It appears I erased a double quote too much in the smlgooglemaps.php file.
    The code that must be stripped is
    width: '.$params->width.'px; height: '.$params->height.'px;

    (without the double quote at the end compare to what I was saying previously

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Responsive google maps’ is closed to new replies.