You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 12
Next »
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.
The Code
{gmap:zoom=7}
San Francisco
{gmap}
Error: The XML content could not be parsed. There is a problem at line 33, column 13. Parser message: Unexpected close tag </fieldset>; expected </input>. at [row,col {unknown-source}]: [33,13]
The macros body can have any number of lines with these formats:
- place:location=<address><latitude,longitude>|info=<info>
- directions:from= | to=
Example
{gmap}
place:address=New York|info=The big apple
{gmap}
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 |
|
map, satellite, hybrid, terrain |
map |
controls |
|
none, auto, large, medium, small |
auto (size calculated from width and height). |
mapscale |
|
true, false |
true |
maptypecontrol |
|
true, false |
true |
overview |
|
true, false |
false |
drag |
|
true, false |
true |
doubleclickzoom |
|
true, false |
true (only has an effect if drag is enabled). |
wheelzoom |
|
true, false |
false. |
marker |
|
true, false |
true. |
Unknown macro: {roundrect}