Linux 软件免费装
Banner图

PD17 Map — OpenStreetMap Vector Maps

开发者 prodev17
更新时间 2026年10月16日 13:40
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

location map maps openstreetmap maplibre

下载

1.9.1 1.9.2 1.9.0

详情介绍:

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. Add the PD17 Map block in the block editor, drop the [office_map] shortcode anywhere, or add the widget to a sidebar. Why it stands out Features Shortcode 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"] 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). 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. Privacy

安装:

  1. Install the plugin from the WordPress plugin directory, or upload the prodev17-location-map folder to /wp-content/plugins/.
  2. Activate the plugin through the "Plugins" screen.
  3. Open PD17 Map in the admin menu and set your coordinates and address.
  4. Add the [office_map] shortcode to the page with your office, or use the "PD17 Map" widget.

屏幕截图:

  • Collapsible settings blocks: additional markers, size and zoom, appearance, map styling and behaviour.
  • Live map preview on the settings page.
  • Import and export of settings as JSON, plus how to place the map on a page.
  • The vector map rendered on the front end, with a custom marker.
  • Map styling — recolor 17 layer categories and set their opacity.
  • Five base styles to choose from: Liberty, Bright, Positron, Dark and Fiord.
  • Multilingual labels — pick the language of the map labels.
  • Palette presets and behaviour options: markers, mouse-wheel zoom, on-map search, popup and fullscreen.

升级注意事项:

1.9.2 Added a Gutenberg block and refreshed the directory listing. No action required. 1.9.1 Renamed to "PD17 Map". The slug and text domain are unchanged. No action required. 1.9.0 Renamed to "PD17 Map", MapLibre GL JS is bundled locally, and the on-map search is off by default. No action is required.

常见问题:

Do I need a Google Maps API key?

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.

How do I add a map to a page?

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.

Can I use it as a contact or office map?

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.

Can I show several locations on one map?

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.

Can I change the colors and hide map layers?

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.

Does it work without cookies or tracking?

Yes. The map is loaded without accounts, cookies or analytics, which makes it a good fit for privacy-focused and GDPR-sensitive sites.

Can I use it without the address search?

Yes. The search is off by default; the map works fully without it, and no request is made to any geocoder.

Can I show several maps on one page?

Yes. Each map gets a unique identifier and works independently.

Is attribution required?

Yes. Attribution for OpenStreetMap and OpenFreeMap is added automatically and must not be removed.

Where do the map tiles come from?

From OpenFreeMap, which serves OpenStreetMap-based vector tiles. No OpenStreetMap editing or hosting account is required.

Is the plugin translated?

The plugin is translation-ready (English is the source language) and is translated on translate.wordpress.org.

更新日志:

1.9.2 1.9.1 1.9.0 1.8.0 1.7.1 1.7.0 1.6.3 1.6.2 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0