YaMaps for WordPress Plugin

Description

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.

Plugin Highlights:

You can add maps to pages without coding.

Or you can visually edit the shortcodes in the editor.

You can add any number of maps to one page.

You can add multiple markers to one card.

You can add markers with hyperlinks.

You can select the icon and it’s color of the marker in the colorpicker.

Screenshots

Installation

Upload yamaps folder to the /wp-content/plugins/ directory.

Activate the plugin through the ‘Plugins’ menu in WordPress.

FAQ

Do I need a Yandex Map API key for using YaMaps?

No, You don’t need it. But if you have problems with limits (including due to other sites on the same IP) you can get the key (https://developer.tech.yandex.ru/services/) and enter it in the plugin settings.

How to choose the type and zoom of the map?

Just set type and zoom of the map in the visual editor window. On the site it will be displayed identically.

How to use the plugin with new Gutenberg editor?

You can add a block with a classic editor and add a map with it. Later, native support can be added if most users start to use Gutenberg.

How to insert a map into my template as PHP code?

Use the tag “echo do_shortcode(”)” with your map shortcode insde.

How to set an icon that is not in the drop-down list?

You can chose icon at https://tech.yandex.com/maps/doc/jsapi/2.1/ref/reference/option.presetStorage-docpage/ and set it manually to the “Icon” field. For example “islands#blueRailwayIcon”. Also you can insert the URL of your file in the field. For example, PNG-image with transparency.

Why a can’t change color of StretchyIcon?

This is the limitation of Yandex.Map API. You can select a stretchy icon of the desired color at https://tech.yandex.com/maps/doc/jsapi/2.1/ref/reference/option.presetStorage-docpage/ and set it manually.

Interested in development?

Changelog

0.6.16

New: Yandex Map Api request and map moved to the footer to speed up content loading.

Fixed: Bugfix.

0.6.15

Fixed: Bugfix.

0.6.14

Fixed: Bugfix.

0.6.13

Fixed: Bugfix.

0.6.12

Fixed: Bugfix.

0.6.11

Fixed: Bugfix for WP 5.3.

0.6.10

Fixed: Bugfix.

0.6.9

Fixed: Bugfix.

0.6.8

New: In the settings page, you can set the Yandex Maps API key if there are problems with limits.

Fixed: Bugfix. Display maps in widgets and content same time could cause an error.

0.6.7

The button for opening a large yandex map can be switched in the plugin settings.

0.6.6

The button for opening a large yandex map was removed.

0.6.5

Fixed: Bugfix. Improved compatibility with other plugins.

0.6.4

Fixed: Bugfix. In rare cases, the problem of loading the API with custom fields.

0.6.3

Fixed: Bugfix. Fixed conflict with Yandex.Metrica

New: The plugin works in the Elementor editor.

0.6.2

Fixed: Bugfix.

0.6.1

Fixed: Bugfix.

0.6

New: Interaction possibility with the map from other plugins and themes. The possibility of expanding the functionality of the plugin. Contact the author if you need additional features on your website.

Code refactoring.

Fixed: Bugfix.

0.5.11

New: Map dragging can be disabled for mobile devices.

Fixed: Bugfix.

0.5.10

Fixed: Bugfix.

0.5.9

New: You can use your own icons. Place the link to the file in the icon field (url must contain “http”).

Fixed: Bugfix.

0.5.8

New: Restore defaults button on the settings page.

Fixed: Bugfix.

0.5.7

Fixed: Incorrect “111” control in the settings blocked the rendering of elements on new maps.