Two markers with labels - one as diamond shape, one uses an image from Commons Text label can be customized with all of Vega text mark parameters by prepending "text" to their name
{{Graph:Streetmapwithmarks/doc|lat=40.816667|lon=14.433333|zoom=6|{"lat":40.816667,"lon":14.433333,"shape":"diamond","size":70,"offsetY":-10,"text":"Mount Vesuvius","textFontWeight":"bold","textFontSize":16,"textColor":"#2A4B8D"},{"lat":40.948333,"lon":15.635556,"img":"Volcano red 32x32.svg","width":16,"height":16,"offsetY":-20,"text":"Mount Vulture","textFontWeight":"bold","textFontSize":16,"textColor":"#2A4B8D"}}}
Show all Armenian heritage sites, by querying it from Wikidata The query result should have the same columns (fields) as in the other examples (text, img, ...), except coordinates should be returned as coord column
{{Graph:Streetmapwithmarks/doc|lat=40.347|lon=47.260|zoom=6|colorScaleField=type|wdqs=# Each location should show only once. This query may output all the same values as in the other examples, such as "text", "img", and others.SELECT(SAMPLE(?coord)as?coord)(SAMPLE(?type)as?type)WHERE{?itemwdt:P3170?heritageId.?itemwdt:P625?coord.?itemwdt:P31?type.}GROUP BY?item}}
The data template parameter must be a comma separated list of "JSON" objects. Each object starts with a "{", has a list of comma separated list of key-value pairs, and ends with a "}". The key may be one of the following values (used no more than once per each object):
Radial positioning of the label relative to the marker
font, fontSize, fontWeight, fontStyle
Font name, size, boldness, and style
Image markers
img
image, e.g. Volcano red 32x32.svg
height, width
Size of the image
offsetX, offsetY
Shift the center of the image on the map
<templatedata>
{
"params": {
"1": {
"label": "data",
"description": "Comma separated list of JSON objects that describing what data to draw on the map",
"type": "string",
"suggested": true
},
"width": {
"description": "Total width of the graph",
"type": "number"
},
"height": {
"description": "Total height of the graph",
"type": "number",
"default": "Half of the width"
},
"padding": {
"type": "number"
},
"lat": {
"description": "Latitude of the map's center",
"type": "number"
},
"lon": {
"description": "Longitude of the map's center",
"type": "number"
},
"zoom": {
"description": "Map zoom level (0..18)",
"type": "number"
},
"style": {
"description": "Name of the Map style. Uses 'osm-intl' by default. Also supports 'osm' style without labels (waiting for server update)",
"type": "string"
},
"wdqs": {
"description": "An optional Wikidata query to use instead of the data - the query would generate a list of items just like data, but it must contain a \"coord\" field with the location",
"type": "string"
},
"colorScaleField": {
"description": "If given, this data field will be used to make dots of different color, one color per unique value of this field",
"type": "string"
},
"minimap": {
"description": "If set, 0 or false will always hide the map, and 1 or true will always show it. Make sure the map is big enough include the minimap. By default, the map will be shown for zoom levels 5+ if the map is sufficiently large",
"type": "boolean"
}
},
"paramOrder": [
"1",
"width",
"height",
"padding",
"lat",
"lon",
"zoom",
"style",
"wdqs",
"colorScaleField",
"minimap"
],
"description": "Shows an image of a map, and draws user-specified images/icons on top of it using latitude/longitude coordinates."
}
</templatedata>
Two markers with labels - one as diamond shape, one uses an image from Commons Text label can be customized with all of Vega text mark parameters by prepending "text" to their name
{{Graph:Streetmapwithmarks/doc|lat=40.816667|lon=14.433333|zoom=6|{"lat":40.816667,"lon":14.433333,"shape":"diamond","size":70,"offsetY":-10,"text":"Mount Vesuvius","textFontWeight":"bold","textFontSize":16,"textColor":"#2A4B8D"},{"lat":40.948333,"lon":15.635556,"img":"Volcano red 32x32.svg","width":16,"height":16,"offsetY":-20,"text":"Mount Vulture","textFontWeight":"bold","textFontSize":16,"textColor":"#2A4B8D"}}}
Two markers with labels - one as diamond shape, one uses an image from Commons Text label can be customized with all of Vega text mark parameters by prepending "text" to their name
{{Graph:Streetmapwithmarks/doc|lat=40.816667|lon=14.433333|zoom=6|{"lat":40.816667,"lon":14.433333,"shape":"diamond","size":70,"offsetY":-10,"text":"Mount Vesuvius","textFontWeight":"bold","textFontSize":16,"textColor":"#2A4B8D"},{"lat":40.948333,"lon":15.635556,"img":"Volcano red 32x32.svg","width":16,"height":16,"offsetY":-20,"text":"Mount Vulture","textFontWeight":"bold","textFontSize":16,"textColor":"#2A4B8D"}}}
Show all Armenian heritage sites, by querying it from Wikidata The query result should have the same columns (fields) as in the other examples (text, img, ...), except coordinates should be returned as coord column
{{Graph:Streetmapwithmarks/doc|lat=40.347|lon=47.260|zoom=6|colorScaleField=type|wdqs=# Each location should show only once. This query may output all the same values as in the other examples, such as "text", "img", and others.SELECT(SAMPLE(?coord)as?coord)(SAMPLE(?type)as?type)WHERE{?itemwdt:P3170?heritageId.?itemwdt:P625?coord.?itemwdt:P31?type.}GROUP BY?item}}
The data template parameter must be a comma separated list of "JSON" objects. Each object starts with a "{", has a list of comma separated list of key-value pairs, and ends with a "}". The key may be one of the following values (used no more than once per each object):
Radial positioning of the label relative to the marker
font, fontSize, fontWeight, fontStyle
Font name, size, boldness, and style
Image markers
img
image, e.g. Volcano red 32x32.svg
height, width
Size of the image
offsetX, offsetY
Shift the center of the image on the map
<templatedata>
{
"params": {
"1": {
"label": "data",
"description": "Comma separated list of JSON objects that describing what data to draw on the map",
"type": "string",
"suggested": true
},
"width": {
"description": "Total width of the graph",
"type": "number"
},
"height": {
"description": "Total height of the graph",
"type": "number",
"default": "Half of the width"
},
"padding": {
"type": "number"
},
"lat": {
"description": "Latitude of the map's center",
"type": "number"
},
"lon": {
"description": "Longitude of the map's center",
"type": "number"
},
"zoom": {
"description": "Map zoom level (0..18)",
"type": "number"
},
"style": {
"description": "Name of the Map style. Uses 'osm-intl' by default. Also supports 'osm' style without labels (waiting for server update)",
"type": "string"
},
"wdqs": {
"description": "An optional Wikidata query to use instead of the data - the query would generate a list of items just like data, but it must contain a \"coord\" field with the location",
"type": "string"
},
"colorScaleField": {
"description": "If given, this data field will be used to make dots of different color, one color per unique value of this field",
"type": "string"
},
"minimap": {
"description": "If set, 0 or false will always hide the map, and 1 or true will always show it. Make sure the map is big enough include the minimap. By default, the map will be shown for zoom levels 5+ if the map is sufficiently large",
"type": "boolean"
}
},
"paramOrder": [
"1",
"width",
"height",
"padding",
"lat",
"lon",
"zoom",
"style",
"wdqs",
"colorScaleField",
"minimap"
],
"description": "Shows an image of a map, and draws user-specified images/icons on top of it using latitude/longitude coordinates."
Two markers with labels - one as diamond shape, one uses an image from Commons Text label can be customized with all of Vega text mark parameters by prepending "text" to their name
{{Graph:Streetmapwithmarks/doc|lat=40.816667|lon=14.433333|zoom=6|{"lat":40.816667,"lon":14.433333,"shape":"diamond","size":70,"offsetY":-10,"text":"Mount Vesuvius","textFontWeight":"bold","textFontSize":16,"textColor":"#2A4B8D"},{"lat":40.948333,"lon":15.635556,"img":"Volcano red 32x32.svg","width":16,"height":16,"offsetY":-20,"text":"Mount Vulture","textFontWeight":"bold","textFontSize":16,"textColor":"#2A4B8D"}}}
Show all Armenian heritage sites, by querying it from Wikidata The query result should have the same columns (fields) as in the other examples (text, img, ...), except coordinates should be returned as coord column
{{Graph:Streetmapwithmarks/doc|lat=40.347|lon=47.260|zoom=6|colorScaleField=type|wdqs=# Each location should show only once. This query may output all the same values as in the other examples, such as "text", "img", and others.SELECT(SAMPLE(?coord)as?coord)(SAMPLE(?type)as?type)WHERE{?itemwdt:P3170?heritageId.?itemwdt:P625?coord.?itemwdt:P31?type.}GROUP BY?item}}
The data template parameter must be a comma separated list of "JSON" objects. Each object starts with a "{", has a list of comma separated list of key-value pairs, and ends with a "}". The key may be one of the following values (used no more than once per each object):
Radial positioning of the label relative to the marker
font, fontSize, fontWeight, fontStyle
Font name, size, boldness, and style
Image markers
img
image, e.g. Volcano red 32x32.svg
height, width
Size of the image
offsetX, offsetY
Shift the center of the image on the map
<templatedata>
{
"params": {
"1": {
"label": "data",
"description": "Comma separated list of JSON objects that describing what data to draw on the map",
"type": "string",
"suggested": true
},
"width": {
"description": "Total width of the graph",
"type": "number"
},
"height": {
"description": "Total height of the graph",
"type": "number",
"default": "Half of the width"
},
"padding": {
"type": "number"
},
"lat": {
"description": "Latitude of the map's center",
"type": "number"
},
"lon": {
"description": "Longitude of the map's center",
"type": "number"
},
"zoom": {
"description": "Map zoom level (0..18)",
"type": "number"
},
"style": {
"description": "Name of the Map style. Uses 'osm-intl' by default. Also supports 'osm' style without labels (waiting for server update)",
"type": "string"
},
"wdqs": {
"description": "An optional Wikidata query to use instead of the data - the query would generate a list of items just like data, but it must contain a \"coord\" field with the location",
"type": "string"
},
"colorScaleField": {
"description": "If given, this data field will be used to make dots of different color, one color per unique value of this field",
"type": "string"
},
"minimap": {
"description": "If set, 0 or false will always hide the map, and 1 or true will always show it. Make sure the map is big enough include the minimap. By default, the map will be shown for zoom levels 5+ if the map is sufficiently large",
"type": "boolean"
}
},
"paramOrder": [
"1",
"width",
"height",
"padding",
"lat",
"lon",
"zoom",
"style",
"wdqs",
"colorScaleField",
"minimap"
],
"description": "Shows an image of a map, and draws user-specified images/icons on top of it using latitude/longitude coordinates."
Two markers with labels - one as diamond shape, one uses an image from Commons Text label can be customized with all of Vega text mark parameters by prepending "text" to their name
{{Graph:Streetmapwithmarks/doc|lat=40.816667|lon=14.433333|zoom=6|{"lat":40.816667,"lon":14.433333,"shape":"diamond","size":70,"offsetY":-10,"text":"Mount Vesuvius","textFontWeight":"bold","textFontSize":16,"textColor":"#2A4B8D"},{"lat":40.948333,"lon":15.635556,"img":"Volcano red 32x32.svg","width":16,"height":16,"offsetY":-20,"text":"Mount Vulture","textFontWeight":"bold","textFontSize":16,"textColor":"#2A4B8D"}}}
Show all Armenian heritage sites, by querying it from Wikidata The query result should have the same columns (fields) as in the other examples (text, img, ...), except coordinates should be returned as coord column
{{Graph:Streetmapwithmarks/doc|lat=40.347|lon=47.260|zoom=6|colorScaleField=type|wdqs=# Each location should show only once. This query may output all the same values as in the other examples, such as "text", "img", and others.SELECT(SAMPLE(?coord)as?coord)(SAMPLE(?type)as?type)WHERE{?itemwdt:P3170?heritageId.?itemwdt:P625?coord.?itemwdt:P31?type.}GROUP BY?item}}
The data template parameter must be a comma separated list of "JSON" objects. Each object starts with a "{", has a list of comma separated list of key-value pairs, and ends with a "}". The key may be one of the following values (used no more than once per each object):
Radial positioning of the label relative to the marker
font, fontSize, fontWeight, fontStyle
Font name, size, boldness, and style
Image markers
img
image, e.g. Volcano red 32x32.svg
height, width
Size of the image
offsetX, offsetY
Shift the center of the image on the map
<templatedata>
{
"params": {
"1": {
"label": "data",
"description": "Comma separated list of JSON objects that describing what data to draw on the map",
"type": "string",
"suggested": true
},
"width": {
"description": "Total width of the graph",
"type": "number"
},
"height": {
"description": "Total height of the graph",
"type": "number",
"default": "Half of the width"
},
"padding": {
"type": "number"
},
"lat": {
"description": "Latitude of the map's center",
"type": "number"
},
"lon": {
"description": "Longitude of the map's center",
"type": "number"
},
"zoom": {
"description": "Map zoom level (0..18)",
"type": "number"
},
"style": {
"description": "Name of the Map style. Uses 'osm-intl' by default. Also supports 'osm' style without labels (waiting for server update)",
"type": "string"
},
"wdqs": {
"description": "An optional Wikidata query to use instead of the data - the query would generate a list of items just like data, but it must contain a \"coord\" field with the location",
"type": "string"
},
"colorScaleField": {
"description": "If given, this data field will be used to make dots of different color, one color per unique value of this field",
"type": "string"
},
"minimap": {
"description": "If set, 0 or false will always hide the map, and 1 or true will always show it. Make sure the map is big enough include the minimap. By default, the map will be shown for zoom levels 5+ if the map is sufficiently large",
"type": "boolean"
}
},
"paramOrder": [
"1",
"width",
"height",
"padding",
"lat",
"lon",
"zoom",
"style",
"wdqs",
"colorScaleField",
"minimap"
],
"description": "Shows an image of a map, and draws user-specified images/icons on top of it using latitude/longitude coordinates."
}
</templatedata>
Show all Armenian heritage sites, by querying it from Wikidata The query result should have the same columns (fields) as in the other examples (text, img, ...), except coordinates should be returned as coord column
{{Graph:Streetmapwithmarks/doc|lat=40.347|lon=47.260|zoom=6|colorScaleField=type|wdqs=# Each location should show only once. This query may output all the same values as in the other examples, such as "text", "img", and others.SELECT(SAMPLE(?coord)as?coord)(SAMPLE(?type)as?type)WHERE{?itemwdt:P3170?heritageId.?itemwdt:P625?coord.?itemwdt:P31?type.}GROUP BY?item}}
Two markers with labels - one as diamond shape, one uses an image from Commons Text label can be customized with all of Vega text mark parameters by prepending "text" to their name
{{Graph:Streetmapwithmarks/doc|lat=40.816667|lon=14.433333|zoom=6|{"lat":40.816667,"lon":14.433333,"shape":"diamond","size":70,"offsetY":-10,"text":"Mount Vesuvius","textFontWeight":"bold","textFontSize":16,"textColor":"#2A4B8D"},{"lat":40.948333,"lon":15.635556,"img":"Volcano red 32x32.svg","width":16,"height":16,"offsetY":-20,"text":"Mount Vulture","textFontWeight":"bold","textFontSize":16,"textColor":"#2A4B8D"}}}
Show all Armenian heritage sites, by querying it from Wikidata The query result should have the same columns (fields) as in the other examples (text, img, ...), except coordinates should be returned as coord column
{{Graph:Streetmapwithmarks/doc|lat=40.347|lon=47.260|zoom=6|colorScaleField=type|wdqs=# Each location should show only once. This query may output all the same values as in the other examples, such as "text", "img", and others.SELECT(SAMPLE(?coord)as?coord)(SAMPLE(?type)as?type)WHERE{?itemwdt:P3170?heritageId.?itemwdt:P625?coord.?itemwdt:P31?type.}GROUP BY?item}}
The data template parameter must be a comma separated list of "JSON" objects. Each object starts with a "{", has a list of comma separated list of key-value pairs, and ends with a "}". The key may be one of the following values (used no more than once per each object):
Radial positioning of the label relative to the marker
font, fontSize, fontWeight, fontStyle
Font name, size, boldness, and style
Image markers
img
image, e.g. Volcano red 32x32.svg
height, width
Size of the image
offsetX, offsetY
Shift the center of the image on the map
<templatedata>
{
"params": {
"1": {
"label": "data",
"description": "Comma separated list of JSON objects that describing what data to draw on the map",
"type": "string",
"suggested": true
},
"width": {
"description": "Total width of the graph",
"type": "number"
},
"height": {
"description": "Total height of the graph",
"type": "number",
"default": "Half of the width"
},
"padding": {
"type": "number"
},
"lat": {
"description": "Latitude of the map's center",
"type": "number"
},
"lon": {
"description": "Longitude of the map's center",
"type": "number"
},
"zoom": {
"description": "Map zoom level (0..18)",
"type": "number"
},
"style": {
"description": "Name of the Map style. Uses 'osm-intl' by default. Also supports 'osm' style without labels (waiting for server update)",
"type": "string"
},
"wdqs": {
"description": "An optional Wikidata query to use instead of the data - the query would generate a list of items just like data, but it must contain a \"coord\" field with the location",
"type": "string"
},
"colorScaleField": {
"description": "If given, this data field will be used to make dots of different color, one color per unique value of this field",
"type": "string"
},
"minimap": {
"description": "If set, 0 or false will always hide the map, and 1 or true will always show it. Make sure the map is big enough include the minimap. By default, the map will be shown for zoom levels 5+ if the map is sufficiently large",
"type": "boolean"
}
},
"paramOrder": [
"1",
"width",
"height",
"padding",
"lat",
"lon",
"zoom",
"style",
"wdqs",
"colorScaleField",
"minimap"
],
"description": "Shows an image of a map, and draws user-specified images/icons on top of it using latitude/longitude coordinates."
Two markers with labels - one as diamond shape, one uses an image from Commons Text label can be customized with all of Vega text mark parameters by prepending "text" to their name
{{Graph:Streetmapwithmarks/doc|lat=40.816667|lon=14.433333|zoom=6|{"lat":40.816667,"lon":14.433333,"shape":"diamond","size":70,"offsetY":-10,"text":"Mount Vesuvius","textFontWeight":"bold","textFontSize":16,"textColor":"#2A4B8D"},{"lat":40.948333,"lon":15.635556,"img":"Volcano red 32x32.svg","width":16,"height":16,"offsetY":-20,"text":"Mount Vulture","textFontWeight":"bold","textFontSize":16,"textColor":"#2A4B8D"}}}
Show all Armenian heritage sites, by querying it from Wikidata The query result should have the same columns (fields) as in the other examples (text, img, ...), except coordinates should be returned as coord column
{{Graph:Streetmapwithmarks/doc|lat=40.347|lon=47.260|zoom=6|colorScaleField=type|wdqs=# Each location should show only once. This query may output all the same values as in the other examples, such as "text", "img", and others.SELECT(SAMPLE(?coord)as?coord)(SAMPLE(?type)as?type)WHERE{?itemwdt:P3170?heritageId.?itemwdt:P625?coord.?itemwdt:P31?type.}GROUP BY?item}}
The data template parameter must be a comma separated list of "JSON" objects. Each object starts with a "{", has a list of comma separated list of key-value pairs, and ends with a "}". The key may be one of the following values (used no more than once per each object):
Radial positioning of the label relative to the marker
font, fontSize, fontWeight, fontStyle
Font name, size, boldness, and style
Image markers
img
image, e.g. Volcano red 32x32.svg
height, width
Size of the image
offsetX, offsetY
Shift the center of the image on the map
<templatedata>
{
"params": {
"1": {
"label": "data",
"description": "Comma separated list of JSON objects that describing what data to draw on the map",
"type": "string",
"suggested": true
},
"width": {
"description": "Total width of the graph",
"type": "number"
},
"height": {
"description": "Total height of the graph",
"type": "number",
"default": "Half of the width"
},
"padding": {
"type": "number"
},
"lat": {
"description": "Latitude of the map's center",
"type": "number"
},
"lon": {
"description": "Longitude of the map's center",
"type": "number"
},
"zoom": {
"description": "Map zoom level (0..18)",
"type": "number"
},
"style": {
"description": "Name of the Map style. Uses 'osm-intl' by default. Also supports 'osm' style without labels (waiting for server update)",
"type": "string"
},
"wdqs": {
"description": "An optional Wikidata query to use instead of the data - the query would generate a list of items just like data, but it must contain a \"coord\" field with the location",
"type": "string"
},
"colorScaleField": {
"description": "If given, this data field will be used to make dots of different color, one color per unique value of this field",
"type": "string"
},
"minimap": {
"description": "If set, 0 or false will always hide the map, and 1 or true will always show it. Make sure the map is big enough include the minimap. By default, the map will be shown for zoom levels 5+ if the map is sufficiently large",
"type": "boolean"
}
},
"paramOrder": [
"1",
"width",
"height",
"padding",
"lat",
"lon",
"zoom",
"style",
"wdqs",
"colorScaleField",
"minimap"
],
"description": "Shows an image of a map, and draws user-specified images/icons on top of it using latitude/longitude coordinates."
}
</templatedata>
The data template parameter must be a comma separated list of "JSON" objects. Each object starts with a "{", has a list of comma separated list of key-value pairs, and ends with a "}". The key may be one of the following values (used no more than once per each object):
Radial positioning of the label relative to the marker
font, fontSize, fontWeight, fontStyle
Font name, size, boldness, and style
Image markers
img
image, e.g. Volcano red 32x32.svg
height, width
Size of the image
offsetX, offsetY
Shift the center of the image on the map
<templatedata>
{
"params": {
"1": {
"label": "data",
"description": "Comma separated list of JSON objects that describing what data to draw on the map",
"type": "string",
"suggested": true
},
"width": {
"description": "Total width of the graph",
"type": "number"
},
"height": {
"description": "Total height of the graph",
"type": "number",
"default": "Half of the width"
},
"padding": {
"type": "number"
},
"lat": {
"description": "Latitude of the map's center",
"type": "number"
},
"lon": {
"description": "Longitude of the map's center",
"type": "number"
},
"zoom": {
"description": "Map zoom level (0..18)",
"type": "number"
},
"style": {
"description": "Name of the Map style. Uses 'osm-intl' by default. Also supports 'osm' style without labels (waiting for server update)",
"type": "string"
},
"wdqs": {
"description": "An optional Wikidata query to use instead of the data - the query would generate a list of items just like data, but it must contain a \"coord\" field with the location",
"type": "string"
},
"colorScaleField": {
"description": "If given, this data field will be used to make dots of different color, one color per unique value of this field",
"type": "string"
},
"minimap": {
"description": "If set, 0 or false will always hide the map, and 1 or true will always show it. Make sure the map is big enough include the minimap. By default, the map will be shown for zoom levels 5+ if the map is sufficiently large",
"type": "boolean"
}
},
"paramOrder": [
"1",
"width",
"height",
"padding",
"lat",
"lon",
"zoom",
"style",
"wdqs",
"colorScaleField",
"minimap"
],
"description": "Shows an image of a map, and draws user-specified images/icons on top of it using latitude/longitude coordinates."