| 开发者 | prodev17 |
|---|---|
| 更新时间 | 2026年10月16日 13:40 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[office_map] shortcode anywhere, or add the widget to a sidebar.
Why it stands out
[office_map] shortcode and a widget.[office_map]
You can override individual options:
[office_map lat="53.9006" lng="27.5590" zoom="16" height="420" title="Our office" style="liberty"]
External services
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.prodev17-location-map folder to /wp-content/plugins/.[office_map] shortcode to the page with your office, or use the "PD17 Map" widget.No. PD17 Map does not use Google or Yandex at all. It renders OpenStreetMap data with MapLibre GL JS, so there is no API key, no billing account and no usage quota.
Add the [office_map] shortcode (a Shortcode block in the block editor, or the classic editor), or place the "PD17 Map" widget in a sidebar. The map uses the settings from the plugin page, and you can override individual options directly in the shortcode.
Yes, this is the main use case. Set the coordinates and the address once and drop the map on your contact page, in the footer or in a sidebar.
Yes. Add several markers, each with its own icon, color and popup, and let the map fit all of them automatically, or set a fixed zoom.
Yes. The visual style editor lets you recolor 17 layer categories (roads, water, parks, buildings, labels, POI and more) and hide anything you do not need, plus ready-made look presets.
Yes. The map is loaded without accounts, cookies or analytics, which makes it a good fit for privacy-focused and GDPR-sensitive sites.
Yes. The search is off by default; the map works fully without it, and no request is made to any geocoder.
Yes. Each map gets a unique identifier and works independently.
Yes. Attribution for OpenStreetMap and OpenFreeMap is added automatically and must not be removed.
From OpenFreeMap, which serves OpenStreetMap-based vector tiles. No OpenStreetMap editing or hosting account is required.
The plugin is translation-ready (English is the source language) and is translated on translate.wordpress.org.
prodev17-location-map), so no action is required.prodev17-location-map.uninstall.php to clean up options and transients on deletion.languages/*.pot template for translators (translation files are served by translate.wordpress.org).name:xx fields) and the geocoder response language.