跳到内容

Simple Markers Map – Gutenberg Map Block with Multiple Markers

v1.6.0

alex shandor · 2024年8月4日 上架

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

正在使用
20+
评分
暂无
累计下载
2,026
最近更新
2025年6月4日
需要 WordPress 6.8.1+已测试到 6.8.13PHP 8.1+

贡献者

截图

Simple Markers Map block in Gutenberg editor.
Simple Markers Map block in Gutenberg editor.
Adding markers and customizing map settings.
Adding markers and customizing map settings.
Example of a published map with multiple markers.
Example of a published map 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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums