Geolocation

Beskrivelse

The Geolocation plugin allows WordPress users to geotag their posts using the Edit Post page or any geo-enabled WordPress mobile applications such as WordPress for iPhone/iPad, WordPress for Android or simply by entering it manually. Simply enable public access to show the location description and a nice map widget.
(Unfortunately, the WP-application developers decided to deactivate the feature of storing GPS data in the app but I am hoping for its return.)

Visitors see a short description of the address either before, after, or at a custom location within the post. Hovering over the address reveals a map that displays the post’s exact location.
If one would only like to show a textual version without accessing any external services or without showing a map when visitors see a post, one can enable a «plain» mode to prevent external access except for authors to set a particular location. That way, the external APIs are only used when a logged in user is accessing the site or when a post is being made. If one uses Open Streetmaps as mapprovider in combination with the proxy plugin for OSM, the tiles are delivered from the local proxy so that the visitors cannot be tracked from a third party. If no proxy is installed or Google Maps is used as the provider, this is not feasable.

Furthermore, there is the option to use the tag [geolocation] also on a page in order to provide a map with multiple entries (e.g. from a journey) on one map altogether. The set of shown locations can be filtered per page, by placing a user defined field called «category» and give it the name (not the slag!) of the category to be shown. This way, you can also hide the location information per post (by chosing the «code option» without using it) and only show an overview map if needed. If the page is not restricted by any of the categories, all locations are shown that were tagged «public»i and «enabled».

By default, this plugin uses Open-Streetmap but as an alternative (and backwards-compatibility) google maps can also be used. However, one needs to have a Goole Maps API key to use this plugin with google maps. You may obtain a key via google cloud plattform. Make sure, you have activated «Maps JavaScript API» as well as «Geocoding API».

If you struggle while installing it or have feature requests, please feel free to drop a support request anytime. I am more than happy to help you. Also if you would want to give a review if you are happy with the plugin, I would appreciate the feedback.

Skjermskudd

  • Editing a post
  • Viewing the location in a post
  • Showing all posts providing location information

Installasjon

  1. Upload the geolocation directory to the /wp-content/plugins/ directory. (or simply install it from the official package repo)
  2. Activate the plugin through the ‘Plugins’ menu in WordPress. In case you would want to use Google Maps, chose Google Map as your provider an insert the Google Maps API key on the Settings > Geolocation page.
  3. Optionally (if you are using OSM as per default setting): Install and activate the OSM proxy to make use of local delivery without tracking options for the source to your visitors.
  4. Modify the display settings as needed on the Settings > Geolocation page. Most of the settings can directly seen in the OSM preview.
  5. Start posting with geolocation data 🙂

Vurderinger

24. oktober, 2022
It doesn't work. After successful installation and Google Maps API key placement, there is a console log error saying that the latitude cannot be found. It looks like a bug.
13. juni, 2022
It is correctly embedded and connected, it does not work. The support did not answer any questions since 4 months.
11. august, 2019
I was looking for just such a plugin.
8. februar, 2019
Ich nutze das Plugin nun schon seit mehreren Jahren ohne Probleme. Die erste Sorge kam, als Google einen Key voraussetzte und scheinbar etwas an der API änderte. Der Yann reagierte zeitnah, sodass die Benutzung sorgenfrei weiter möglich war. Er reagiert sogar auf Mails und fixt Sachen auf privatem Weg. Sehr schön! 5* 👍👍👍👍👍 --- I have been using the plugin for several years without any problems. The first concern came when Google assumed a key and apparently changed something in the API. The Yann responded promptly, so that the use was possible without worry. He even responds to emails and fixes things on a private way. Very nice! 5* 👍👍👍👍👍 -- Vielen Dank Yann 🤝 Gruss Oliver
10. juli, 2018
This plugin works like a charm, also the support from Yann is very fast and good! I recommend this plugin to everyone who wants to show the location of where the post on your blog was written.
Les alle 7 vurderinger

Bidragsytere og utviklere

“Geolocation” er programvare med åpen kildekode. Følgende personer har bidratt til denne utvidelsen.

Bidragsytere

Endringslogg

1.3

  • code cleanup
  • enhancing plugin options in install functionality

1.2

  • introduce dynamic preview in settings page to directly see the effect instead of displaying fixed images

1.1.1

  • bugfix for OSM urls when searching for a location or the location is reverse geocoded from lat and lon

1.1

1.0

  • introducing OSM as an alternative for google maps by using leaflet-api
  • for new installations, OSM is the default
  • preparing readyness for osm tile proxy plugin to overcome DSGVO/GDPR tracking

0.7.4

  • fixing issue with missing reset in subquery within THE_LOOP

0.7.3

  • disabling unfinished osm support

0.7.2

  • settings bugfix

0.7.1

  • various tiny bug fixes

0.7

  • code reorganization
  • preparation of variable SHORTCODE
  • preparation of OSM usage within plugin
  • on plugin deletion, options and addresses are removed
  • jQuery refrerence was fixed for compatibility with WP_DEBUG switch

0.6.2

  • fixed issue in admin panel where map was not displayed

0.6.1

  • code cleanup minor things

0.6.2

  • fixed issue in admin panel where map was not displayed

0.6

  • optimizing ‘update all Addresses’
  • introducing ‘page mode’, i.e., usage of [geolocation] in a page to provide a map with multiple locations shown together

0.5.3

  • fixing ‘update all Addresses’ to really process al posts providing geolocation information (and not just the first few entries).

0.5.2

  • fixed bugs
  • moved screenshots from plugin to asset folder (shown on description and thus not locally neccessary)
  • added plugin icon 😉

0.5.1

  • fixed bugs

0.5

  • improved «plain» option: google-apis are no longer loaded for a visiting user but only if a backend user is logged in.
  • reverse geocoding now uses the website language for the texts being shown and locally stored (also to be seen in admin panel)
  • added feature to «re-run» address determination, i.e., update all geodata posts with proper address information (also respecting the language of the given site)

0.4.2

  • fixing bug in saving geolocation to post_meta

0.4.1

  • starting GDPR/DSGVO compliant «show only» mode without accessing any external services
  • fixing http to https accesses
  • fixed reverse geocoding

0.4

  • visualization enhanced: display geolocation either as plain text or as simple text incl. map w/mouse over (default till now)
  • since Google changed their policy and an API key is required, the plugin will now show an error message if this key is missing.

0.3.7

  • re-enabled the usage without API key

0.3.6

  • fixed reverse geocoding

0.3.5

  • fixed default_settings

0.3.4

  • fixed update hook

0.3.3

  • fixed display by applying update hook

0.3.2

  • fixed display

0.3.1

  • fixes Google Maps API key option
  • fixed Google Link
  • performance/code optimizations

0.3

  • introduced Google Maps API key option
  • starting i18n for EN and DE

0.2.2

  • code optimizations

0.2.1

  • fixed some left overs from the previus release

0.2

  • updated Google API calls to recent version

0.1.1

  • Added ability to turn geolocation on and off for individual posts.
  • Admin Panel no longer shows up when editing a page.
  • Removed display of latitude and longitude on mouse hover.
  • Map link color now defaults to your theme.
  • Clicking map link now (properly) does nothing.

0.1

  • Initial release.