WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Embed Google Map

Embed Google Map is a plugin for embedding one or more Google Maps to WordPress posts and pages.

Embed Google Map is a plugin for embedding one or more Google Maps to WordPress posts and pages. Adding maps is very simple, just add the address or the coordinates which location you want to show on a map inside google_map tags to a post or a page, and that's it!

The plugin supports Google Maps, Google Maps Classic and Google Maps Embed API. The version to be used can be set by using the Version setting (supported values: new, classic, embed). Google Maps and Google Maps Classic do not require an API key, but for Google Maps Embed API an API key is required instead.

It's possible to define the version of Google Maps, the type of the map (normal, satellite, hybrid, terrain), the size of the map, the language of the Google Maps interface, custom labels, zoom level, border layout and link to the full size map. Both HTTP and HTTPS protocols are supported. The default settings defined in the admin panel are used for all the maps in the site, and they can be overridden for individual maps.

Features

  • It's possible to embed one or more Google Maps within a post/page.
  • The address or the coordinates which location is shown on a map is given as a parameter.
  • Define Google Maps version to be used.
  • Define the language of the Google Maps interface.
  • Define the type of the map (normal, satellite, hybrid, terrain).
  • Define the size of the map.
  • Define the zoom level.
  • Define custom labels.
  • Show/hide the info label.
  • Define the border width, border style and border color.
  • Add link to the full size map.
  • Define the link label.
  • Support for HTTP and HTTPS.

Basic Usage

To embed a map in a post or a page use the following code:

{google_map}address{/google_map}

*{google_map}latitude,longitude{/google_map}

**{google_map}url{/google_map}

*latitude,longitude = coordinates in decimal degrees

** URL of a map stored under My Places on Google Maps

Overriding Default Settings

To override one or more default settings use the following code:

{google_map}address|zoom:10{/google_map}

{google_map}address|version:classic|zoom:10{/google_map}

{google_map}address|zoom:10|lang:it{/google_map}

{google_map}address|lang:system{/google_map}

{google_map}address|width:200|height:200|border:1|border_style:solid|border_color:#000000{/google_map}

{google_map}address|width:200|height:200|link:yes|link_label:Label{/google_map}

{google_map}address|link:yes{/google_map}

{google_map}address|type:satellite{/google_map}

{google_map}address|show_info:yes|info_label:Label{/google_map}

{google_map}address|link_full:yes{/google_map}

{google_map}address|https:yes{/google_map}

*{google_map}latitude,longitude{/google_map}

**{google_map}url|width:200|height:200|border:1{/google_map}

*latitude,longitude = coordinates in decimal degrees

** URL of a map stored under My Places on Google Maps

Requires: 3.0.1 or higher
Compatible up to: 3.9.1
Last Updated: 2014-6-28
Downloads: 6,004

Ratings

4 stars
4.5 out of 5 stars

Support

2 of 2 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

0,1,0
100,1,1
100,1,1