Wiki Markup |
---|
{composition-setup |
}
deck.tab.active.background = #6495ED
|
Section |
---|
Column |
---|
|
|
{composition-setup}
{section}
{column:width=15%}
{excerpt-include
pluglib:Advanced Macros
Pluginpluglib:Advanced Macros Plugin | nopanel | true |
---|
Column |
---|
|
Wiki Markup |
---|
Plugin|nopanel=true}
{column}
{column:width=60%}
{deck:id=Google Maps|width=907px}
{card:label=Overview}
h4. Google Maps Plugin
Displays a Google Map based on the properties within the body of the macro code.
h5. This plugin includes the following macros:
* *gmap* - Displays a Google Map.
{card}
{card:label=Documentation}
h3. The Code
{code}
{gmap:zoom=7}
San Francisco
{gmap}
{code}
h3. {toggle-cloak:id=1} Result
{cloak:id=1}
{gmap:zoom=7}
San Francisco
{gmap}
{cloak}
h3. {toggle-cloak:id=2} Properties
{cloak:id=2}
The macros body can have any number of lines with these formats:
* place:location=<address><latitude,longitude>|info=<info>
* directions:from= | to=
\\
h5. Example
{code}
{gmap}
place:address=New York|info=The big apple
{gmap}
{code}
{cloak}
h3. {toggle-cloak:id=3} Parameters
{cloak:id=3}
||*Name*||*Required?*||*Possible Values*||*Default*||
|macro body / location to map|(/)|the address to map.| |
|name|(x)|any valid DOM id | |
|width|(x)| |700|
|height|(x)| |500|
|style|(x)|any valid class name | |
|zoom|(x)| | 13|
|maptype|(x)|(map, satellite, hybrid, terrain)+|map,satellite,hybrid.|
|displaymap|(x)|map, satellite, hybrid, terrain |map|
|controls|(x)| none, auto, large, medium, small|auto (size calculated from width and height).|
|mapscale|(x)|true, false|true|
|maptypecontrol|(x)|true, false|true|
|overview|(x)|true, false|false|
|drag|(x)|true, false|true|
|doubleclickzoom|(x)|true, false|true (only has an effect if drag is enabled).|
|wheelzoom|(x)|true, false|false.|
|marker|(x)|true, false|true.|
{cloak}
{card}
{deck}
{roundrect:bgcolor=#828282|width=909px|height=50px|corners=false,false,true,true}
{roundrect}
{column}
{column
:width
20%=20%}
{column}
{section}