-
Notifications
You must be signed in to change notification settings - Fork 1
feat(style): Add aerial style config and allow swap-able TileMatrix in the source urls. #916
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Wentao-Kuang
wants to merge
15
commits into
master
Choose a base branch
from
feat/aerial-style-config
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 7 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
f88e5ae
Add aerial style config and allow swapable tileMatrix in the source url.
Wentao-Kuang b1f4444
Add missing name in style
Wentao-Kuang 28eb90d
Fix format
Wentao-Kuang f5c2fcf
Update config/style/aerial.json
Wentao-Kuang c8ce0ca
Update source name
Wentao-Kuang 2122562
Add a max zoom
Wentao-Kuang b74c9e4
Update config/style/aerial.json
Wentao-Kuang e06d943
Update config/style/aerial.json
Wentao-Kuang 0bccba9
Add terrain into styles
Wentao-Kuang a530be5
Fix lint
Wentao-Kuang 2dacd2d
Fix the maxzoom
Wentao-Kuang 9450715
Update cli version to test screenshot
Wentao-Kuang c5b9d3f
Merge branch 'master' into feat/aerial-style-config
Wentao-Kuang 852dc38
Update .github/workflows/build.yml
Wentao-Kuang c7295c3
Merge branch 'master' into feat/aerial-style-config
Wentao-Kuang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,25 @@ | ||
| { | ||
| "id": "st_aerial", | ||
| "layers": [ | ||
| { | ||
| "id": "Aerial-Imagery", | ||
| "source": "LINZ Basemaps", | ||
| "type": "raster" | ||
| } | ||
| ], | ||
| "name": "aerial", | ||
| "sources": { | ||
| "LINZ-Basemaps": { | ||
| "tileSize": 256, | ||
| "tiles": ["/v1/tiles/aerial/{tileMatrix}/{z}/{x}/{y}.webp"], | ||
| "type": "raster" | ||
| }, | ||
| "LINZ-Terrain": { | ||
| "maxzoom": 18, | ||
| "tileSize": 256, | ||
| "tiles": ["/v1/tiles/elevation/{tileMatrix}/{z}/{x}/{y}.png?pipeline=terrain-rgb"], | ||
| "type": "raster-dem" | ||
| } | ||
| }, | ||
| "version": 8 | ||
| } | ||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.