Version actuelle |
Votre texte |
Ligne 19 : |
Ligne 19 : |
| LocalSettings.php:320: #require_once("$IP/extensions/Widgets/Widgets.php"); TODO 1.28 | | LocalSettings.php:320: #require_once("$IP/extensions/Widgets/Widgets.php"); TODO 1.28 |
| </pre> | | </pre> |
− |
| |
− | == Activation de Maps ==
| |
− |
| |
− | L'extension [[mw:Extension:Maps|Maps]], plus efficace que MultiMaps, a été installée par [[Utilisateur:Markus Pallo]]. L'adaptation nécessaire du code pour afficher les cartes a commencé :
| |
− | * [[France]]
| |
− | * [[Bordeaux/Groupes autogérés]]
| |
− | * …
| |
| | | |
| == Test de MultiMaps == | | == Test de MultiMaps == |
− |
| |
− | Adaptation réalisée pour la page [[France]].
| |
| | | |
| Voir la documentation : http://test.foxway.org/wiki/MultiMaps | | Voir la documentation : http://test.foxway.org/wiki/MultiMaps |
| | | |
− | | + | Le code : |
− | === Leaflet ===
| |
− | | |
| <pre> | | <pre> |
| {{#multimaps: 52.429222277955134,13.359375~Capital of Germany~Crazy people here!; 53.38332836757156,3.33984375; 52.5897007687178,2.548828125; 52.855864177853995,3.515625; 53.33087298301704,1.7578125~Other point | | {{#multimaps: 52.429222277955134,13.359375~Capital of Germany~Crazy people here!; 53.38332836757156,3.33984375; 52.5897007687178,2.548828125; 52.855864177853995,3.515625; 53.33087298301704,1.7578125~Other point |
Ligne 46 : |
Ligne 35 : |
| }} | | }} |
| </pre> | | </pre> |
| + | |
| + | Donne : |
| | | |
| {{#multimaps: 52.429222277955134,13.359375~Capital of Germany~Crazy people here!; 53.38332836757156,3.33984375; 52.5897007687178,2.548828125; 52.855864177853995,3.515625; 53.33087298301704,1.7578125~Other point | | {{#multimaps: 52.429222277955134,13.359375~Capital of Germany~Crazy people here!; 53.38332836757156,3.33984375; 52.5897007687178,2.548828125; 52.855864177853995,3.515625; 53.33087298301704,1.7578125~Other point |
Ligne 54 : |
Ligne 45 : |
| |height=500px | | |height=500px |
| |service=leaflet | | |service=leaflet |
− | }}
| |
− |
| |
− | === Google ===
| |
− |
| |
− | <pre>
| |
− | {{#multimaps: 52.429222277955134,13.359375~Capital of Germany~Crazy people here!; 53.38332836757156,3.33984375; 52.5897007687178,2.548828125; 52.855864177853995,3.515625; 53.33087298301704,1.7578125~Other point
| |
− | |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
| |
− | |height=500px
| |
− | |service=google
| |
− | }}
| |
− | </pre>
| |
− |
| |
− | {{#multimaps: 52.429222277955134,13.359375~Capital of Germany~Crazy people here!; 53.38332836757156,3.33984375; 52.5897007687178,2.548828125; 52.855864177853995,3.515625; 53.33087298301704,1.7578125~Other point
| |
− | |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
| |
− | |height=500px
| |
− | |service=google
| |
− | }}
| |
− |
| |
− |
| |
− | === Yandex ===
| |
− |
| |
− | <pre>
| |
− | {{#multimaps: 52.429222277955134,13.359375~Capital of Germany~Crazy people here!; 53.38332836757156,3.33984375; 52.5897007687178,2.548828125; 52.855864177853995,3.515625; 53.33087298301704,1.7578125~Other point
| |
− | |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
| |
− | |height=500px
| |
− | | service = yandex
| |
− | }}
| |
− | </pre>
| |
− |
| |
− | {{#multimaps: 52.429222277955134,13.359375~Capital of Germany~Crazy people here!; 53.38332836757156,3.33984375; 52.5897007687178,2.548828125; 52.855864177853995,3.515625; 53.33087298301704,1.7578125~Other point
| |
− | |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
| |
− | |height=500px
| |
− | | service = yandex
| |
| }} | | }} |