Maps examples/Google Maps shapes (points, circles, lines, rectangles and polygons)

From semantic-mediawiki.org
< Category:Maps examples
Maps examplesMaps examples/Google Maps shapes (points, circles, lines, rectangles and polygons)


Usage of the points, circles, lines, rectangles and polygons parameters. Creating polygons manually can be rather tedious without visual aid, hence we have the MapEditor special page with which the below example was created.

{{#display_map:
 52.429222277955134,13.359375~Capital of Germany~Crazy people here!~ ~ ~Berlin; 53.38332836757156,3.33984375; 52.5897007687178,2.548828125; 52.855864177853995,3.515625; 53.33087298301704,1.7578125
 |circles=57.42129439209404,23.90625:326844.60518253763~I'm a circle~of doom!
 |polygons=62.103882522897855,5.09765625:58.309488840677645,5.712890625:58.95000823335702,10.8984375:61.68987220046001,12.83203125:63.35212928507874,11.865234375:64.1297836764257,13.974609375:65.58572002329473,14.326171875:68.56038368664157,18.28125:68.52823492039876,20.126953125:69.2249968541159,20.56640625:69.2249968541159,21.708984375:68.6245436634471,23.466796875:69.00567519658819,25.400390625:69.96043926902487,26.630859375:70.1403642720717,28.564453125:69.25614923150721,28.828125:69.83962194067463,31.201171875:70.75796562654924,29.8828125:71.10254274232307,25.576171875:70.72897946208789,22.67578125:69.99053495947653,18.10546875:67.84241647327927,13.095703125:68.33437594128185,15.908203125:63.704722429433225,9.4921875:63.782486031165014,8.61328125~Meanwhile in Norway~ ~#0B4173~ ~ ~#3373CC
|lines=53.225768435790194,23.466796875:53.9560855309879,29.1796875:56.46249048388979,31.11328125:59.31076795603884,30.673828125:60.84491057364915,27.333984375:60.930432202923335,21.26953125:59.17592824927136,16.611328125:56.218923189166624,16.259765625:54.1109429427243,19.599609375:53.225768435790194,23.466796875~You're serrounded!~ ~#B0920C
 |rectangles=51.83577752045248,33.837890625:46.37725420510028,23.37890625~I'm a square
 |centre=Denkmark
 |zoom=4
 |height=500
 |service=googlemaps3
}}
Loading map...


Starting June 11, 2018 the free usage of the Google Maps APIs is limited to 28,000 calls a month for dynamic maps. As soon as this monthly limit is reached no more maps will be served that month for this wiki by Google.