Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
Column
width20%
Excerpt Include
pluglib:Advanced Macros Plugin
pluglib:Advanced Macros Plugin
nopaneltrue
Column
width60%
Wiki Markup

{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=3} Properties
{cloak:id=3}
The macros body can have any number of lines with these formats:
* place:location=<address><latitude,longitude>|info=<info>
* directions:from= | to= 
h5. Example
place:address=New York|info=The big apple
{cloak}

h3. {toggle-cloak:id=2} Parameters
{cloak:id=2}
||*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
width20%