Simple Markers Map – Gutenberg Map Block with Multiple Markers
by alex shandor on WordPress.org
No API key! Add multiple markers to Google Maps with a simple Gutenberg block. Powered by OpenStreetMap and Leaflet.

Simple Markers Map block in Gutenberg editor.
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.