@superrouteca/smap-cesium 1.6.17 → 1.6.18
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 +4 -0
- package/package.json +2 -2
- package/src/index.js +1 -1
- package/src/session.js +1 -1
- package/types/index.d.ts +2 -2
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superrouteca/smap-cesium",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.18",
|
|
4
4
|
"description": "sMap for CesiumJS: sMap imagery (any scheme, custom style and language) with keys, tokens and node failover, sMap layers as Cesium entities, and Cesium data (CZML, KML, GeoJSON) on sMap maps.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"author": "Goodneo Solutions",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"typecheck": "tsc -p test/tsconfig.json"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@superrouteca/smap": "1.6.
|
|
50
|
+
"@superrouteca/smap": "1.6.18"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"cesium": "^1.120.0"
|
package/src/index.js
CHANGED
|
@@ -4,4 +4,4 @@ export { createImageryProvider, createWmtsImageryProvider, createBaseLayer, setB
|
|
|
4
4
|
export { addSMapData, entitiesToGeoJSON, simplestyleFor, toFeatures } from './entities.js';
|
|
5
5
|
export { czmlToGeoJSON, czmlPositions, cartesianToDegrees, addCesiumData } from './data.js';
|
|
6
6
|
export { addPlanEditor } from './plan.js';
|
|
7
|
-
export const version = '1.6.
|
|
7
|
+
export const version = '1.6.18';
|
package/src/session.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
import SMapClient from '@superrouteca/smap/client';
|
|
8
8
|
import { styleUrl as sdkStyleUrl, rasterUrl as sdkRasterUrl, rasterTileJsonUrl as sdkRasterTileJsonUrl } from '@superrouteca/smap';
|
|
9
9
|
|
|
10
|
-
export const FLAVORS = ['light', 'white', 'grayscale', 'dark', 'black'];
|
|
10
|
+
export const FLAVORS = ['light', 'white', 'grayscale', 'dark', 'black', 'navigation', 'navigation-night'];
|
|
11
11
|
export const ATTRIBUTION = '© OpenStreetMap contributors';
|
|
12
12
|
export const DEFAULT_BASE = 'https://tile.srsr.ca';
|
|
13
13
|
|
package/types/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import type {
|
|
|
11
11
|
export * from './data.js';
|
|
12
12
|
|
|
13
13
|
/** A colour scheme, or a saved custom style as `custom:<id>`. */
|
|
14
|
-
export type StyleName = 'light' | 'white' | 'grayscale' | 'dark' | 'black' | `custom:${string}`;
|
|
14
|
+
export type StyleName = 'light' | 'white' | 'grayscale' | 'dark' | 'black' | 'navigation' | 'navigation-night' | `custom:${string}`;
|
|
15
15
|
|
|
16
16
|
export interface SessionOptions {
|
|
17
17
|
/** The public sMap address (default https://tile.srsr.ca). */
|
|
@@ -56,7 +56,7 @@ export declare class Session {
|
|
|
56
56
|
close(): void;
|
|
57
57
|
}
|
|
58
58
|
export declare function createSession(options?: SessionOptions | Session): Session;
|
|
59
|
-
export declare const FLAVORS: Array<'light' | 'white' | 'grayscale' | 'dark' | 'black'>;
|
|
59
|
+
export declare const FLAVORS: Array<'light' | 'white' | 'grayscale' | 'dark' | 'black' | 'navigation' | 'navigation-night'>;
|
|
60
60
|
export declare const ATTRIBUTION: string;
|
|
61
61
|
export declare const version: string;
|
|
62
62
|
|