[google_map]
Shortcode displays Google Map for selected coordinates.
Attributes
- api_key
- (required) Enter you Google Maps API key here. You can get you free key at https://developers.google.com/maps/documentation/javascript/get-api-key.
- Default: None
- width
- (optional) Specifies the width the map.
- Default:
400px
- Default:
- height
- (optional) Specifies the height the map.
- Default:
400px
- Default:
- zoom
- (optional) Specifies the zoom level for the map.
- Default:
10
- Default:
- center_latitude
- (optional) Specifies where to center the map (latitude).
- Default:
51.5
- Default:
- center_longitude
- (optional) Specifies where to center the map (longitude).
- Default:
-0.2
- Default:
- map_type_id
- (optional) Specifies the type of the map. Possible options are:
roadmap
,satellite
,hybrid
,terrain
.- Default:
roadmap
- Default:
Examples
Example
Satellite map centered on Eiffel Tower:
[google_map api_key="AIzaSyB0W2k9RoJ2xZeknr3lOnpYrFhlEJhdXFo" width="100%" height="500px" zoom="15" center_latitude="48.8584" center_longitude="2.2945" map_type_id="satellite"]
No comments yet.