Usage of the visited icon functionality added in Maps 2.0.
- This can be specified using the "visitedicon" parameter.
- This can also be specified per point as per point parameter, as sixth argument after the point coordinates.
You can generate maps with points that have this option set via the MapEditor special page.
Using the global parameter[edit]
<display_map service="googlemaps3" visitedicon="File:Green_marker.png">
50.958426723359935,10.2392578125~Germany
46.98025235521883,2.4169921875~France
50.764259357116465,4.6142578125~Belgium
</display_map>
Loading map...
{"type":"ROADMAP","minzoom":false,"maxzoom":false,"types":["ROADMAP","SATELLITE","HYBRID","TERRAIN"],"mappingservice":"googlemaps3","width":"auto","height":"350px","centre":false,"title":"","label":"","icon":"","lines":[],"polygons":[],"circles":[],"rectangles":[],"copycoords":false,"static":false,"visitedicon":"Green_marker.png","wmsoverlay":false,"zoom":false,"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,"locations":[{"text":"\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003EGermany\n\u003C/p\u003E\u003C/div\u003E","title":"Germany\n","link":"","lat":50.958426723359935,"lon":10.2392578125,"icon":"","visitedicon":"/w/images/c/ce/Green_marker.png"},{"text":"\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003EFrance\n\u003C/p\u003E\u003C/div\u003E","title":"France\n","link":"","lat":46.98025235521883,"lon":2.4169921875,"icon":"","visitedicon":"/w/images/c/ce/Green_marker.png"},{"text":"\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003EBelgium\n\u003C/p\u003E\u003C/div\u003E","title":"Belgium\n","link":"","lat":50.764259357116465,"lon":4.6142578125,"icon":"","visitedicon":"/w/images/c/ce/Green_marker.png"}]}
Using per point parameters[edit]
{{#display_map:
50.958426723359935,10.2392578125~Germany~ ~ ~ ~ ~File:Green_marker.png;
46.98025235521883,2.4169921875~France~ ~ ~ ~ ~File:Blue_marker.png;
50.764259357116465,4.6142578125~Belgium
|service=googlemaps3
}}
Loading map...
{"type":"ROADMAP","minzoom":false,"maxzoom":false,"types":["ROADMAP","SATELLITE","HYBRID","TERRAIN"],"mappingservice":"googlemaps3","width":"auto","height":"350px","centre":false,"title":"","label":"","icon":"","lines":[],"polygons":[],"circles":[],"rectangles":[],"copycoords":false,"static":false,"visitedicon":"","wmsoverlay":false,"zoom":false,"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,"locations":[{"text":"\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003EGermany\n\u003C/p\u003E\u003C/div\u003E","title":"Germany\n","link":"","lat":50.95842672336,"lon":10.2392578125,"icon":"","inlineLabel":"","visitedicon":"/w/images/c/ce/Green_marker.png"},{"text":"\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003EFrance\n\u003C/p\u003E\u003C/div\u003E","title":"France\n","link":"","lat":46.980252355219,"lon":2.4169921875,"icon":"","inlineLabel":"","visitedicon":"/w/images/6/6f/Blue_marker.png"},{"text":"\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003EBelgium\n\u003C/p\u003E\u003C/div\u003E","title":"Belgium\n","link":"","lat":50.764259357116,"lon":4.6142578125,"icon":""}]}