terriajs
Version:
Geospatial data visualization platform.
36 lines • 1.18 kB
JSON
{
"type": "object",
"defaultProperties": [
"name",
"type",
"url"
],
"properties": {
"data": {
"type": "object",
"title": "Data",
"description": "The GeoJSON data, represented as a binary blob, object literal, or a Promise for one of those things.\rIf this property is set, CatalogItem's url is ignored."
},
"dataSourceUrl": {
"type": "string",
"title": "Data source URL",
"description": "The URL from which the GeoJsonCatalogItem's data was obtained. This will be used\rto resolve any resources linked in the GeoJSON file, if any."
},
"style": {
"type": "object",
"title": "Style",
"description": "An object of style information which will be used instead of the default, but won't override\rstyles set on individual GeoJSON features. Styles follow the SimpleStyle spec: https://github.com/mapbox/simplestyle-spec/tree/master/1.1.0\r`marker-opacity` and numeric values for `marker-size` are also supported."
}
},
"allOf": [
{
"$ref": "CatalogItem.json"
},
{
"$ref": "DataSourceCatalogItem.json"
},
{
"$ref": "CatalogMember.json"
}
]
}