Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen gezeigt.

Link zu der Vergleichsansicht

wiki:plugin_googlemaps [2013/07/11 10:00] (aktuell)
Zeile 1: Zeile 1:
 +====== Plugin: GoogleMaps ======
 +
 +===== Beschreibung =====
 +Dieses Plugin gestattet es in Ihre Seiten Google-Maps einzubetten. ​
 +
 +===== Syntax =====
 +
 +  <​googlemap parameter="​value"​ parameter="​value">​
 +  lat,​lon,​text
 +  lat,​lon,​text
 +  </​googlemap>​
 +
 +The lines of "​lat,​lon,​text"​ represent the individual overlay markers. ​ Each marker must have its own line and be the only information on that line.  "​lat"​ and "​lon"​ are the latitude and longtitude of the marker. "​text"​ is the text to be displayed in the popup when the marker is clicked. ​ The text can include wiki markup.
 +
 +
 +==== Parameters ====
 +
 +  * width --- //999px// (e.g. 500px) width of the google map, default is 400px.
 +  * height --- //999px// (e.g. 500px) height of the google map, default is 300px.
 +  * type --- values: map | satellite | hybrid. default map.
 +  * lat --- values: -90.0 - 90.0; latitude of map centre, negative values are south.
 +  * lon --- values: -180.0 - 180.0; longtitude of map centre, negative values are west.
 +  * zoom --- integer, zoom level, default value 8.  Valid values depend on the map and location.
 +  * controls --- values on | off. default on.  Whether or not to show controls for zooming and panning on the map.
 +  * kml --- values: off | [url of kml file].
 +
 +The parameters can be in any order. ​
 +
 +
 +===== Beispiele =====
 +Hinweis: die nötigen Koordinaten erhält man, wenn man sich zuerst die Karte über [[http://​maps.google.de/​|Google Maps]] ansieht und dann mit der Maus über "​Link"​ (rechts oben) fährt. In der Statuszeile des Browsers (unten) sieht man dann den genauen Link und da sind die Längen- und Breitengrade drinnen.
 +
 +**Beispiel 1:** Europakarte
 +<​googlemap width="​300px"​ height="​300px"​ type="​hybrid"​ zoom="​1"​ > 
 +46.71174428738212,​4.74609375,​here is one point!
 +-10.614539227964332,​-56.07421875,​here is two!
 +</​googlemap>​
 +\\
 +
 +**Beispiel 2:** Amstetten - Satellitenaufnahme
 +<​googlemap width="​300px"​ height="​300px"​ lat="​48.124164"​ lon="​14.872055"​ type="​hybrid"​ zoom="​12">​
 +</​googlemap>​
 +\\
 +
 +**Beispiel 3:** Anzengruberstrasse in Amstetten - Strassenplan
 +<​googlemap lat="​48.119702"​ lon="​14.876969"​ text="​Here we are" zoom="​16">​
 +</​googlemap>​
 +\\
 +
 +**Beispiel 4:** Amstetten mit zentrierter Box
 +<box 60% round orange>​Amstetten ist eine Kleinstadt im westlichen Niederösterreich
 +<​googlemap lat="​48.124164"​ lon="​14.872055"​ text="​Somewhere over here"></​googlemap>​
 +</​box|Amstetten im Rahmen>
 +\\
 +<box 50% green><​googlemap lat="​48.124164"​ lon="​14.872055"​ type="​satellite">​Test von mir</​googlemap></​box|Amstetten>​
 +\\
 +\\
 +
 +**Beispiel 5:** Wien in größter Auflösung
 +<box 90%|Stephansdom>​
 +<​googlemap width="​600px"​ height="​600px"​ lat="​48.208756"​ lon="​16.372676" ​ type="​hybrid"​ zoom="​18"​ >
 +</​googlemap>​
 +</​box>​
 +\\
 +
 +
 +===== Quelle und weitere Informationen =====
 +
 +Diese Plugin stammt von Chris Smith [[http://​www.dokuwiki.org/​plugin:​googlemaps|GoogleMaps-Plugin]]\\
 +