Revision [20017]
This is an old revision of MapstractionActionInfo made by MasinAlDujaili on 2008-06-07 19:59:55.
Mapstraction Action Documentation
not included in WikkaThis is the documentation page for the {{mapstraction}} action.
Documentation
Short description
This action creates a map of a given map provider. The mapstraction scripts support different providers. Some need keys for usage, some have withdrawn their service (e.g. Microsoft, MapQuest).Parameters
name | type | required? | default | description |
---|---|---|---|---|
name | string | optional | mapstraction | If more than one map on a page is used, the name should be specified. The name parameter will be used as id of the div container, the map will be displayed in. |
latitude | float | optional | Latitude of the center of the map, formatted as float value. Positive values are northern hemisphere, negative values are southern hemisphere. | |
longitude | float | optional | Longitude of the center of the map, formatted as float value. Positive values are eastern hemisphere, negative values are western hemisphere. | |
width | string | optional | 300px | The width of the map. You can specify any value that's allowed in CSS. |
height | string | optional | 300px | as width |
maptype | integer | optional | 1 | 1: road map, 2: satellite map, 3: hybrid map |
zoom | integer | optional | 4 | Zoom level as used by Google |
overview | boolean | optional | FALSE | Wether an overview map should be displayed or not. |
markers | integer | optional | 0 | to come |
Long description
Place for a longer description.Author
MasinAlDujailiwith code from NilsLindenberg, SamuelDR and FrankChestnut
To do
- better documentation
- code cleanup
- checking for security leaks
- more features as provided by Mapstraction
CategoryUserContributions