Embedded maps on wordpress.com

Posted: March 10, 2014 in Uncategorized
Tags: , , , ,

In this post I examine different options I have found in posting cycle routes on a free wordpress.com blog.

For my upcoming cycle adventure I want to track my trip, and post the route on my blog. I use a wordpress.com free blog. As many have noted in various forums, most iframe and flash elements are blocked due to security concerns on wordpress.com, which means it is quite difficult to post a freshly tracked route on your blog – especially when the post is created from the WordPress smartphone app.

In the past I have tracked my route with the EveryTrail smartphone app, and embedded the track on the wordpress.com blog using a flash workaround. This map often takes a long time to load, and is not visible at all when viewed from a smart phone. Much preferable would be an iframe element like on the TwistingSpokes blog. (Martin and Susanne from TwistingSpokes say they use a wordpress.org blog with a google maps gpx viewer plugin. WordPress.com does not allow plugins.) This loads quickly, and is also viewable on a smart phone.

It is possible to use iframe directly with google maps on wordpress.com, and so, if you can import your tracked trip into google maps, you can then post it on the blog. This can be done in several steps (which cannot be done on a smart phone).

  • Save the recorded gpx file. (Using EveryTrail, the download gpx file option is in the bottom right of the screen.)
  • Convert the gpx file into a kml file with GPS Visualizer. Save the converted kml file.
  • Open google maps in the classical interface. Go to My Places  and click on Create with Classic MyMaps.
  • Click on import and then load the kml file just created.
  • Click on the link button and then copy the iframe text. Post this in the wordpress.com post.

Below is the EveryTrail flash version of the map, and the iframe version described in this post.

For my blog, I intend to use the iframe version when I have more time and access to wifi.

Comments
  1. AndrewGills says:

    No images showing on my Android phone. I use screen captures as images to put maps into WordPress because it’s the only way I seem to be able to do it.

    • Oops. Maybe it depends on your phone settings. But, if you can’t see either maps, maybe it is not worth all the effort to put the maps on google maps. The routes are always visible when viewed on a laptop (even if they take a while to load)..

      Thanks for the feedback!

      Matthew
      P.S. How are your world cycling plans coming along?

      • AndrewGills says:

        Ooh … my cycling plans have changed somewhat. I’ve decided to go to Kenya, buy a cheap Chinese motorbike and ride to Namibia over a period of 6-9 months. From there, who knows … I’ll either go to Europe to do some cycling / hiking. Or maybe Nepal to do some trekking or to the Americas to do some more motorcycling … All I know now is that I’m going to Africa in November and I can’t wait 🙂

      • Wow. Sounds like a real adventure. Enjoy!! You only live once. 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s