WordPress.org

Ready to get started?Download WordPress

Forums

Google Maps Widget
[resolved] Error on loading map content on click (2 posts)

  1. zimrock
    Member
    Posted 1 year ago #

    We discovered (and resolved) a local US firewall issue with this plugin.

    In this file:

    google-maps-widget/google-maps-widget.php

    We needed to change the Google maps website being called from the UK to the US. Here is the code before and after the change:

    $map_url = 'http://maps.google.co.uk/maps?hl=en&ie=utf8&output=embed&iwloc=' . $iwloc . '&iwd=1&mrt=loc&t=' . $widget['type'] . '&q=' . urlencode($widget['address']) . '&z=' . urlencode($widget['zoom']) . '';

    $map_url = 'http://maps.google.com/maps?hl=en&ie=utf8&output=embed&iwloc=' . $iwloc . '&iwd=1&mrt=loc&t=' . $widget['type'] . '&q=' . urlencode($widget['address']) . '&z=' . urlencode($widget['zoom']) . '';

    http://wordpress.org/extend/plugins/google-maps-widget/

  2. WebFactory
    Member
    Plugin Author

    Posted 1 year ago #

    I really don't know how we missed that :( Well I do - someone copy/pasted it :) We'll be sure to include the correction in the next update.

    Thank you for letting us know!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags