New map plugin for travel blogs

travelmap New map plugin for travel blogs
The Travelmap WordPress plugin showing my winter in Asia

I have gotten a lot of questions about where I am going, so I wanted to find a simple way to illustrate my travel plans. A simple WordPress plugin to show a map with my destinations connected by lines.

Turns out that I couldn’t find anything that matched my requirements, so I decided to build something myself. I made it a proper plugin instead of a custom hack to make it easier for other travel bloggers to use. I call the finished plugin Trevelmap.

Benefits of Travelmap:

  • You do not have to register anywhere to use it.
  • Automatic geocoding – you fill in city and country and Travelmap figures out the position (with a little help from Google maps). Provide your own coordinates to override the automatic geocoding.
  • Easy to use. Just paste the shortcodes where you want your map. Works in posts, pages and template files. The map will scale according to available space, but you can provide a custom height if you want to.
  • Your markers are connected by lines to show the path you have traveled.
  • Travelmap is written using best practices for compatibility and security.

View it in use
The plugin homepage
Download from WordPress.org

Comments

  1. Mediascreen » 5 saker att tänka på när du skapar Wordpress-plugins

    […] jag byggde Travelmap, min första publika WordPress-plugin, förra veckan la jag ner lite tid på att kolla upp best […]

  2. Mike

    Thanks for this. I found it on wordpress, and I’m going to try to use it in a class project.

  3. Marcus (Traveling Swede)

    You’re welcome Mike – Good luck with your class project!

  4. Maria

    Hi, what’s the code for showing travelmap in templates?
    //Maria

  5. Marcus (Traveling Swede)

    Hi Maria,
    Take look here: http://travelingswede.com/travelmap/#comment-442

  6. Elaine Thatcher

    This looks great! I shall try and install it to replace the current one I have up on my blog. Thanks.

  7. Joanna

    Can’t believe I’ve only just found this – well done for creating a new plugin! I searched for ages last year to find one and was so surprised noone had made one. Will check it out :)

  8. Old Bloke on a Bike

    Love the plugin and it has been working great for showing my route. UP until today the colours of the past and future legs of the trip were showing as two different colours. Today I added two new arrivals and now every leg shows up as a past trip. I tried removing the arrival dates but same problem. I have not touched the core code except to set my own colours and I did not do that until after the colours had already started showing up as past. Any suggestions? It seems that it has stopped reading something that works out whether the trip is a past or future one.

  9. Old Bloke on a Bike

    Ignore my last comment – figured it out – if I start putting in arrival dates and the last date I put on is a past one, it shows all future parts of the route as completed. But if I put one future date then it displays correctly. Thanks for a great plugin!

  10. Kathrin

    I love this plugin BUT it would be so awesome if there was a way only to show the places I’ve been to without including the route. Is there any way to make this happen?

  11. Kathrin

    sorry, read the “readme” just now… :D

    Thank you for this perfect plugin! I love it!!!

  12. robocraft hack

    Hi, i feel that i saw you visited my site so i got here to
    go back the favor?.I am trying to to find things to improve my web site!I suppose its ok to use a
    few of your concepts!!

Leave a Reply