Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Composition Setup
deck.tab.active.background = #6495ED
Section
Column
width20%15%
Excerpt Include
pluglib:Advanced Macros Pluginpluglib:
Advanced Macros Plugin
nopaneltrue
Column
width60%
Deck of Cards
width907px
idGoogle Maps
Card
labelOverview

Google Maps Plugin

Displays a Google Map based on the properties within the body of the macro code.

This plugin includes the following macros:
  • gmap - Displays a Google Map.
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: * *gamp* - Displays a Google Map. {card} {card:label=Documentation} h3. The Code {code}
Card
labelDocumentation

The Code

Code Block

{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: *

Result

Cloak
id1
7

Toggle Cloak
id2
Properties

Cloak
id2

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. {

Example

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)+|

id3
Parameters

Cloak
id3

Name

Required?

Possible Values

Default

macro body / location to map

the address to map.

 

name

any valid DOM id

 

width

 

700

height

 

500

style

any valid class name

 

zoom

 

13

maptype

(map, satellite, hybrid, terrain)+

map,satellite,hybrid.

| |displaymap|(x)|

displaymap

map,

satellite,

hybrid,

terrain

|map| |controls|(x)|

map

controls

none,

auto,

large,

medium,

small

|

auto

(size

calculated

from

width

and

height).

| |mapscale|(x)|

mapscale

true,

false

|

true

| |maptypecontrol|(x)|

maptypecontrol

true,

false

|

true

| |overview|(x)|

overview

true,

false

|

false

| |drag|(x)|

drag

true,

false

|

true

| |doubleclickzoom|(x)|

doubleclickzoom

true,

false

|

true

(only

has

an

effect

if

drag

is

enabled).

| |wheelzoom|(x)|

wheelzoom

true,

false

|

false.

| |marker|(x)|

marker

true,

false

|

true.

| {cloak} {card} {deck} {roundrect:bgcolor=#828282|width=909px|height=50px|corners=

} {roundrect}
Round Rectangle
cornersfalse,false,true,true
bgcolor#828282
width909px
height50px

Column
width20%