[Resolved] Map not displaying
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.
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.
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)’
Something is stripping the domain off your Google Maps API script, and replacing it with your localhost address. It should be this:
but you’re getting this:
That ain’t gonna work 🙂
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.
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.
- The topic ‘[Resolved] Map not displaying’ is closed to new replies.