WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Geolocation History

Keep a history of geographical locations for your travel blog.

This plugin allows the administrator to keep track of a history of geographical locations. It was developed for a travel blog and the geographical locations were drawn onto a Google Maps widget so that visitors could keep track of the blogger's traveling.

A live example can be seen on the author's travel blog (in Dutch).

Its main features are:

  • Add, edit and remove locations easily from the Admin panel
  • Enter geographical coordinates manually or parse from a Google Maps URL
  • Assign a date to each location for a true history of locations
  • Assign a label to each location for easy identification
  • Exposes a simple API to the front-end
  • Dynamically request locations with AJAX

The plugin is administrated from the admin (addition and removal of geolocations) and it exposes an API to the front-end. Once the plugin is installed, a theme can call the following functions:

  • lochis_get_location_history(): returns an array containing the whole history of geolocations, sorted by ascending date.
  • lochis_get_latest_location(): returns only the most recent geolocation.

Each of these functions also has an AJAX-equivalent that returns a JSON-object instead of a PHP object. This way you can use the geolocations in Javascript, for instance to be shown in a Google Maps widget. The AJAX functions are:

  • lochis_ajax_get_location_history()
  • lochis_ajax_get_latest_location()

Requires: 3.5 or higher
Compatible up to: 3.5.2
Last Updated: 2012-12-19
Downloads: 282

Ratings

0 stars
0 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