@superrouteca/smap-arcgis 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-arcgis",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.18",
|
|
4
4
|
"description": "sMap for the ArcGIS Maps SDK for JavaScript: sMap basemaps (vector and raster), sMap layers as graphics, and ArcGIS REST services on sMap maps.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"author": "Goodneo Solutions",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"typecheck": "tsc -p test/tsconfig.json"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@superrouteca/smap": "1.6.
|
|
48
|
+
"@superrouteca/smap": "1.6.18"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"@arcgis/core": "^5.0.0"
|
package/src/index.js
CHANGED
|
@@ -5,4 +5,4 @@ export { toArcGISStyle, styleLanguage, nameExpression } from './style.js';
|
|
|
5
5
|
export { createGraphicsLayer, symbolFor, toArcGisGeometries, toFeatures, zoomToScale } from './graphics.js';
|
|
6
6
|
export { addArcGisService, queryFeatures, serviceInfo, parseServiceUrl, withToken, symbolToSimplestyle, rendererStyle } from './services.js';
|
|
7
7
|
export { addPlanEditor } from './plan.js';
|
|
8
|
-
export const version = '1.6.
|
|
8
|
+
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 { LayerData, PointOptions, LineOptions, PolygonOptions, GeoJSONFeatu
|
|
|
11
11
|
export * from './services.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
|
/** How the adapter reaches sMap: the JS client's options, or a client of your own. */
|
|
17
17
|
export interface SessionOptions {
|
|
@@ -57,7 +57,7 @@ export declare class Session {
|
|
|
57
57
|
close(): void;
|
|
58
58
|
}
|
|
59
59
|
export declare function createSession(options?: SessionOptions | Session): Session;
|
|
60
|
-
export declare const FLAVORS: Array<'light' | 'white' | 'grayscale' | 'dark' | 'black'>;
|
|
60
|
+
export declare const FLAVORS: Array<'light' | 'white' | 'grayscale' | 'dark' | 'black' | 'navigation' | 'navigation-night'>;
|
|
61
61
|
export declare const ATTRIBUTION: string;
|
|
62
62
|
export declare const version: string;
|
|
63
63
|
|