We'll create fresh WordPress site with YaMaps for WordPress Plugin installed. You have 20 minutes to test the plugin after that site we'll be deleted.
YaMaps plugin is the simplest way to insert Yandex maps on your site. The plugin has a user-friendly interface. You can visually put placemarks on your Yandex map, move them with your mouse, change icons and much more.
For use with the new Gutenberg editor, you need add the classic editor block first!
For the map search to work correctly and find routes, you may need to set an API key (JavaScript API и HTTP Geocoder) on the plugin settings page.
yamap container – ID of the existing block in the WP template. The map will be placed in the block with this ID. The new block in the content will not be created.
yaplacemark coord – Placemark coordinates
yaplacemark url – Linked URL or post with ID will be opened by click on the placemark
You can insert multiple placemark codes inside the maps’s shortcode.
[yamap center=”55.7532,37.6225″ height=”15rem” zoom=”12″ type=”yandex#map” controls=”typeSelector;zoomControl”][yaplacemark coord=”55.7532,37.6225″ icon=”islands#blueRailwayIcon” color=”#ff751f” name=”Placemark”][/yamap]