GPSiesEmbed WP Plugin

December 27th, 2009

Download Now

This simple wordpress 2.5+ Plugin allows you to insert GPSies maps into your blog.
This plugin is compliant with GPSies API (http://www.gpsies.com/api/GPSiesAPI_en.pdf) and permits to embed the following kind of maps into your blog.

  1. Geocoordinate with perimeter
  2. Bounding box (BBOX)
  3. ZIP or city (with countrycode)
  4. Username (optional with countrycode)
  5. Parameter “fileId” (also several)
  6. Search with countrycode and search text and/or username and/or client name
  7. Traverse all tracks in a country

Syntax:

[gpsies <parameters> <showmode>]

showmode:    show=full/show=summary/show=details. It render the results in three different format.

Example for 1: Geocoordinate with perimeter
[gpsies lat=51&lon=10&perimeter=80&limit=20&trackTypes=jogging&filetype=kml&device=Run.GPS <showmode>]

Example for 2: Bounding box (BBOX)
[gpsies BBOX=10,51,12,53&limit=20&trackTypes=jogging&filetype=kml&device=Run.GPS <showmode>]

Example for 3: ZIP (with countrycode)
[gpsies zip=12169 country=DE&limit=20&trackTypes=jogging&filetype=kml&device=Run.GPS <showmode>]

Example for 3: city (with countrycode)
[gpsies city=berlin&country=DE&limit=20&trackTypes=jogging&filetype=kml&device=Run.GPS <showmode>]

Example for 4: Username
[gpsies username=GPSies&limit=20&filetype=kml&device=Run.GPS <showmode>]

Example for 4: Username (with countrycode)
[gpsies username=GPSies&country=DE&limit=20&filetype=kml&device=Run.GPS <showmode>]

Example for 5: Parameter „fileId“
[gpsies fileId=haublpggdenoekmb]

Example for 5: Parameter „fileId“ several
[gpsies fileId=haublpggdenoekmb&fileId=mniajyeljeaaambd]

Example for 6: Search in country by text and username
[gpsies searchText=test&country=DE&searchUsername=gpsies]

Example for 6: Search in country by text
[gpsies searchText=test&country=DE]

Example for 7: traverse all tracks in a country
[gpsies country=DE]

Example <shomode>: (show=full)

Title: ski tour cima grappa
Track lenght: 18.79Km.
Altitude range: 734m. (Min height: 1027m. Max height: 1761m.)
Total climb: 877m. Total descent: 877 m.
Page link: http://flavio.alicubi.net
Description: Ski tour of Cima GRappa, starting from Rif.Finestron to Cima Grappa and return

Example <showmode>:(show=summary)

Title: ski tour cima grappa
Track lenght: 18.79Km.
Altitude range: 734m. (Min height: 1027m. Max height: 1761m.)
Total climb: 877m. Total descent: 877 m.
Page link: http://flavio.alicubi.net
Show Track

Example <showmode>: (show=details)

Title: ski tour cima grappa
Track lenght: 18.79Km.
Altitude range: 734m. (Min height: 1027m. Max height: 1761m.)
Total climb: 877m. Total descent: 877 m.
Page link: http://flavio.alicubi.net
Show Track
Description: Ski tour of Cima GRappa, starting from Rif.Finestron to Cima Grappa and return

Example <showmode>: (show=maponly)


  1. July 8th, 2009 at 02:52 | #1

    Works great, thank you

  2. August 29th, 2009 at 04:27 | #2

    hellow

    Great plugin. It also works with latest version of wordpress. But i was searching for something that would show only map. And I added your plugin to show maponly with “show=maponly”. I don’t code php so it is not so pretty like it could be. But here is my modified trackInfo.php if you want to include this to the next version release: http://www.pyrobor.si/temp/trackInfo.php.txt

  3. August 30th, 2009 at 07:35 | #3

    To get this plugin to work – sign up on the gpsies website, upload your gps tracks, copy the code at the bottom of the track page and insert the code into your post.
    If you use the iFrame code so the map will show in your post, the latest WordPress version will strip the iFrame code out and the map insert will not appear so get the code from this post – http://wordpress.org/support/topic/299970 – and insert it into your wordpress functions.php file that is found in the “editor” link under “appearance” menu.

  4. August 31st, 2009 at 00:46 | #4

    @Bor Kraljic
    Thanks Bor, I’ll give a look to the code, and I’ll update the plugin :)

    Cheers

  1. No trackbacks yet.