Last modified 3 years ago
Menu
A slice of type Menu will display a location using google maps.
You need to specify gmap_api_key inside your ACR configuration file to be able to use it.
Preview
It will display a static version of the map with a link to the gmap url of the dynamic version
by default the static version will be of size 200x200, if there is a size specified inside the content
that size will be used for the preview version too.
Use
- view: map
- content: ini
INI
Starts with a [map] section and must contain at least a location
- location = can be any address accepted by google maps (like 'New York' for example)
- zoom = how deep to zoom inside the map (default is 13)
- size = [WIDTHxHEIGHT] size of the map to display, by default will be 200x200 for preview mode and not specified for dynamic map, dynamic map size can be specified using CSS
Example
Content must have an ini-like syntax inside a [map] group
[map] location=Torino zoom=10 size=400x400
