|
Balise : Éditeur de wikicode 2017 |
(5 versions intermédiaires par le même utilisateur non affichées) |
Ligne 1 : |
Ligne 1 : |
| | Refs: https://github.com/JeroenDeDauw/Maps/issues/479 |
| | |
| | == format = leaflet == |
| | |
| {{#ask: | | {{#ask: |
| [[Located in::Germany]] | | [[Test data with image]] |
| |link=none | | |?Main image |
| |sort=Creation date | | |?Has coordinates |
| | |format=leaflet |
| }} | | }} |
| | |
| | == format = googlemaps == |
| | |
| | {{#ask: |
| | [[Test data with image]] |
| | |?Main image |
| | |?Has coordinates |
| | |format=googlemaps |
| | }} |
| | |
| | == display_map == |
| | |
| | {{#display_map: |
| | Berlin~The city Berlin~Main image: [[File:Intel 8 16 LAN Adapter.jpg|300px]]~Blue marker.png; |
| | }} |
| | |
| | [[Category:Issue]] |
Refs: https://github.com/JeroenDeDauw/Maps/issues/479
format = leaflet
Chargement de la carte...
{"format":"leaflet","minzoom":false,"maxzoom":false,"limit":250,"offset":0,"link":"all","sort":[""],"order":[],"headers":"show","mainlabel":"","intro":"","outro":"","searchlabel":"... further results","default":"","import-annotation":false,"width":"auto","height":"350px","centre":false,"title":"","label":"","icon":"","lines":[],"polygons":[],"circles":[],"rectangles":[],"copycoords":false,"static":false,"zoom":false,"defzoom":14,"layers":["OpenStreetMap"],"image layers":[],"overlays":[],"resizable":false,"fullscreen":false,"scrollwheelzoom":true,"cluster":false,"clustermaxzoom":20,"clusterzoomonclick":true,"clustermaxradius":80,"clusterspiderfy":true,"geojson":"","clicktarget":"","showtitle":true,"hidenamespace":true,"template":"","userparam":"","activeicon":"","pagelabel":false,"ajaxcoordproperty":"","ajaxquery":"","locations":[{"text":"\u003Cb\u003E\u003Ca href=\"/wiki/Test_data_with_image\" title=\"Test data with image\"\u003ETest data with image\u003C/a\u003E\u003C/b\u003E\u003Chr /\u003E\u003Ca href=\"/w/index.php?title=Attribut:Main_image\u0026amp;action=edit\u0026amp;redlink=1\" class=\"new\" title=\"Attribut:Main image (page inexistante)\"\u003EMain image\u003C/a\u003E: \u003Ca href=\"/wiki/Fichier:Intel_8_16_LAN_Adapter.jpg\" title=\"Fichier:Intel 8 16 LAN Adapter.jpg\"\u003EFichier:Intel 8 16 LAN Adapter.jpg\u003C/a\u003E","title":"Test data with image","link":"","lat":51.5073346,"lon":-0.12768310000001,"icon":""}],"imageLayers":[]}
format = googlemaps
Chargement de la carte...
{"format":"googlemaps3","type":"ROADMAP","minzoom":false,"maxzoom":false,"types":["ROADMAP","SATELLITE","HYBRID","TERRAIN"],"limit":250,"offset":0,"link":"all","sort":[""],"order":[],"headers":"show","mainlabel":"","intro":"","outro":"","searchlabel":"... further results","default":"","import-annotation":false,"width":"auto","height":"350px","centre":false,"title":"","label":"","icon":"","lines":[],"polygons":[],"circles":[],"rectangles":[],"copycoords":false,"static":false,"visitedicon":"","wmsoverlay":false,"zoom":14,"layers":[],"controls":["pan","zoom","type","scale","streetview","rotate"],"zoomstyle":"DEFAULT","typestyle":"DEFAULT","autoinfowindows":false,"resizable":false,"kmlrezoom":false,"poi":true,"cluster":false,"clustergridsize":60,"clustermaxzoom":20,"clusterzoomonclick":true,"clusteraveragecenter":true,"clusterminsize":2,"imageoverlays":[],"kml":[],"gkml":[],"searchmarkers":"","fullscreen":false,"scrollwheelzoom":false,"showtitle":true,"hidenamespace":true,"template":"","userparam":"","activeicon":"","pagelabel":false,"ajaxcoordproperty":"","ajaxquery":"","locations":[{"text":"\u003Cb\u003E\u003Ca href=\"/wiki/Test_data_with_image\" title=\"Test data with image\"\u003ETest data with image\u003C/a\u003E\u003C/b\u003E\u003Chr /\u003E\u003Ca href=\"/w/index.php?title=Attribut:Main_image\u0026amp;action=edit\u0026amp;redlink=1\" class=\"new\" title=\"Attribut:Main image (page inexistante)\"\u003EMain image\u003C/a\u003E: \u003Ca href=\"/wiki/Fichier:Intel_8_16_LAN_Adapter.jpg\" title=\"Fichier:Intel 8 16 LAN Adapter.jpg\"\u003EFichier:Intel 8 16 LAN Adapter.jpg\u003C/a\u003E","title":"Test data with image","link":"","lat":51.5073346,"lon":-0.12768310000001,"icon":""}]}
display_map
Chargement de la carte...
{"minzoom":false,"maxzoom":false,"mappingservice":"leaflet","width":"auto","height":"350px","centre":false,"title":"","label":"","icon":"","lines":[],"polygons":[],"circles":[],"rectangles":[],"copycoords":false,"static":false,"zoom":false,"defzoom":14,"layers":["OpenStreetMap"],"image layers":[],"overlays":[],"resizable":false,"fullscreen":false,"scrollwheelzoom":true,"cluster":false,"clustermaxzoom":20,"clusterzoomonclick":true,"clustermaxradius":80,"clusterspiderfy":true,"geojson":"","clicktarget":"","imageLayers":[],"locations":[{"text":"\u003Cb\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003EThe city Berlin\n\u003C/p\u003E\u003C/div\u003E\u003C/b\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003EMain image: \u003Ca href=\"/wiki/Fichier:Intel_8_16_LAN_Adapter.jpg\" class=\"image\"\u003E\u003Cimg alt=\"Intel 8 16 LAN Adapter.jpg\" src=\"/w/thumb.php?f=Intel_8_16_LAN_Adapter.jpg\u0026amp;width=300\" decoding=\"async\" width=\"300\" height=\"222\" srcset=\"/w/thumb.php?f=Intel_8_16_LAN_Adapter.jpg\u0026amp;width=450 1.5x, /w/thumb.php?f=Intel_8_16_LAN_Adapter.jpg\u0026amp;width=600 2x\" data-file-width=\"800\" data-file-height=\"591\" /\u003E\u003C/a\u003E\n\u003C/p\u003E\u003C/div\u003E","title":"The city Berlin\n","link":"","lat":52.5170365,"lon":13.3888599,"icon":"/w/images/6/6f/Blue_marker.png"}],"imageoverlays":null}