-
Notifications
You must be signed in to change notification settings - Fork 1
03 Map Data Format
Iltempe edited this page Aug 26, 2017
·
7 revisions
Following a sample of data formats of a Markdown File Header that you have to create to generate a Map. After you find the means of each field.
---
layout: map
title: "Tuscany Museums"
date: 2017-08-15 20:50:24
description: The map of museums in Tuscany, a Beautiful Region of Italy.
source: "http://dati.toscana.it/dataset/rt-musei/resource/164d3a36-ede9-44a7-8f01-d9431f9f0cff"
categories: mappe
dataset: "tuscany_museums"
marker:
icon: home
color: red
view:
center_lat: 43.9099
center_lon: 11.0847
zoom: 18
cluster: true
style: OpenStreetMap.BlackAndWhite
popup: categoria_prevalente
streetview:
mapillary_photo_id: 43Rju2Xtu-QZRNP1umMhlw
---
- Layout: is
map - title: is the title of your map
- date: is the date of your map publishing
- description: is a textual description of your map
- source: is the source of dataset that you use in you map
- categories: is the category of maps that you are generating
- dataset: is the name, without extension of the dataset that you want to map
- marker:
- icon: is the marker icon, supports these strings: 'home' 'glass' 'flag' 'star' 'bookmark' and many others
- color: is the marker color. Can be 'red', 'darkred', 'orange', 'green', 'darkgreen', 'blue', 'purple', 'darkpuple', 'cadetblue'
- view: settings of map view
- center_lat: latitude of center of the map view (default is set calculating POI positions means)
- center_lon: longitude of center of the map view (default is set calculating POI positions means)
- zoom: value of the zoom of the map view (default 6)
- cluster: is the clustering option of markers. can be 'true' or 'false'
- styles: is the map style. Can be 'OpenStreetMap.DE','OpenStreetMap.BlackAndWhite','OpenStreetMap.HOT','Thunderforest.OpenCycleMap','Thunderforest.Transport','Thunderforest.Landscape','Hydda.Full','Stamen.Toner','Stamen.Terrain','Stamen.Watercolor','Esri.WorldStreetMap','Esri.DeLorme','Esri.WorldTopoMap','Esri.WorldImagery','Esri.WorldTerrain','Esri.WorldShadedRelief','Esri.WorldPhysical','Esri.OceanBasemap','Esri.NatGeoWorldMap','Esri.WorldGrayCanvas'
- popup: is a text field that can be used for popup text
- streetview
- mapillary_photo_id: mapillary photo id to start the streetview. This require in _config.yml file that mapillary_client_id is defined. See api