Display a Google Map
Plugin GoogleMap
Introduced in Tiki5
This Wiki Plugin will display a Google Map.
Table of contents
Usage and Parameters
To use this plugin in a wiki page, use the syntax:
Syntax for the ... plugin
{GOOGLEMAP(type=locator|user|item|objectlist, mode=normal|satellite|hybrid, key=XXXXX, name=xxx, width=500, height=400, frameborder=1|0, defaultx=-79.4, defaulty=43.707, defaultz=14, setdefaultxyz=1|0, locateitemtype=wiki page|..., locateitemid=xxx, hideifnone=0|1, togglehidden=0|1, starthidden=0|1, autozoom=14)}{GOOGLEMAP}| Parameters | Accepted Values | Description |
| type | Type of items to show on google map | |
| mode | Map display mode | |
| key | Google maps key, if not set in user preferences | |
| name | Id suffix of Google map div to avoid conflicts with other maps on same page | |
| width | Pixels or % | |
| height | Pixels or % | |
| frameborder | 1|0 | |
| defaultx | Longitude value e.g. -79.39 | |
| defaulty | Latitude value e.g. 43.7 | |
| defaultz | An integer between 0 and 19 | |
| setdefaultxyz | 1|0, allow user to set current map view as default view for himself only | |
| locateitemtype | user, wiki page, blog, etc..., will attempt to use current object if not specified | |
| locateitemid | Name of page, blog ID, etc..., will attempt to use current object if not specified | |
| hideifnone | 1|0 | |
| togglehidden | 1|0 | |
| starthidden | 1|0 | |
| autozoom | An integer between 0 and 19 |
Requires Ajax to be enabled (Admin Home > Features > Experimental (tab)).
Related pages
Contributors to this page: lindon
and
DavidBright
.
Page last modified on Saturday 03 July, 2010 22:29:52 UTC by lindon
.
