Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/pro-d-e-v/pd17-location-map/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Interactive vector maps for WordPress, built on MapLibre GL JS and open OpenStreetMap data (OpenFreeMap tiles). No API keys, no ads, no tracking.
- Shortcode:
[office_map] - Widget: "PD17 Map"
- Visual settings page with a live preview
- 17 stylable layer categories, ready-made look presets, multilingual labels
- Optional address search (off by default)
- Import / export of all settings as JSON
Requirements
- WordPress 6.0+
- PHP 7.4+
Installation (from source)
- Copy the
prodev17-location-mapfolder intowp-content/plugins/. - Activate the plugin in Plugins.
- Open PD17 Map in the admin menu and set your coordinates and address.
- Add
[office_map]to a page, or use the "PD17 Map" widget.
Development
-
Source language for strings is English; the text domain is
prodev17-location-map. -
Regenerate the translation template:
wp i18n make-pot . languages/prodev17-location-map.pot --domain=prodev17-location-map -
MapLibre GL JS is bundled under
assets/vendor/maplibre-gl/(3-Clause BSD).
External services
- OpenFreeMap (
tiles.openfreemap.org) — vector tiles and styles. Privacy: https://openfreemap.org/privacy/. - Nominatim (
nominatim.openstreetmap.org) — geocoding, only when search is enabled. Usage policy: https://operations.osmfoundation.org/policies/nominatim/; privacy: https://osmfoundation.org/wiki/Privacy_Policy.
Map data © OpenStreetMap contributors.
License
GPL-2.0-or-later. See readme.txt for the full license text location.