Mô tả
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.
Ảnh màn hình
Khối
Plugin này cung cấp 1 khối.
- Simple markers map No API key! Add multiple markers to Google Maps with a simple Gutenberg block. Powered by OpenStreetMap and Leaflet.
Cài đặt
- Upload the plugin files to the
/wp-content/plugins/simple-markers-map
directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- In the Gutenberg editor, add the “Simple Markers Map” block to your post or page.
- Configure your markers and map settings easily — no API key or Google account required.
- Alternatively, use the [simple-markers-map] shortcode in any post, page, or widget.
Hỏi đáp
-
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.
Đánh giá
Không có đánh giá nào cho plugin này.
Người đóng góp & Lập trình viên
“Simple Markers Map – Gutenberg Map Block with Multiple Markers” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng gópDịch “Simple Markers Map – Gutenberg Map Block with Multiple Markers” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
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.