WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Travelmap

Generates a map of your travels in any post or page based on a list of places.

  1. Upload plugin-name.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Place shortcodes in the posts or pages where you want to show the map or list:
    For the map:
    [travelmap-map]
    For the list:
    [travelmap-list]
  4. Add places you want to show. You will find the plugin options page under settings > Travelmap

Setting the map size

The map width is 100% of the containing element. If you want another width you simply style its parent with css. Use the shortcode attribute height to set the height of the map. Default is 300px.

[travelmap-map height=500]

Setting the map mode

Choose between roadmap, satellite, hybrid or terrain. Default is roadmap.

[travelmap-map mapmode="hybrid"]

More on Google maps mapmodes

Showing partial maps/lists

Your can show only some of your places by using shortcode attributes first and/or last. This is handy if you have done several trips and want to show them in separate posts or pages.

[travelmap-map first=5 last=15]

This works for the list as well:

[travelmap-list first=5 last=15]

The numbers are the row numbers from the plugin options page. Different maps can have overlapping numbers. If you add places before the row you have used as first attribute somewhere you obviously need to change that attribute.

You can also use negative numbers for both start and end to count backwards from the last entry.

[travelmap-map first=-15]

will show a map with the last 15 entries

You can also use dates to show partial maps. Use first and last with dates instead:

[travelmap-map first=2010-01-01 last=2010-12-31]

The 'last' parameter is optional in both cases.

Hiding lines or markers

It is possible to turn of either markers or lines in the map by setting them to false in the options:

[travelmap-map lines=false]
[travelmap-map markers=false]

Turning off marker numbering

You can remove all numbers from markers:

[travelmap-map numbers=false]

Reversing order

The attribute reverse can be used to reverse the order of the map or the list. Note that the reversal is the last thing that's done - so other options are applied before the order is changed.

[travelmap-map reverse=true]
[travelmap-list reverse=true]

Setting custom date format

Arrival dates in the list is shown in the format the blog uses as default. To change the date format you can use the attribute "dateformat"

[travelmap-list dateformat="F j, Y"]

More on date formats

Questions or suggestions?

Please use the Travelmap forum at Uservoice

Requires: 2.7 or higher
Compatible up to: 3.2.1
Last Updated: 2011-11-24
Downloads: 9,308

Ratings

4 stars
4.4 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,2,2 100,1,1
100,2,2
100,2,2
100,1,1
100,1,1
100,1,1