diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2016-07-12 10:57:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-12 10:57:18 -0700 |
commit | 08d0a9a0e2e771b87018bcb3d4d124c52fed1689 (patch) | |
tree | 98432ab1ef18401c7988c9d133181c3b6131e88f /platform/macos/app | |
parent | 63298066b1508a9546dbf61b86de718c5cbf57cf (diff) | |
download | qtlocation-mapboxgl-08d0a9a0e2e771b87018bcb3d4d124c52fed1689.tar.gz |
Quadkey tokens in tile URL templates, limited WMS support (#5628)
* [core] Quadkey tokens in tile URL templates
Fixes #5485.
* [core] WMS tokens in tile URL templates
Fixes #822.
* [macos] Added WMS debug style
Added a style to the macosapp resource bundle that can be used to test WMS support. To use it, zoom in to somewhere in New Jersey, then go to View ‣ Custom Style and enter “wms.json”.
Diffstat (limited to 'platform/macos/app')
-rw-r--r-- | platform/macos/app/wms.json | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/platform/macos/app/wms.json b/platform/macos/app/wms.json new file mode 100644 index 0000000000..e5fb236259 --- /dev/null +++ b/platform/macos/app/wms.json @@ -0,0 +1,21 @@ +{ + "version": 8, + "name": "WMS Test", + "sources": { + "wms-test": { + "type": "raster", + "tiles": [ + "https://geodata.state.nj.us/imagerywms/Natural2015?bbox={bbox-epsg-3857}&format=image/png&service=WMS&version=1.1.1&request=GetMap&srs=EPSG:3857&width=256&height=256&layers=Natural2015" + ], + "tileSize": 256 + } + }, + "layers": [{ + "id": "wms-test-layer", + "type": "raster", + "source": "wms-test", + "paint": { + "raster-fade-duration": 100 + } + }] +} |