@metoceanapi/wxtiles-leaflet 2.0.9 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/dist/es/index.js +2 -2
- package/dist/es/wxAPI/WxDataSetManager.d.ts +9 -2
- package/dist/web/index.js +2 -2
- package/docs/docs/assets/search.js +1 -1
- package/docs/docs/classes/WxAPI.html +3 -3
- package/docs/docs/classes/WxDataSetManager.html +31 -22
- package/docs/docs/interfaces/WxDataSetManagerOptions.html +10 -1
- package/docs/script/script.js +4 -4
- package/package.json +1 -1
- package/src_example/start.ts +2 -2
package/package.json
CHANGED
package/src_example/start.ts
CHANGED
|
@@ -37,7 +37,7 @@ export async function start() {
|
|
|
37
37
|
// let variable = 'wave.direction.mean';
|
|
38
38
|
|
|
39
39
|
// let datasetName = 'obs-radar.rain.nzl.national';
|
|
40
|
-
// let
|
|
40
|
+
// let variable = 'reflectivity';
|
|
41
41
|
|
|
42
42
|
// get datasetName from URL
|
|
43
43
|
const urlParams = window.location.toString().split('##')[1];
|
|
@@ -62,7 +62,7 @@ export async function start() {
|
|
|
62
62
|
console.log(e);
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
flyTo(map, zoom, lng, lat, bearing, pitch);
|
|
65
|
+
params && flyTo(map, zoom, lng, lat, bearing, pitch); // if no params stay at default position set in initFrameWork()
|
|
66
66
|
|
|
67
67
|
// const sth = { style: {} };
|
|
68
68
|
map.on('zoom', () => setURL(map, time, datasetName, variable, sth.style));
|