WordPress.org

Support

Support » Plugins and Hacks » Map Not Showing (this.gmap.fitBounds is not a function)

Map Not Showing (this.gmap.fitBounds is not a function)

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Store Locator Plus
    Participant

    @charlestonsw

    That URL is down, but there are a number of known problems with Theme Forest themes. It sounds like the theme is preventing the Google Maps API from loading.

    I don’t recall this theme on the “naughty” list, but based on the description is sounds like a candidate.
    http://www.charlestonsw.com/slp-the-naughty-list/

    BTW, the URL is offline.

    stewartlever
    Member

    @stewartlever

    sorry mate i had to put back in maintenance mode. please try again.

    Plugin Author Store Locator Plus
    Participant

    @charlestonsw

    You have multiple invocations of the Google Maps API getting started on your site and they are fighting. At least 1 from the USA an 1 from Australia.

    You can try the “turn off SLP Google Maps” under the General Settings tab in SLP. I put this in a recent release for themes that have their own Google Maps API or for sites that are using competing plugins.

    I can’t speak for other themes/plugins, but you can at least turn off the SLP Google Maps loader and take that one “out of the fight”.

    Let me know if it works. I’ve only tested it on my dev system in a very controlled environment.

    stewartlever
    Member

    @stewartlever

    Thanks for the reply.

    I turned of the SLP option however it didn’t work. I also tried removing the API key from the theme and removing the map shortcode from the theme contact page entirely. This got the map to show however it is “blank” or grey.

    Is this still an issue with the theme ? Any suggestions ?

    stewartlever
    Member

    @stewartlever

    Ok got it working by both removing the api code and map shortcode from the theme.

    I have got it working by using the map shortcode from the “Shortcodes Ultimate” plugin however I don’t want to use it as I can’t specify the default zoom or details for the address marker.

    Can I invoke your plugin somehow to manually display a map on the contact page ?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Map Not Showing (this.gmap.fitBounds is not a function)’ is closed to new replies.