Comparing revisions for Wiki Macros. View full history.
|
Revision: 1 Wiki MacrosMacros look like this in wiki syntax: {{?name | parameter1=value1 | parameter2=value2}}
Use three brackets to supply parameters on separate lines. {{{?name
| parameter1=value1
| parameter2=value2
}}}
Static MapThe {{?staticmap | size=400x200 | zoom=13 | type=terrain | center=Bellingham, WA}}
| size=400x200 | zoom=13 | type=terrain | center=Bellingham, WA Supported Parameters
All parameters are optional. A map can display one or more markers with one or more {{{?staticmap
| size=400x200
| zoom=17
| type=hybrid
| marker=label:1|1313 Commercial St, Bellingham, WA
| marker=label:2|1331 Commercial St, Bellingham, WA
| marker=label:3|1313 Bay St, Bellingham, WA
}}}
Read about the Google Static Maps API for more information, especially about the full marker syntax. Interactive MapThe {{{?map
| size=400x200
| zoom=16
| type=hybrid
| marker=1313 Commercial St, Bellingham, WA
| marker=1331 Commercial St, Bellingham, WA
| marker=1313 Bay St, Bellingham, WA
}}}
Markers are not supported as well as in static maps as of this writing. In particular, custom size, color, and label are not currently supported. |
Welcome, Guest! (sign in)