Diff: Help/GoogleMapsPlugin

Differences between current version and predecessor to the previous major change of Help/GoogleMapsPlugin.

Other diffs: Previous Revision, Previous Author

Newer page: version 6 Last edited on 17 January 2022 3:00 by harold
Older page: version 5 Last edited on 25 December 2011 13:03 by harold Revert
@@ -1,27 +1,83 @@
-_short description_  
+The **~GoogleMaps** [[Help:WikiPlugin|plugin]] displays a marker  
+with further infos (when clicking) on given coordinates.  
  
-! Usage  
-<verbatim>  
- <?plugin GoogleMaps ?>  
-</verbatim>  
+You need to sign up for a Google Maps API key
  
-! Arguments  
+http://www.google.com/apis/maps/signup.html  
  
-page _(default: current pagename) _:  
- The page to execute upon.  
+Then enter the key in {{{config/config.ini}}} under {{{GOOGLE _LICENSE _KEY=}}}  
  
-! Example  
+== Usage ==  
  
-<verbatim>  
-<?plugin GoogleMaps ? >  
-</verbatim>  
+{{{  
+<< GoogleMaps arguments> >  
+}}}  
  
-<?plugin GoogleMaps ?>  
+== Arguments ==  
  
-! Author  
-PhpWiki:ReiniUrban  
+{| class="bordered"  
+|-  
+ ! Argument  
+! Description  
+! Default value  
+|-  
+| **Longitude**  
+| Longitude  
+| //None// (required argument)  
+|-  
+| **Latitude**  
+| Latitude  
+| //None// (required argument)  
+|-  
+| **~ZoomFactor**  
+| Zoom factor  
+| 5  
+|-  
+| **Marker**  
+|  
+| true  
+|-  
+| **~InfoText**  
+|  
+| //None//  
+|-  
+| **~MapType**  
+| Map or Satellite or Hybrid  
+| Hybrid  
+|-  
+| **~SmallMapControl**  
+| large or small  
+| false  
+|-  
+| **width**  
+| width  
+| 500px  
+|-  
+| **height**  
+| height  
+| 400px  
+|}  
  
-! See Also  
+== Example ==  
  
+{{{  
+<<GoogleMaps  
+ Latitude=53.053  
+ Longitude=7.803  
+ ZoomFactor=10  
+ Marker=true  
+ MapType=Hybrid  
+ width=500px  
+ height=400px  
+>>  
+}}}  
+  
+== Author ==  
+* [[Help:Reini Urban|Reini Urban]]  
+  
+== See Also ==  
+  
+<noinclude>  
 ---- 
-PhpWikiDocumentation Help:WikiPlugin  
+[[ PhpWikiDocumentation]] [[CategoryWikiPlugin]]  
+</noinclude>  

current version

The GoogleMaps plugin displays a marker with further infos (when clicking) on given coordinates.

You need to sign up for a Google Maps API key!

http://www.google.com/apis/maps/signup.html

Then enter the key in config/config.ini under GOOGLE_LICENSE_KEY=

Usage

<<GoogleMaps arguments>>

Arguments

Argument

Description

Default value

Longitude

Longitude

None (required argument)

Latitude

Latitude

None (required argument)

ZoomFactor

Zoom factor

5

Marker

true

InfoText

None

MapType

Map or Satellite or Hybrid

Hybrid

SmallMapControl

large or small

false

width

width

500px

height

height

400px

Example

<<GoogleMaps
          Latitude=53.053
          Longitude=7.803
          ZoomFactor=10
          Marker=true
          MapType=Hybrid
          width=500px
          height=400px
>>

Author

See Also