Skip to content

Commit

Permalink
2487 config api for geojson (#2503)
Browse files Browse the repository at this point in the history
* 2487-Config API for GeoJson

* 2487-Config API for GeoJson

* 2487-Config API for GeoJson
  • Loading branch information
ychoquet authored Sep 24, 2024
1 parent 3afa375 commit 70c56b4
Show file tree
Hide file tree
Showing 17 changed files with 1,143 additions and 37 deletions.
55 changes: 55 additions & 0 deletions packages/geoview-core/public/configs/validator/08-geojson.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"map": {
"interaction": "dynamic",
"viewSettings": {
"projection": 3978
},
"basemapOptions": {
"basemapId": "imagery",
"shaded": false,
"labeled": false
},
"listOfGeoviewLayerConfig": [
{
"geoviewLayerId": "geojsonLYR1",
"geoviewLayerName": { "en": "GeoJSON Sample" },
"metadataAccessPath": { "en": "./datasets/geojson/metadata-new.meta" },
"geoviewLayerType": "GeoJSON",
"listOfLayerEntryConfig": [
{
"layerId": "polygons.json",
"layerName": { "en": "Polygons" },
"layerFilter": "creationDate >= date \\'2020/02/15\\'"
},
{
"layerId": "lines.json",
"layerName": { "en": "Lines" },
"layerFilter": "creationDate >= date \\'2020-05-28T12:00:00-05:00\\'"
},
{
"isLayerGroup": true,
"layerId": "point-feature-group",
"layerName": { "en": "point-feature-group" },
"listOfLayerEntryConfig": [
{
"layerId": "icon_points.json",
"layerName": { "en": "Icons" },
"initialSettings": { "states": {"visible" : false} },
"layerFilter": "creationDate >= date \\'2020-01-14T12:00:01-05:00\\'"
},
{
"layerId": "points.json",
"layerName": { "en": "Points" },
"layerFilter": "creationDate >= date \\'2019-02-15T22:00:00Z\\'"
}
]
}
]
}
]
},
"components": ["overview-map"],
"overviewMap": {"hideOnZoom": 7},
"corePackages": [],
"theme": "geo.ca"
}
Loading

0 comments on commit 70c56b4

Please sign in to comment.