Difference between revisions of "Help:Map syntax"
(Created page with "This article will give some understanding in the use of the Kartographer map function in this wiki. Due to some limitations in the extension, the complete syntax needs to be u...") |
(→Marker Icons) |
||
Line 29: | Line 29: | ||
</pre> | </pre> | ||
== Marker Icons == | == Marker Icons == | ||
− | <mapframe text="" width="400" height="200" align="center" zoom="10" longitude="0.12" latitude="0"> | + | <mapframe text="Marker Icons" width="400" height="200" align="center" zoom="10" longitude="0.12" latitude="0"> |
{ | { | ||
"type": "FeatureCollection", | "type": "FeatureCollection", |
Latest revision as of 21:44, 7 July 2018
This article will give some understanding in the use of the Kartographer map function in this wiki. Due to some limitations in the extension, the complete syntax needs to be used as it cannot be incorporated into a template.
Sample Usage
<mapframe text="" width=260 height=260 zoom=12 latitude="12.5828272" longitude="-70.0420925"> //Replace the latitude and longitude value here for the location you want to mark { "type": "Feature", "geometry": { "type": "Point", "coordinates": [-70.0420925, 12.5828272] }, //Replace values for the coordinates using this format longitude, latitudefor the location you want to mark "properties": { "title": "[https://www.boardwalkaruba.com/en-us Boardwalk Small Hotel Aruba]", //Replace this value for the name of the establishment marked "marker-color": "228b22", //Marker color using hex values "marker-symbol": "lodging", //Marker icon, please refer to list of usable icons below "marker-size": "medium", //Marker icon size, can be set to small, medium or large } } </mapframe>
Marker Icons
Establishment | Icon |
Hotel | lodging |
Airport | airport |
Shop | shop |
Marker | marker |
Landmark | monument |
Restaurant | restaurant |
Star | star |