=====Mapstraction Action Documentation===== >>**See also** ~-Development: MapstractionAction ~-GoogleMap ~-[[http://mapstraction.com | Development website of Mapstraction]] >>//not included in Wikka// This is the documentation page for the ##""{{mapstraction}}""## action. ====Documentation==== ===Short description=== This action outputs 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""). ===Requirements=== To use this action you'll need the scripts you find here: http://mapstraction.com/svn/source/ Put them into the directory ##[your wikka installation directory]/3rdparty/plugins/mapstraction/##. Furthermore you should add this line to you wikka.config.php: %%(php) 'mapstraction_path' => '3rdparty/plugins/mapstraction', %% Of course, you can choose a different path -- but why? ===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 |