PD17 Map adds a fast, modern vector map to your site using MapLibre GL JS and open OpenStreetMap data. No Google or Yandex account, no API keys, no ads, no tracking.
It is perfect for an office or contact page, or for several locations. Drop the [office_map] shortcode anywhere, or add the widget to a sidebar.
[office_map] shortcode and a widget.The simplest form uses the settings from the plugin page:
[office_map]
You can override individual options:
[office_map lat="53.9006" lng="27.5590" zoom="16" height="420" title="Our office" style="liberty"]
This plugin connects to external services only when a feature that needs them is used. The map is loaded whenever it is displayed; the address search is off by default and is used only when you enable it (or when you use the address search on the settings page).
tiles.openfreemap.org) — vector map tiles, styles, fonts and icons built from OpenStreetMap data. Loaded every time a map is displayed. No account, no API key and no cookies are used. Data sent: only the standard tile/style requests for the map area being viewed. Privacy policy: https://openfreemap.org/privacy/. Project: https://openfreemap.org/.nominatim.openstreetmap.org) — OpenStreetMap geocoding, used only for the address search. Data sent: the text you type, plus the site URL and the site administrator’s email in the User-Agent header, as required by the service’s usage policy. Requests are limited to one per second and cached for one day. Usage policy (terms of use): https://operations.osmfoundation.org/policies/nominatim/. Privacy policy: https://osmfoundation.org/wiki/Privacy_Policy.Map data © OpenStreetMap contributors, available under the ODbL: https://www.openstreetmap.org/copyright. The map attribution is required by that license and must not be removed.
All source is shipped with the plugin: the PHP, JavaScript and CSS are readable and unminified, and no build step is required to run it. The bundled MapLibre GL JS library keeps its own 3-Clause BSD license and attribution in assets/vendor/maplibre-gl/.
Development happens at https://github.com/pro-d-e-v/prodev17-location-map.