Описание
The Simple Google Map plugin for WordPress uses Google’s embed feature without requiring the Google Maps API.
This plugin allows you to display a Google Map on your website without needing to sign up for a Google Maps API key. You can easily embed maps by entering the latitude and longitude of the desired location, and a marker will show up on the map. The plugin also lets you set a custom title for the marker.
What is New?
With the new block editor integration, users can now insert maps directly through the WordPress Block Editor. The existing shortcode functionality still works, but users can also use the new block to configure the map settings directly in the editor.
Features:
— 100% responsive maps.
— No need for an API key.
— Customizable location markers with titles.
— Easy to use interface in the WordPress admin dashboard.
— Supports custom width and height for the map.
— New: Block Editor support for easier map insertion.
How to use:
1. Get the latitude and longitude of your desired location from Google Maps.
2. Go to the plugin settings in your WordPress dashboard and enter the details.
3. Use the shortcode [simpleMapNoApi] to display the map on any page or post. Alternatively, use the «Simple Map Block» in the Block Editor.
4. The shortcode will use the configuration set in the options panel, whereas the block will use the settings configured directly within the block editor.
This plugin uses google map’s embeed map feature.
Which you can find in google map’s website : https://www.google.com/maps
Google Maps Platform Terms of Service : https://cloud.google.com/maps-platform/terms/
Скриншоты
Блоки
Этот плагин предоставляет 1 блок.
- Simple Map Block
Установка
- Upload the plugin files to the
/wp-content/plugins/plugin-name
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
- Use the Admin Dashboard->Map Options to configure the plugin
- From there you can put specific location’s latitude, longitude, Marker Title, width, height as you want.
- If you don’t specify any width then it will use 100% of available width.
- To find a location’s latitude and longitude use google map(https://www.google.com/maps).
- If you’re using the Block Editor, simply add the «Simple Map Block» to any post or page and configure your settings in the block.
- Please check thise video for more detailed instruction. https://www.youtube.com/watch?v=bQwq5WKh0y0
Privacy Notices
With the default configuration, this plugin, in itself, does not:
- track users by stealth;
- write any user personal data to the database;
- send any data to external servers;
- use cookies.
This plugin uses google map’s embeed map feature.
Which you can find in google map’s website : https://www.google.com/maps
Google Maps Platform Terms of Service : https://cloud.google.com/maps-platform/terms/
Часто задаваемые вопросы
-
Where to find latitude and longitude?
Answer: You can find a location’s latitude and longitude from google map(https://www.google.com/maps) -
Is this map responsive?
Answer: Yes, it will take the available width unless you specify a fixed width. -
Do I need a Google Maps API key?
Answer: No, this plugin does not require an API key. -
Can I use this plugin with the Block Editor?
Answer: Yes! You can add the map directly using the «Simple Map Block» in the Block Editor. -
Will the shortcode still work?
Answer: Yes, the [simple_map] shortcode will continue to work with settings from the options panel, while the block will use settings configured directly in the editor.
Отзывы
Участники и разработчики
«Simple Map No Api» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
Участники«Simple Map No Api» переведён на 4 языка. Благодарим переводчиков за их работу.
Перевести «Simple Map No Api» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
1.9
Added support for Block Editor. Users can now add maps directly through the editor using the «Simple Map Block.»
1.8
Tested with latest WordPress
1.5
Tested with latest WordPress
1.4
Accessibility fix
1.3
Small CSS fix
1.2
Added feature to show address below location marker
1.1
Fixed some minor issues and added detailed readme.txt
1.0
Initial Release of the plugin.