|
|
Ligne 1 : |
Ligne 1 : |
| ; syntax
| | == syntax == |
| <pre> | | <pre> |
| |imageoverlays=<coord>:<coord>:<url-to-image>[~<title>~<text>/~link:<url>]; | | |imageoverlays=<coord>:<coord>:<url-to-image>[~<title>~<text>/~link:<url>]; |
| </pre> | | </pre> |
|
| |
|
| ; example 1 - title / text / link
| | === example 1 - title / text / link === |
| <pre> | | <pre> |
| {{#display_map: | | {{#display_map: |
Ligne 22 : |
Ligne 22 : |
| }} | | }} |
|
| |
|
| ; example 2 - link
| | === example 2 - link === |
| <pre> | | <pre> |
| {{#display_map: | | {{#display_map: |
Ligne 35 : |
Ligne 35 : |
| {{#display_map: | | {{#display_map: |
| |imageoverlays=50.302674198227855,10.70068359375:49.01553629578961,8.382568359375:https://sandbox.semantic-mediawiki.org/w/SMWSandBoxLogo.png~~/~link:https://www.semantic-mediawiki.org/ | | |imageoverlays=50.302674198227855,10.70068359375:49.01553629578961,8.382568359375:https://sandbox.semantic-mediawiki.org/w/SMWSandBoxLogo.png~~/~link:https://www.semantic-mediawiki.org/ |
| | |centre=Europe |
| | |zoom=6 |
| | |service=googlemaps3 |
| | }} |
| | |
| | === example 3 - title / text === |
| | <pre> |
| | {{#display_map: |
| | |imageoverlays=50.302674198227855,10.70068359375:49.01553629578961,8.382568359375:https://sandbox.semantic-mediawiki.org/w/SMWSandBoxLogo.png~Semantic MediaWiki~World domination imminent! |
| | |centre=Europe |
| | |zoom=6 |
| | |service=googlemaps3 |
| | }} |
| | </pre> |
| | |
| | ; result 3 |
| | {{#display_map: |
| | |imageoverlays=50.302674198227855,10.70068359375:49.01553629578961,8.382568359375:https://sandbox.semantic-mediawiki.org/w/SMWSandBoxLogo.png~Semantic MediaWiki~World domination imminent! |
| |centre=Europe | | |centre=Europe |
| |zoom=6 | | |zoom=6 |
syntax
|imageoverlays=<coord>:<coord>:<url-to-image>[~<title>~<text>/~link:<url>];
example 1 - title / text / link
{{#display_map:
|imageoverlays=50.302674198227855,10.70068359375:49.01553629578961,8.382568359375:https://sandbox.semantic-mediawiki.org/w/SMWSandBoxLogo.png~Semantic MediaWiki~World domination imminent!/~link:https://www.semantic-mediawiki.org/
|centre=Europe
|zoom=6
|service=googlemaps3
}}
- result 1
Chargement de la carte...
{"type":"ROADMAP","minzoom":false,"maxzoom":false,"types":["ROADMAP","SATELLITE","HYBRID","TERRAIN"],"mappingservice":"googlemaps3","width":"auto","height":"350px","centre":{"text":"","title":"","link":"","lat":51,"lon":10,"icon":""},"title":"","label":"","icon":"","lines":[],"polygons":[],"circles":[],"rectangles":[],"copycoords":false,"static":false,"visitedicon":"","wmsoverlay":false,"zoom":6,"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":[{"text":"\u003Cb\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003ESemantic MediaWiki\n\u003C/p\u003E\u003C/div\u003E\u003C/b\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003EWorld domination imminent!/\n\u003C/p\u003E\u003C/div\u003E","title":"Semantic MediaWiki\n","link":"https://www.semantic-mediawiki.org/","strokeColor":"#FF0000","strokeOpacity":"1","strokeWeight":"2","fillColor":"#FF0000","fillOpacity":"0.5","ne":{"lon":10.70068359375,"lat":50.302674198227855},"sw":{"lon":8.382568359375,"lat":49.01553629578961},"image":"https://sandbox.semantic-mediawiki.org/w/SMWSandBoxLogo.png"}],"kml":[],"gkml":[],"searchmarkers":"","fullscreen":false,"scrollwheelzoom":false,"locations":[]}
example 2 - link
{{#display_map:
|imageoverlays=50.302674198227855,10.70068359375:49.01553629578961,8.382568359375:https://sandbox.semantic-mediawiki.org/w/SMWSandBoxLogo.png~~/~link:https://www.semantic-mediawiki.org/
|centre=Europe
|zoom=6
|service=googlemaps3
}}
- result 2
Chargement de la carte...
{"type":"ROADMAP","minzoom":false,"maxzoom":false,"types":["ROADMAP","SATELLITE","HYBRID","TERRAIN"],"mappingservice":"googlemaps3","width":"auto","height":"350px","centre":{"text":"","title":"","link":"","lat":51,"lon":10,"icon":""},"title":"","label":"","icon":"","lines":[],"polygons":[],"circles":[],"rectangles":[],"copycoords":false,"static":false,"visitedicon":"","wmsoverlay":false,"zoom":6,"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":[{"text":"\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003E/\n\u003C/p\u003E\u003C/div\u003E","title":"","link":"https://www.semantic-mediawiki.org/","strokeColor":"#FF0000","strokeOpacity":"1","strokeWeight":"2","fillColor":"#FF0000","fillOpacity":"0.5","ne":{"lon":10.70068359375,"lat":50.302674198227855},"sw":{"lon":8.382568359375,"lat":49.01553629578961},"image":"https://sandbox.semantic-mediawiki.org/w/SMWSandBoxLogo.png"}],"kml":[],"gkml":[],"searchmarkers":"","fullscreen":false,"scrollwheelzoom":false,"locations":[]}
example 3 - title / text
{{#display_map:
|imageoverlays=50.302674198227855,10.70068359375:49.01553629578961,8.382568359375:https://sandbox.semantic-mediawiki.org/w/SMWSandBoxLogo.png~Semantic MediaWiki~World domination imminent!
|centre=Europe
|zoom=6
|service=googlemaps3
}}
- result 3
Chargement de la carte...
{"type":"ROADMAP","minzoom":false,"maxzoom":false,"types":["ROADMAP","SATELLITE","HYBRID","TERRAIN"],"mappingservice":"googlemaps3","width":"auto","height":"350px","centre":{"text":"","title":"","link":"","lat":51,"lon":10,"icon":""},"title":"","label":"","icon":"","lines":[],"polygons":[],"circles":[],"rectangles":[],"copycoords":false,"static":false,"visitedicon":"","wmsoverlay":false,"zoom":6,"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":[{"text":"\u003Cb\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003ESemantic MediaWiki\n\u003C/p\u003E\u003C/div\u003E\u003C/b\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003EWorld domination imminent!\n\u003C/p\u003E\u003C/div\u003E","title":"Semantic MediaWiki\n","link":"","strokeColor":"#FF0000","strokeOpacity":"1","strokeWeight":"2","fillColor":"#FF0000","fillOpacity":"0.5","ne":{"lon":10.70068359375,"lat":50.302674198227855},"sw":{"lon":8.382568359375,"lat":49.01553629578961},"image":"https://sandbox.semantic-mediawiki.org/w/SMWSandBoxLogo.png"}],"kml":[],"gkml":[],"searchmarkers":"","fullscreen":false,"scrollwheelzoom":false,"locations":[]}