這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

OSM – OpenStreetMap

外掛說明

Add a map with marker in less than 100 sec:

If you want to get detailed information about the OSM-plugin visit these pages:

Features of the OSM-plugin:

  • OpenStreetMap, HOT, OpenSeaMap, OpenTopoMap, BaseMap (AT), Stamen in posts/pages
  • Integration in post / page / widget
  • HTML Popup Marker
  • GPX and KML (incl. upload in Mediathek)
  • Map with geo-tagged posts/pages as linked marker
  • Map with autogenerated track by geo-tagged posts / pages
  • html-meta tags for geo-tagged posts/pages
  • uses OpenLayers Library
  • SSL connection (https)

Languages – thanks to:

  • English
  • Deutsch
  • Japanese [by Sykane]
  • French [by Tounoki and Marc]
  • Russian [by Вячеслав Стренадко/Vyacheslav Strenadko]
  • Italian [by Andrea Giacomelli]
  • Spanish [by Colegota]
  • Romanian [by Sorin Pop]
  • Swedish [by Olle Zettergren]

  • OpenLayers: Open Source JavaScript, released under the 2-clause BSD

Licenses of the maps:

!! IMPORTANT !!
The WordPress Plugin Review Team required us to provide opt-in feature to display attribution since it is part of WordPress Plugin Guidelines. So you have to enable the checkbox “Display attribution (credit) in the map.” at the WP OSM Plugin Shortcode generater or add the attribution manually to your map. Otherwise it may violate the map or data license, eg OpenStreetMap.

安裝方式

  1. Upload OSM folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Generate the OSM shortcode when you write your post / page

IMPORTANT:
Personal data (eg. gpx files) must not be stored in the plugins/osm folder but in the upload folder!

常見問題集

Do I need any key or any registration to show maps in my blog

No!

I do not see my gpx file / marker file in the map ?

The file has to be located at the same adress as your blog.
There must be not format tag (like href …) in the shortcode.

使用者評論

2023 年 9 月 2 日
Using it on one of my sites. It serves its purpose perfectly. So thank you!
2022 年 11 月 2 日 1 則留言
I have understood everything so far except for embedding it in a Gutenberg editor. I would like to integrate a map into a theme (Avada) and need a solution here. Is anyone able to help me? Ich habe alles soweit verstanden bis auf das einbinden in einen Gutenberg editor. Ich würde eine Karte gerne in ein Theme (Avada) einbinden und bräuchte hier eine Lösung. Kann mir hier jemand weiter helfen?
2022 年 10 月 12 日 1 則留言
I really like the idea of OSM and use many programs
2022 年 6 月 29 日
The plugin is superb and when I found an issue, I reported it to the plugin onwer who not only responded to me really quickly, but also patiently walked me through the resolution to the issue, which turned out not to be a bug, but a user error (my bad). For anyone googling in the future, here is a good tip. If you are getting any errors that contain phrases such as "Warning: Undefined array key 1" ... followed by "yoursite.tld/wp-content/plugins/osm/osm.php on line 552" or "Warning: Undefined variable $MarkerArray" and then ending with "wp-content/plugins/osm/osm.php on line 564", then the fix is simple; 1) delete your plugin on the page where the error is showing 2) save the edit 3) create a fresh new map through the generator and don't forget to click 'save marker and generate shortcode' before copying the html shortcode into your page.
2022 年 3 月 15 日 1 則留言
Great plugin, does what it takes. Easy to use and completely free. What about technical support, punctual, fast and always available. Great Plugin eccezionale, fa tutto quello che serve. Facile da usare e completamente gratuito. Che dire poi del supporto tecnico, puntuale, rapido e sempre disponibile. IMPAGABILE
閱讀全部 126 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈OSM – OpenStreetMap〉的開發相關工作。

參與者

將〈OSM – OpenStreetMap〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

ChangeLog