-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Vector tile source draft * Working example to be polished * Linter * Python API + tests * Revert changes on test file * Remove rogue cell * Update Playwright Snapshots * Fix title * Fix descriptions * Fix edit form for Vector layer * Remove comment --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
e52fe9f
commit c2058ea
Showing
17 changed files
with
369 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
"layers": { | ||
"148f2fb3-3077-4dcb-8d70-831570d5021f": { | ||
"type": "VectorLayer", | ||
"name": "Vector Tile Source Layer", | ||
"parameters": { | ||
"opacity": 1.0, | ||
"source": "7a7ee6fd-c1e2-4c5d-a4e2-a7974db138a4", | ||
"sourceLayer": "bingmlbuildings", | ||
"color": "green", | ||
"type": "fill" | ||
}, | ||
"visible": true | ||
}, | ||
"f99eb7b0-5e38-4078-b310-36a0746472aa": { | ||
"parameters": { | ||
"source": "ed8628b0-3e0a-45d5-9cd0-65e2a7dd61f5" | ||
}, | ||
"visible": true, | ||
"type": "RasterLayer", | ||
"name": "OpenStreetMap.Mapnik Layer" | ||
} | ||
}, | ||
"sources": { | ||
"7a7ee6fd-c1e2-4c5d-a4e2-a7974db138a4": { | ||
"name": "Vector Tile Source", | ||
"parameters": { | ||
"minZoom": 13.0, | ||
"url": "https://planetarycomputer.microsoft.com/api/data/v1/vector/collections/ms-buildings/tilesets/global-footprints/tiles/{z}/{x}/{y}", | ||
"maxZoom": 13.0 | ||
}, | ||
"type": "VectorTileSource" | ||
}, | ||
"ed8628b0-3e0a-45d5-9cd0-65e2a7dd61f5": { | ||
"parameters": { | ||
"provider": "OpenStreetMap", | ||
"url": "https://tile.openstreetmap.org/{z}/{x}/{y}.png", | ||
"maxZoom": 19.0, | ||
"attribution": "(C) OpenStreetMap contributors", | ||
"minZoom": 0.0, | ||
"urlParameters": {} | ||
}, | ||
"type": "RasterSource", | ||
"name": "OpenStreetMap.Mapnik" | ||
} | ||
}, | ||
"options": { | ||
"longitude": -88.1392955068439, | ||
"zoom": 13.915138763623208, | ||
"latitude": 41.932061631424034 | ||
}, | ||
"layerTree": [ | ||
"f99eb7b0-5e38-4078-b310-36a0746472aa", | ||
"148f2fb3-3077-4dcb-8d70-831570d5021f" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"type": "object", | ||
"description": "VectorTileSource", | ||
"title": "IVectorTileSource", | ||
"required": ["url", "maxZoom", "minZoom"], | ||
"additionalProperties": false, | ||
"properties": { | ||
"url": { | ||
"type": "string", | ||
"description": "The url to the tile provider" | ||
}, | ||
"maxZoom": { | ||
"type": "number", | ||
"minimum": 0, | ||
"maximum": 24, | ||
"description": "The maximum zoom level for the vector source" | ||
}, | ||
"minZoom": { | ||
"type": "number", | ||
"minimum": 0, | ||
"maximum": 24, | ||
"description": "The minimum zoom level for the vector source" | ||
}, | ||
"attribution": { | ||
"type": "string", | ||
"description": "The attribution for the vector source" | ||
}, | ||
"provider": { | ||
"type": "string", | ||
"readOnly": true, | ||
"description": "The map provider" | ||
}, | ||
"urlParameters": { | ||
"type": "object", | ||
"additionalProperties": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.