WordPress.org

Plugin Directory

Simple Markers Map – Gutenberg Map Block with Multiple Markers

Simple Markers Map – Gutenberg Map Block with Multiple Markers

外掛說明

Simple Markers Map is an easy-to-use WordPress plugin that adds a customizable map block to the Gutenberg editor. This plugin is develop with LeafletJS an open-source JavaScript library, OpenStreetMap® a open data, Google Maps Layers. Add multiple markers, customize map styles, and display your locations effortlessly.

Features

Easy Integration: Add Maps directly from the Gutenberg editor without API key. Customizable Settings: Adjust map settings such as zoom level, map type, and marker positions. Multiple Markers: Add multiple markers to highlight various locations on a single map. User-Friendly Interface: Intuitive controls and settings for effortless map customization.

Shortcode Usage

In addition to the Gutenberg block, you can use the [simple-markers-map] shortcode anywhere on your site.

Example:
`shortcode
[simple-markers-map
align=”full”
height=”700″
zoom=”10″
markerscolor=”blue”
layer=”openStreet”
markers='{position:”52.232102350000005,20.981377498327888″, title:”Warsaw Rising Museum”, description:”Muzeum 1 Powstania Warszawskiego”}’]

Supported shortcode attributes:

align – map alignment (full)
height – map height in pixels (e.g. 500, 700)
zoom – initial zoom level (e.g. 5, 10)
markerscolor – marker color (e.g. blue, red)
layer – map style (openStreet, google)
markers – list of markers with position, title, and description

License

This plugin is licensed under the GPLv2 or later. See LICENSE file for details.

螢幕擷圖

  • Simple Markers Map block in Gutenberg editor.
  • Adding markers and customizing map settings.
  • Example of a published map with multiple markers.

適用於區塊編輯器

這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。

  • Simple markers map No API key! Add multiple markers to Google Maps with a simple Gutenberg block. Powered by OpenStreetMap and Leaflet.

安裝方式

  1. Upload the plugin files to the /wp-content/plugins/simple-markers-map directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. In the Gutenberg editor, add the “Simple Markers Map” block to your post or page.
  4. Configure your markers and map settings easily — no API key or Google account required.
  5. Alternatively, use the [simple-markers-map] shortcode in any post, page, or widget.

常見問題集

Do I need a Google Maps API key to use this plugin?

No. This plugin uses OpenStreetMap with Leaflet, so no API key or Google account is necessary.

Can I add multiple markers on the map?

Yes, you can add as many markers as you like and customize their titles and positions.

Is this plugin compatible with the Gutenberg editor?

Yes, the plugin provides a fully integrated Gutenberg block for easy map insertion and customization.

Can I customize the map style?

You can choose from several map styles, including Google-like styles, provided by OpenStreetMap layers.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Simple Markers Map – Gutenberg Map Block with Multiple Markers〉的開發相關工作。

參與者

變更記錄

1.6.0

  • Added a shortcode.

1.5.0

  • Added support for a satellite layer.

1.4.0

  • Added support for a marker popup template.

1.3.0

  • Added support for marker icon customization.

1.2.0

  • Updated styles.

1.1.0

  • Added fullscreen mode for the map.

1.0.0

  • Initial release with Gutenberg block integration.
  • Supports multiple markers with custom titles.
  • No API key required thanks to OpenStreetMap and Leaflet.
  • Multiple map styles and responsive design.