WordPress.org

Ready to get started?Download WordPress

Forums

WP Flexible Map
[resolved] Map not displaying (8 posts)

  1. joshsmith01
    Member
    Posted 1 year ago #

    -Responsive Theme

    I have tried to follow the other comments and solutions in the forums. They are not working for me. I just can't get the map to display even though I can set the dimensions.

    http://wordpress.org/extend/plugins/wp-flexible-map/

  2. webaware
    Member
    Plugin Author

    Posted 1 year ago #

    G'day Josh,

    Link please?

    cheers,
    Ross

  3. joshsmith01
    Member
    Posted 1 year ago #

    Ross,

    I am using it on a local build. It is not live. I am running MAMP and developing through Coda2. I have full internet access through the built-in browser.

    I don't have a link to share. Sorry.

    -Josh

  4. webaware
    Member
    Plugin Author

    Posted 1 year ago #

    Have you checked for JavaScript errors logged in the browser console? Can you see some HTML markup and JavaScript for the map if you view source in your browser?

    cheers,
    Ross

  5. joshsmith01
    Member
    Posted 1 year ago #

    I am getting errors. Here is the image in of the console errors.

    I am not sure what you want me to relay to you.

    'Uncaught ReferenceError: google is not defined
    FlexibleMap (anonymous function)'

  6. webaware
    Member
    Plugin Author

    Posted 1 year ago #

    G'day Josh,

    Something is stripping the domain off your Google Maps API script, and replacing it with your localhost address. It should be this:

    http://maps.google.com/maps/api/js?v=3.11&sensor=false

    but you're getting this:

    http://localhost:8888/maps/api/js?v=3.11&sensor=false

    That ain't gonna work :)

    cheers,
    Ross

  7. joshsmith01
    Member
    Posted 1 year ago #

    That worked. As soon as I read that url's were being changed. I immediately remembered that I had another plugin running to change my local urls to root urls once I moved my site to its home on the server.

    I deactivated that Root Relative URL plugin and all is well. I am sure there is a blacklist for URLs that it shouldn't touch. I want to run both of the plugins but it looks like there is some conflict resolution that I need to take care of.

    For now, your plugin ( and Jetpack ) now work flawlessly. Nice tip on the URLs.

    -Josh

  8. webaware
    Member
    Plugin Author

    Posted 1 year ago #

    G'day Josh,

    For developing locally and deploying to another server, you might be interested in this plugin: WP Migrate DB. It converts URLs and file paths from your local to your destination (or from live to local) when it generates the SQL file for the database. The Pro version is well worth the money too, but even the free version is good.

    cheers,
    Ross

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic