Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

GMap Shortcode

Описание

WORKS WITH THE NEW VERSION OF GOOGLE MAPS

You can add a map using a shortcode.

You only need to:

  1. Go to https://www.google.com/maps

  2. Search the address you want to embed in your website. Drag and drop the map to adjust it to the section you want.

  3. Copy the latitude and longitude.

  4. Go to the page you want to add the map and paste this shortcode: [gmap_mc lat=»LATITUDE» long=»LONGITUDE»]

To keep in mind:

  • The default dimensions are 350×250

  • The defaults latitude and longitude point to Cuba

  • You can set your own dimensions using these parameters [gmap_mc lat=»LATITUDE» long=»LONGITUDE» width=»600″ height=»250″]

  • You can set the zoom of your map using the parameter mapwidth, like this [gmap_mc lat=»LATITUDE» long=»LONGITUDE» width=»600″ height=»250″ mapwidth=»3000km»]. The zoom is assumed to be in miles unless you specify km. The default zoom is 1500km

Скриншоты

  • Copy the Latitude and Longitude from the url. The first one is the Latitude, and the second one the Longitude.
  • Create the GMap using the shortcode in this way. The required parameters are the Latitude and Longitude. Width and height are optional, and the same with the mapwidth.
  • Publish the page/post and you will see the map!

Установка

To install this plugin just follow the standard procedure.

or

  1. Upload ‘gmap-shortcode.php’ to the ‘/wp-content/plugins/» directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Часто задаваемые вопросы

Any question?

Send me an email at mcostales@jumptoweb.com and I will answer you as soon as I can.

Отзывы

Нет отзывов об этом плагине.

Участники и разработчики

«GMap Shortcode» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «GMap Shortcode» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

2.0

Add compatibility with new version of Google Map.

1.0

Just launch the plugin!