@deck.gl/carto 9.0.0-alpha.5 → 9.0.0-alpha.7
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/dist/cartoRasterTile-worker.js +4 -14
- package/dist/cartoSpatialTile-worker.js +4 -14
- package/dist/cartoVectorTile-worker.js +4 -14
- package/dist/dist.dev.js +57 -55
- package/dist/es5/api/endpoints.js +41 -20
- package/dist/es5/api/endpoints.js.map +1 -1
- package/dist/es5/api/fetch-map.js +16 -18
- package/dist/es5/api/fetch-map.js.map +1 -1
- package/dist/es5/api/layer-map.js +1 -1
- package/dist/es5/api/layer-map.js.map +1 -1
- package/dist/es5/api/query.js +10 -7
- package/dist/es5/api/query.js.map +1 -1
- package/dist/es5/index.js +0 -7
- package/dist/es5/index.js.map +1 -1
- package/dist/es5/layers/schema/carto-raster-tile-loader.js +1 -1
- package/dist/es5/layers/schema/carto-spatial-tile-loader.js +1 -1
- package/dist/es5/layers/schema/carto-vector-tile-loader.js +1 -1
- package/dist/es5/layers/utils.js +1 -1
- package/dist/es5/layers/utils.js.map +1 -1
- package/dist/es5/sources/base-source.js.map +1 -1
- package/dist/es5/sources/boundary-query-source.js +4 -4
- package/dist/es5/sources/boundary-query-source.js.map +1 -1
- package/dist/es5/sources/boundary-table-source.js +4 -4
- package/dist/es5/sources/boundary-table-source.js.map +1 -1
- package/dist/es5/sources/index.js +0 -8
- package/dist/es5/sources/index.js.map +1 -1
- package/dist/esm/api/endpoints.js +30 -17
- package/dist/esm/api/endpoints.js.map +1 -1
- package/dist/esm/api/fetch-map.js +12 -14
- package/dist/esm/api/fetch-map.js.map +1 -1
- package/dist/esm/api/layer-map.js +1 -1
- package/dist/esm/api/layer-map.js.map +1 -1
- package/dist/esm/api/query.js +6 -4
- package/dist/esm/api/query.js.map +1 -1
- package/dist/esm/index.js +2 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/layers/schema/carto-raster-tile-loader.js +1 -1
- package/dist/esm/layers/schema/carto-spatial-tile-loader.js +1 -1
- package/dist/esm/layers/schema/carto-vector-tile-loader.js +1 -1
- package/dist/esm/layers/utils.js +1 -1
- package/dist/esm/layers/utils.js.map +1 -1
- package/dist/esm/sources/base-source.js.map +1 -1
- package/dist/esm/sources/boundary-query-source.js +4 -4
- package/dist/esm/sources/boundary-query-source.js.map +1 -1
- package/dist/esm/sources/boundary-table-source.js +4 -4
- package/dist/esm/sources/boundary-table-source.js.map +1 -1
- package/dist/esm/sources/index.js +0 -1
- package/dist/esm/sources/index.js.map +1 -1
- package/dist.min.js +40 -40
- package/package.json +10 -10
- package/src/api/endpoints.ts +48 -17
- package/src/api/fetch-map.ts +13 -18
- package/src/api/layer-map.ts +3 -1
- package/src/api/query.ts +8 -4
- package/src/index.ts +0 -4
- package/src/layers/utils.ts +1 -1
- package/src/sources/base-source.ts +0 -1
- package/src/sources/boundary-query-source.ts +7 -7
- package/src/sources/boundary-table-source.ts +7 -7
- package/src/sources/index.ts +0 -3
- package/src/sources/types.ts +87 -3
- package/typed/api/endpoints.d.ts +17 -6
- package/typed/api/endpoints.d.ts.map +1 -1
- package/typed/api/fetch-map.d.ts +2 -3
- package/typed/api/fetch-map.d.ts.map +1 -1
- package/typed/api/layer-map.d.ts +1 -1
- package/typed/api/layer-map.d.ts.map +1 -1
- package/typed/api/query.d.ts +1 -1
- package/typed/api/query.d.ts.map +1 -1
- package/typed/api/types.d.ts +19 -19
- package/typed/api/types.d.ts.map +1 -1
- package/typed/index.d.ts +3 -4
- package/typed/index.d.ts.map +1 -1
- package/typed/layers/h3-tile-layer.d.ts +2 -2
- package/typed/layers/h3-tile-layer.d.ts.map +1 -1
- package/typed/layers/h3-tileset-2d.d.ts +1 -1
- package/typed/layers/h3-tileset-2d.d.ts.map +1 -1
- package/typed/layers/point-label-layer.d.ts +2 -2
- package/typed/layers/point-label-layer.d.ts.map +1 -1
- package/typed/layers/quadbin-layer.d.ts +2 -2
- package/typed/layers/quadbin-layer.d.ts.map +1 -1
- package/typed/layers/quadbin-tile-layer.d.ts +2 -2
- package/typed/layers/quadbin-tile-layer.d.ts.map +1 -1
- package/typed/layers/quadbin-tileset-2d.d.ts +1 -1
- package/typed/layers/quadbin-tileset-2d.d.ts.map +1 -1
- package/typed/layers/raster-layer.d.ts +2 -2
- package/typed/layers/raster-layer.d.ts.map +1 -1
- package/typed/layers/raster-tile-layer.d.ts +2 -2
- package/typed/layers/raster-tile-layer.d.ts.map +1 -1
- package/typed/layers/schema/carto-raster-tile-loader.d.ts +1 -1
- package/typed/layers/schema/carto-raster-tile-loader.d.ts.map +1 -1
- package/typed/layers/schema/spatialjson-utils.d.ts +8 -8
- package/typed/layers/schema/spatialjson-utils.d.ts.map +1 -1
- package/typed/layers/spatial-index-tile-layer.d.ts +2 -2
- package/typed/layers/spatial-index-tile-layer.d.ts.map +1 -1
- package/typed/layers/vector-tile-layer.d.ts +3 -3
- package/typed/layers/vector-tile-layer.d.ts.map +1 -1
- package/typed/sources/base-source.d.ts.map +1 -1
- package/typed/sources/boundary-query-source.d.ts +3 -3
- package/typed/sources/boundary-query-source.d.ts.map +1 -1
- package/typed/sources/boundary-table-source.d.ts +3 -3
- package/typed/sources/boundary-table-source.d.ts.map +1 -1
- package/typed/sources/h3-query-source.d.ts +1 -1
- package/typed/sources/h3-query-source.d.ts.map +1 -1
- package/typed/sources/h3-table-source.d.ts +1 -1
- package/typed/sources/h3-table-source.d.ts.map +1 -1
- package/typed/sources/h3-tileset-source.d.ts +1 -1
- package/typed/sources/h3-tileset-source.d.ts.map +1 -1
- package/typed/sources/index.d.ts +0 -2
- package/typed/sources/index.d.ts.map +1 -1
- package/typed/sources/quadbin-query-source.d.ts +1 -1
- package/typed/sources/quadbin-query-source.d.ts.map +1 -1
- package/typed/sources/quadbin-table-source.d.ts +1 -1
- package/typed/sources/quadbin-table-source.d.ts.map +1 -1
- package/typed/sources/quadbin-tileset-source.d.ts +1 -1
- package/typed/sources/quadbin-tileset-source.d.ts.map +1 -1
- package/typed/sources/raster-source.d.ts +1 -1
- package/typed/sources/raster-source.d.ts.map +1 -1
- package/typed/sources/types.d.ts +91 -16
- package/typed/sources/types.d.ts.map +1 -1
- package/typed/sources/vector-query-source.d.ts +1 -1
- package/typed/sources/vector-query-source.d.ts.map +1 -1
- package/typed/sources/vector-table-source.d.ts +1 -1
- package/typed/sources/vector-table-source.d.ts.map +1 -1
- package/typed/sources/vector-tileset-source.d.ts +1 -1
- package/typed/sources/vector-tileset-source.d.ts.map +1 -1
- package/typed/style/palette.d.ts +1 -1
- package/typed/style/palette.d.ts.map +1 -1
- package/typed/style/utils.d.ts +1 -1
- package/typed/style/utils.d.ts.map +1 -1
- package/dist/es5/sources/boundary-tileset-source.js +0 -43
- package/dist/es5/sources/boundary-tileset-source.js.map +0 -1
- package/dist/esm/sources/boundary-tileset-source.js +0 -11
- package/dist/esm/sources/boundary-tileset-source.js.map +0 -1
- package/src/sources/boundary-tileset-source.ts +0 -14
- package/typed/sources/boundary-tileset-source.d.ts +0 -6
- package/typed/sources/boundary-tileset-source.d.ts.map +0 -1
package/typed/api/types.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SCALE_TYPE } from './layer-map';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
2
|
+
export type Format = 'json' | 'geojson' | 'tilejson';
|
|
3
|
+
export type MapType = 'boundary' | 'query' | 'table' | 'tileset' | 'raster';
|
|
4
|
+
export type RequestType = 'Map data' | 'Map instantiation' | 'Public map' | 'Tile stats' | 'SQL';
|
|
5
|
+
export type APIErrorContext = {
|
|
6
6
|
requestType: RequestType;
|
|
7
7
|
mapId?: string;
|
|
8
8
|
connection?: string;
|
|
@@ -29,20 +29,20 @@ export interface MapInstantiation extends MapInstantiationFormats {
|
|
|
29
29
|
size?: number;
|
|
30
30
|
schema: SchemaField[];
|
|
31
31
|
}
|
|
32
|
-
|
|
32
|
+
type MapInstantiationFormats = Record<Format, {
|
|
33
33
|
url: string[];
|
|
34
34
|
error?: any;
|
|
35
35
|
}>;
|
|
36
|
-
export
|
|
37
|
-
export
|
|
38
|
-
export
|
|
39
|
-
export
|
|
40
|
-
export
|
|
36
|
+
export type QueryParameterValue = string | number | boolean | Array<QueryParameterValue> | object;
|
|
37
|
+
export type NamedQueryParameter = Record<string, QueryParameterValue>;
|
|
38
|
+
export type PositionalQueryParameter = QueryParameterValue[];
|
|
39
|
+
export type QueryParameters = NamedQueryParameter | PositionalQueryParameter;
|
|
40
|
+
export type VisualChannelField = {
|
|
41
41
|
name: string;
|
|
42
42
|
type: string;
|
|
43
43
|
colorColumn?: string;
|
|
44
44
|
};
|
|
45
|
-
export
|
|
45
|
+
export type VisualChannels = {
|
|
46
46
|
colorField?: VisualChannelField;
|
|
47
47
|
colorScale?: SCALE_TYPE;
|
|
48
48
|
customMarkersField?: VisualChannelField;
|
|
@@ -58,21 +58,21 @@ export declare type VisualChannels = {
|
|
|
58
58
|
heightField?: VisualChannelField;
|
|
59
59
|
heightScale?: SCALE_TYPE;
|
|
60
60
|
};
|
|
61
|
-
export
|
|
61
|
+
export type ColorRange = {
|
|
62
62
|
category: string;
|
|
63
63
|
colors: string[];
|
|
64
64
|
colorMap: string[][] | undefined;
|
|
65
65
|
name: string;
|
|
66
66
|
type: string;
|
|
67
67
|
};
|
|
68
|
-
export
|
|
68
|
+
export type CustomMarkersRange = {
|
|
69
69
|
markerMap: {
|
|
70
70
|
value: string;
|
|
71
71
|
markerUrl?: string;
|
|
72
72
|
}[];
|
|
73
73
|
othersMarker?: string;
|
|
74
74
|
};
|
|
75
|
-
export
|
|
75
|
+
export type VisConfig = {
|
|
76
76
|
filled?: boolean;
|
|
77
77
|
opacity?: number;
|
|
78
78
|
enable3d?: boolean;
|
|
@@ -91,7 +91,7 @@ export declare type VisConfig = {
|
|
|
91
91
|
heightRange?: any;
|
|
92
92
|
heightAggregation?: any;
|
|
93
93
|
};
|
|
94
|
-
export
|
|
94
|
+
export type TextLabel = {
|
|
95
95
|
field: VisualChannelField | null | undefined;
|
|
96
96
|
alignment?: 'center' | 'bottom' | 'top';
|
|
97
97
|
anchor?: 'middle' | 'start' | 'end';
|
|
@@ -100,7 +100,7 @@ export declare type TextLabel = {
|
|
|
100
100
|
offset?: [number, number];
|
|
101
101
|
outlineColor?: number[];
|
|
102
102
|
};
|
|
103
|
-
export
|
|
103
|
+
export type MapLayerConfig = {
|
|
104
104
|
columns?: Record<string, any>;
|
|
105
105
|
color?: number[];
|
|
106
106
|
label?: string;
|
|
@@ -108,16 +108,16 @@ export declare type MapLayerConfig = {
|
|
|
108
108
|
textLabel: TextLabel[];
|
|
109
109
|
visConfig: VisConfig;
|
|
110
110
|
};
|
|
111
|
-
export
|
|
111
|
+
export type MapTextSubLayerConfig = Omit<MapLayerConfig, 'textLabel'> & {
|
|
112
112
|
textLabel?: TextLabel;
|
|
113
113
|
};
|
|
114
|
-
export
|
|
114
|
+
export type MapConfigLayer = {
|
|
115
115
|
type: string;
|
|
116
116
|
id: string;
|
|
117
117
|
config: MapLayerConfig;
|
|
118
118
|
visualChannels: VisualChannels;
|
|
119
119
|
};
|
|
120
|
-
export
|
|
120
|
+
export type MapDataset = {
|
|
121
121
|
id: string;
|
|
122
122
|
data: any;
|
|
123
123
|
aggregationExp: string | null;
|
package/typed/api/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/api/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,aAAa,CAAC;AAEvC,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/api/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,aAAa,CAAC;AAEvC,MAAM,MAAM,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,UAAU,CAAC;AACrD,MAAM,MAAM,OAAO,GAAG,UAAU,GAAG,OAAO,GAAG,OAAO,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S,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC,cAAc,EAAE,WAAW,CAAC,GAAG;IACtE,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,cAAc,CAAC;IACvB,cAAc,EAAE,cAAc,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,GAAG,CAAC;IACV,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
package/typed/index.d.ts
CHANGED
|
@@ -17,11 +17,10 @@ export { default as colorCategories } from './style/color-categories-style';
|
|
|
17
17
|
export { default as colorContinuous } from './style/color-continuous-style';
|
|
18
18
|
export { CartoAPIError, fetchMap, query } from './api';
|
|
19
19
|
export type { APIErrorContext, FetchMapOptions, Format, MapType, RequestType, QueryParameters, QueryOptions } from './api';
|
|
20
|
-
import { boundaryQuerySource, boundaryTableSource,
|
|
20
|
+
import { boundaryQuerySource, boundaryTableSource, h3QuerySource, h3TableSource, h3TilesetSource, rasterSource, quadbinQuerySource, quadbinTableSource, quadbinTilesetSource, vectorQuerySource, vectorTableSource, vectorTilesetSource, SOURCE_DEFAULTS } from './sources';
|
|
21
21
|
declare const CARTO_SOURCES: {
|
|
22
22
|
boundaryQuerySource: (options: import("./sources").BoundaryQuerySourceOptions) => Promise<import("./sources").TilejsonResult>;
|
|
23
23
|
boundaryTableSource: (options: import("./sources").BoundaryTableSourceOptions) => Promise<import("./sources").TilejsonResult>;
|
|
24
|
-
boundaryTilesetSource: (options: import("./sources").BoundaryTilesetSourceOptions) => Promise<import("./sources").TilejsonResult>;
|
|
25
24
|
h3QuerySource: (options: import("./sources").H3QuerySourceOptions) => Promise<import("./sources").TilejsonResult>;
|
|
26
25
|
h3TableSource: (options: import("./sources").H3TableSourceOptions) => Promise<import("./sources").TilejsonResult>;
|
|
27
26
|
h3TilesetSource: (options: import("./sources").H3TilesetSourceOptions) => Promise<import("./sources").TilejsonResult>;
|
|
@@ -33,6 +32,6 @@ declare const CARTO_SOURCES: {
|
|
|
33
32
|
vectorTableSource: (options: import("./sources").VectorTableSourceOptions) => Promise<import("./sources").TilejsonResult>;
|
|
34
33
|
vectorTilesetSource: (options: import("./sources").VectorTilesetSourceOptions) => Promise<import("./sources").TilejsonResult>;
|
|
35
34
|
};
|
|
36
|
-
export { boundaryQuerySource, boundaryTableSource,
|
|
37
|
-
export type { TilejsonResult, BoundaryQuerySourceOptions, BoundaryTableSourceOptions,
|
|
35
|
+
export { boundaryQuerySource, boundaryTableSource, h3QuerySource, h3TableSource, h3TilesetSource, rasterSource, quadbinQuerySource, quadbinTableSource, quadbinTilesetSource, vectorQuerySource, vectorTableSource, vectorTilesetSource, CARTO_SOURCES, SOURCE_DEFAULTS };
|
|
36
|
+
export type { TilejsonResult, BoundaryQuerySourceOptions, BoundaryTableSourceOptions, H3QuerySourceOptions, H3TableSourceOptions, H3TilesetSourceOptions, RasterSourceOptions, QuadbinQuerySourceOptions, QuadbinTableSourceOptions, QuadbinTilesetSourceOptions, VectorQuerySourceOptions, VectorTableSourceOptions, VectorTilesetSourceOptions, GeojsonResult, JsonResult } from './sources';
|
|
38
37
|
//# sourceMappingURL=index.d.ts.map
|
package/typed/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,WAAW,EAAC,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAC,OAAO,IAAI,gBAAgB,EAAC,MAAM,4BAA4B,CAAC;AACvE,OAAO,EAAC,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W,CAAC"}
|
|
@@ -8,9 +8,9 @@ export declare const renderSubLayers: (props: any) => H3HexagonLayer<any, {
|
|
|
8
8
|
highPrecision: true;
|
|
9
9
|
}> | null;
|
|
10
10
|
/** All properties supported by H3TileLayer. */
|
|
11
|
-
export
|
|
11
|
+
export type H3TileLayerProps<DataT = unknown> = _H3TileLayerProps<DataT> & CompositeLayerProps;
|
|
12
12
|
/** Properties added by H3TileLayer. */
|
|
13
|
-
|
|
13
|
+
type _H3TileLayerProps<DataT> = Omit<H3HexagonLayerProps<DataT>, 'data'> & Omit<SpatialIndexTileLayerProps<DataT>, 'data'> & {
|
|
14
14
|
data: null | TilejsonResult | Promise<TilejsonResult>;
|
|
15
15
|
};
|
|
16
16
|
export default class H3TileLayer<DataT = any, ExtraPropsT extends {} = {}> extends CompositeLayer<ExtraPropsT & Required<_H3TileLayerProps<DataT>>> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"h3-tile-layer.d.ts","sourceRoot":"","sources":["../../src/layers/h3-tile-layer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAE,mBAAmB,EAAE,KAAK,EAAE,UAAU,EAAE,YAAY,EAAC,MAAM,eAAe,CAAC;AACnG,OAAO,EAAC,cAAc,EAAE,mBAAmB,EAAC,MAAM,qBAAqB,CAAC;AAExE,OAA8B,EAAC,0BAA0B,EAAC,MAAM,4BAA4B,CAAC;AAC7F,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAGrD,eAAO,MAAM,eAAe;;;;SAU3B,CAAC;AAMF,+CAA+C;AAC/C,
|
|
1
|
+
{"version":3,"file":"h3-tile-layer.d.ts","sourceRoot":"","sources":["../../src/layers/h3-tile-layer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAE,mBAAmB,EAAE,KAAK,EAAE,UAAU,EAAE,YAAY,EAAC,MAAM,eAAe,CAAC;AACnG,OAAO,EAAC,cAAc,EAAE,mBAAmB,EAAC,MAAM,qBAAqB,CAAC;AAExE,OAA8B,EAAC,0BAA0B,EAAC,MAAM,4BAA4B,CAAC;AAC7F,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAGrD,eAAO,MAAM,eAAe;;;;SAU3B,CAAC;AAMF,+CAA+C;AAC/C,MAAM,MAAM,gBAAgB,CAAC,KAAK,GAAG,OAAO,IAAI,iBAAiB,CAAC,KAAK,CAAC,GAAG,mBAAmB,CAAC;AAE/F,uCAAuC;AACvC,KAAK,iBAAiB,CAAC,KAAK,IAAI,IAAI,CAAC,mBAAmB,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,GACtE,IAAI,CAAC,0BAA0B,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,GAAG;IAChD,IAAI,EAAE,IAAI,GAAG,cAAc,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;CACvD,CAAC;AAEJ,MAAM,CAAC,OAAO,OAAO,WAAW,CAAC,KAAK,GAAG,GAAG,EAAE,WAAW,SAAS,EAAE,GAAG,EAAE,CAAE,SAAQ,cAAc,CAC/F,WAAW,GAAG,QAAQ,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC,CACjD;IACC,MAAM,CAAC,SAAS,SAAiB;IACjC,MAAM,CAAC,YAAY,0CAAgB;IAEnC,eAAe,IAAI,IAAI;IAIvB,cAAc,IAAI,GAAG;IAQrB,YAAY,IAAI,KAAK,GAAG,IAAI,GAAG,UAAU;CAsC1C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"h3-tileset-2d.d.ts","sourceRoot":"","sources":["../../src/layers/h3-tileset-2d.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,IAAI,SAAS,EAAE,cAAc,EAAC,MAAM,qBAAqB,CAAC;AAU5E,
|
|
1
|
+
{"version":3,"file":"h3-tileset-2d.d.ts","sourceRoot":"","sources":["../../src/layers/h3-tileset-2d.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,IAAI,SAAS,EAAE,cAAc,EAAC,MAAM,qBAAqB,CAAC;AAU5E,MAAM,MAAM,WAAW,GAAG;IAAC,CAAC,EAAE,MAAM,CAAA;CAAC,CAAC;AA0DtC,wBAAgB,oBAAoB,CAAC,QAAQ,KAAA,GAAG,MAAM,CAMrD;AAED,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,SAAS;IAChD;;;;OAIG;IAEH,cAAc,CAAC,EAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAC;;;;KAAA,GAAG,WAAW,EAAE;IAyB3D,SAAS,CAAC,EAAC,CAAC,EAAC,EAAE,WAAW,GAAG,MAAM;IAKnC,eAAe,CAAC,EAAC,CAAC,EAAC,EAAE,WAAW;;;IAKhC,WAAW,CAAC,EAAC,CAAC,EAAC,EAAE,WAAW,GAAG,MAAM;IAKrC,cAAc,CAAC,KAAK,EAAE,WAAW,GAAG,WAAW;CAKhD"}
|
|
@@ -8,9 +8,9 @@ declare class EnhancedTextLayer extends TextLayer {
|
|
|
8
8
|
}): any;
|
|
9
9
|
}
|
|
10
10
|
/** All properties supported by PointLabelLayer. */
|
|
11
|
-
export
|
|
11
|
+
export type PointLabelLayerProps<DataT = unknown> = _PointLabelLayerProps<DataT> & TextLayerProps & CompositeLayerProps;
|
|
12
12
|
/** Properties added by PointLabelLayer. */
|
|
13
|
-
|
|
13
|
+
type _PointLabelLayerProps<DataT> = TextLayerProps<DataT> & {
|
|
14
14
|
/**
|
|
15
15
|
* Radius multiplier.
|
|
16
16
|
* @default 1
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"point-label-layer.d.ts","sourceRoot":"","sources":["../../src/layers/point-label-layer.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,KAAK,EACL,cAAc,EACd,mBAAmB,EACnB,YAAY,EACZ,KAAK,EACL,UAAU,EACX,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,SAAS,EACT,cAAc,EAEf,MAAM,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e,CAClC,KAAK,GAAG,GAAG,EACX,UAAU,SAAS,EAAE,GAAG,EAAE,CAC1B,SAAQ,cAAc,CAAC,UAAU,GAAG,QAAQ,CAAC,qBAAqB,CAAC,KAAK,CAAC,CAAC,CAAC;IAC3E,MAAM,CAAC,SAAS,SAAqB;IACrC,MAAM,CAAC,YAAY,8CAAgB;IAEnC,oBAAoB,CAAC,SAAS,KAAA;IA0C9B,0BAA0B;IA2B1B,eAAe,CAAC,EAAE,KAAA,EAAE,EAAC,cAAc,EAAE,sBAA2B,EAAE,GAAG,KAAK,EAAC;;;KAAA,GAAG,iBAAiB;IA2D/F,YAAY,IAAI,KAAK,GAAG,IAAI,GAAG,UAAU;CAmC1C"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { AccessorFunction, DefaultProps } from '@deck.gl/core';
|
|
2
2
|
import { _GeoCellLayer as GeoCellLayer, _GeoCellLayerProps as GeoCellLayerProps } from '@deck.gl/geo-layers';
|
|
3
3
|
/** All properties supported by QuadbinLayer. */
|
|
4
|
-
export
|
|
4
|
+
export type QuadbinLayerProps<DataT = unknown> = _QuadbinLayerProps<DataT> & GeoCellLayerProps<DataT>;
|
|
5
5
|
/** Properties added by QuadbinLayer. */
|
|
6
|
-
|
|
6
|
+
type _QuadbinLayerProps<DataT> = {
|
|
7
7
|
/**
|
|
8
8
|
* Called for each data object to retrieve the quadbin string identifier.
|
|
9
9
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quadbin-layer.d.ts","sourceRoot":"","sources":["../../src/layers/quadbin-layer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAE,YAAY,EAAC,MAAM,eAAe,CAAC;AAC7D,OAAO,EACL,aAAa,IAAI,YAAY,EAC7B,kBAAkB,IAAI,iBAAiB,EACxC,MAAM,qBAAqB,CAAC;AAO7B,gDAAgD;AAChD,
|
|
1
|
+
{"version":3,"file":"quadbin-layer.d.ts","sourceRoot":"","sources":["../../src/layers/quadbin-layer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAE,YAAY,EAAC,MAAM,eAAe,CAAC;AAC7D,OAAO,EACL,aAAa,IAAI,YAAY,EAC7B,kBAAkB,IAAI,iBAAiB,EACxC,MAAM,qBAAqB,CAAC;AAO7B,gDAAgD;AAChD,MAAM,MAAM,iBAAiB,CAAC,KAAK,GAAG,OAAO,IAAI,kBAAkB,CAAC,KAAK,CAAC,GACxE,iBAAiB,CAAC,KAAK,CAAC,CAAC;AAE3B,wCAAwC;AACxC,KAAK,kBAAkB,CAAC,KAAK,IAAI;IAC/B;;;;OAIG;IACH,UAAU,CAAC,EAAE,gBAAgB,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;CAC9C,CAAC;AAEF,MAAM,CAAC,OAAO,OAAO,YAAY,CAAC,KAAK,GAAG,GAAG,EAAE,UAAU,SAAS,EAAE,GAAG,EAAE,CAAE,SAAQ,YAAY,CAC7F,KAAK,EACL,QAAQ,CAAC,kBAAkB,CAAC,KAAK,CAAC,CAAC,GAAG,UAAU,CACjD;IACC,MAAM,CAAC,SAAS,SAAkB;IAClC,MAAM,CAAC,YAAY,2CAAgB;IAEnC,aAAa,IAAI,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,GAAG,IAAI;CAcvD"}
|
|
@@ -6,9 +6,9 @@ export declare const renderSubLayers: (props: any) => QuadbinLayer<any, {
|
|
|
6
6
|
getQuadbin: (d: any) => any;
|
|
7
7
|
}> | null;
|
|
8
8
|
/** All properties supported by QuadbinTileLayer. */
|
|
9
|
-
export
|
|
9
|
+
export type QuadbinTileLayerProps<DataT = unknown> = _QuadbinTileLayerProps<DataT> & CompositeLayerProps;
|
|
10
10
|
/** Properties added by QuadbinTileLayer. */
|
|
11
|
-
|
|
11
|
+
type _QuadbinTileLayerProps<DataT> = Omit<QuadbinLayerProps<DataT>, 'data'> & Omit<SpatialIndexTileLayerProps<DataT>, 'data'> & {
|
|
12
12
|
data: null | TilejsonResult | Promise<TilejsonResult>;
|
|
13
13
|
};
|
|
14
14
|
export default class QuadbinTileLayer<DataT = any, ExtraProps extends {} = {}> extends CompositeLayer<ExtraProps & Required<_QuadbinTileLayerProps<DataT>>> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quadbin-tile-layer.d.ts","sourceRoot":"","sources":["../../src/layers/quadbin-tile-layer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAE,mBAAmB,EAAE,KAAK,EAAE,UAAU,EAAE,YAAY,EAAC,MAAM,eAAe,CAAC;AACnG,OAAO,YAAY,EAAE,EAAC,iBAAiB,EAAC,MAAM,iBAAiB,CAAC;AAEhE,OAA8B,EAAC,0BAA0B,EAAC,MAAM,4BAA4B,CAAC;AAE7F,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAGrD,eAAO,MAAM,eAAe;;SAO3B,CAAC;AAMF,oDAAoD;AACpD,
|
|
1
|
+
{"version":3,"file":"quadbin-tile-layer.d.ts","sourceRoot":"","sources":["../../src/layers/quadbin-tile-layer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAE,mBAAmB,EAAE,KAAK,EAAE,UAAU,EAAE,YAAY,EAAC,MAAM,eAAe,CAAC;AACnG,OAAO,YAAY,EAAE,EAAC,iBAAiB,EAAC,MAAM,iBAAiB,CAAC;AAEhE,OAA8B,EAAC,0BAA0B,EAAC,MAAM,4BAA4B,CAAC;AAE7F,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAGrD,eAAO,MAAM,eAAe;;SAO3B,CAAC;AAMF,oDAAoD;AACpD,MAAM,MAAM,qBAAqB,CAAC,KAAK,GAAG,OAAO,IAAI,sBAAsB,CAAC,KAAK,CAAC,GAChF,mBAAmB,CAAC;AAEtB,4CAA4C;AAC5C,KAAK,sBAAsB,CAAC,KAAK,IAAI,IAAI,CAAC,iBAAiB,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,GACzE,IAAI,CAAC,0BAA0B,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,GAAG;IAChD,IAAI,EAAE,IAAI,GAAG,cAAc,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;CACvD,CAAC;AAEJ,MAAM,CAAC,OAAO,OAAO,gBAAgB,CACnC,KAAK,GAAG,GAAG,EACX,UAAU,SAAS,EAAE,GAAG,EAAE,CAC1B,SAAQ,cAAc,CAAC,UAAU,GAAG,QAAQ,CAAC,sBAAsB,CAAC,KAAK,CAAC,CAAC,CAAC;IAC5E,MAAM,CAAC,SAAS,SAAsB;IACtC,MAAM,CAAC,YAAY,+CAAgB;IAEnC,cAAc,IAAI,GAAG;IAQrB,YAAY,IAAI,KAAK,GAAG,IAAI,GAAG,UAAU;CAkB1C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quadbin-tileset-2d.d.ts","sourceRoot":"","sources":["../../src/layers/quadbin-tileset-2d.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,IAAI,SAAS,EAAC,MAAM,qBAAqB,CAAC;AAK5D,
|
|
1
|
+
{"version":3,"file":"quadbin-tileset-2d.d.ts","sourceRoot":"","sources":["../../src/layers/quadbin-tileset-2d.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,IAAI,SAAS,EAAC,MAAM,qBAAqB,CAAC;AAK5D,KAAK,gBAAgB,GAAG;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,CAAC,EAAE,MAAM,CAAA;CAAC,CAAC;AAEhD,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,SAAS;IAErD,cAAc,CAAC,IAAI,KAAA,GAAG,gBAAgB,EAAE;IAQxC,SAAS,CAAC,EAAC,CAAC,EAAE,CAAC,EAAC,EAAE,gBAAgB,GAAG,MAAM;IAK3C,eAAe,CAAC,EAAC,CAAC,EAAC,EAAE,gBAAgB;IAKrC,WAAW,CAAC,EAAC,CAAC,EAAC,EAAE,gBAAgB,GAAG,MAAM;IAK1C,cAAc,CAAC,EAAC,CAAC,EAAC,EAAE,gBAAgB,GAAG,gBAAgB;CAGxD"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Accessor, CompositeLayer, CompositeLayerProps, Layer, LayersList, DefaultProps } from '@deck.gl/core';
|
|
2
2
|
import { ColumnLayerProps } from '@deck.gl/layers';
|
|
3
3
|
/** All properties supported by RasterLayer. */
|
|
4
|
-
export
|
|
4
|
+
export type RasterLayerProps<DataT = unknown> = _RasterLayerProps & ColumnLayerProps<DataT> & CompositeLayerProps;
|
|
5
5
|
/** Properties added by RasterLayer. */
|
|
6
|
-
|
|
6
|
+
type _RasterLayerProps = {
|
|
7
7
|
/**
|
|
8
8
|
* Quadbin index of tile
|
|
9
9
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"raster-layer.d.ts","sourceRoot":"","sources":["../../src/layers/raster-layer.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EACR,cAAc,EACd,mBAAmB,EACnB,KAAK,EACL,UAAU,EACV,YAAY,EACb,MAAM,eAAe,CAAC;AACvB,OAAO,EAAc,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AAyD9D,+CAA+C;AAC/C,
|
|
1
|
+
{"version":3,"file":"raster-layer.d.ts","sourceRoot":"","sources":["../../src/layers/raster-layer.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EACR,cAAc,EACd,mBAAmB,EACnB,KAAK,EACL,UAAU,EACV,YAAY,EACb,MAAM,eAAe,CAAC;AACvB,OAAO,EAAc,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AAyD9D,+CAA+C;AAC/C,MAAM,MAAM,gBAAgB,CAAC,KAAK,GAAG,OAAO,IAAI,iBAAiB,GAC/D,gBAAgB,CAAC,KAAK,CAAC,GACvB,mBAAmB,CAAC;AAEtB,uCAAuC;AACvC,KAAK,iBAAiB,GAAG;IACvB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAGF,MAAM,CAAC,OAAO,OAAO,WAAW,CAAC,KAAK,GAAG,GAAG,EAAE,UAAU,GAAG,EAAE,CAAE,SAAQ,cAAc,CACnF,QAAQ,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC,GAAG,UAAU,CAC/C;IACC,MAAM,CAAC,SAAS,SAAiB;IACjC,MAAM,CAAC,YAAY,0CAAgB;IAEnC,YAAY,IAAI,KAAK,GAAG,IAAI,GAAG,UAAU;IA6CzC,SAAS,CAAC,mBAAmB,CAAC,EAAE,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,CAAC,EAAE,EAAE,GAAG,CAAC,GAAG,QAAQ,CAAC,EAAE,EAAE,GAAG,CAAC;CAcvF"}
|
|
@@ -6,9 +6,9 @@ export declare const renderSubLayers: (props: any) => RasterLayer<any, {
|
|
|
6
6
|
tileIndex: any;
|
|
7
7
|
}> | null;
|
|
8
8
|
/** All properties supported by RasterTileLayer. */
|
|
9
|
-
export
|
|
9
|
+
export type RasterTileLayerProps<DataT = unknown> = _RasterTileLayerProps<DataT> & CompositeLayerProps;
|
|
10
10
|
/** Properties added by RasterTileLayer. */
|
|
11
|
-
|
|
11
|
+
type _RasterTileLayerProps<DataT> = Omit<RasterLayerProps<DataT>, 'data'> & Omit<SpatialIndexTileLayerProps<DataT>, 'data'> & {
|
|
12
12
|
data: null | TilejsonResult | Promise<TilejsonResult>;
|
|
13
13
|
};
|
|
14
14
|
export default class RasterTileLayer<DataT = any, ExtraProps extends {} = {}> extends CompositeLayer<ExtraProps & Required<_RasterTileLayerProps<DataT>>> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"raster-tile-layer.d.ts","sourceRoot":"","sources":["../../src/layers/raster-tile-layer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAE,mBAAmB,EAAE,YAAY,EAAE,KAAK,EAAE,UAAU,EAAC,MAAM,eAAe,CAAC;A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CAAC,SAAS,SAAqB;IACrC,MAAM,CAAC,YAAY,8CAAgB;IAEnC,cAAc,IAAI,GAAG;IAOrB,YAAY,IAAI,KAAK,GAAG,IAAI,GAAG,UAAU;CAmB1C"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LoaderWithParser } from '@loaders.gl/loader-utils';
|
|
2
2
|
import { NumericProps, Properties } from './spatialjson-utils';
|
|
3
3
|
declare const CartoRasterTileLoader: LoaderWithParser;
|
|
4
|
-
export
|
|
4
|
+
export type Raster = {
|
|
5
5
|
blockWidth: number;
|
|
6
6
|
blockHeight: number;
|
|
7
7
|
cells: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"carto-raster-tile-loader.d.ts","sourceRoot":"","sources":["../../../src/layers/schema/carto-raster-tile-loader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,gBAAgB,EAAC,MAAM,0BAA0B,CAAC;AAKzE,OAAO,EAAC,YAAY,EAAE,UAAU,EAAC,MAAM,qBAAqB,CAAC;AAiB7D,QAAA,MAAM,qBAAqB,EAAE,gBAa5B,CAAC;AAEF,
|
|
1
|
+
{"version":3,"file":"carto-raster-tile-loader.d.ts","sourceRoot":"","sources":["../../../src/layers/schema/carto-raster-tile-loader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,gBAAgB,EAAC,MAAM,0BAA0B,CAAC;AAKzE,OAAO,EAAC,YAAY,EAAE,UAAU,EAAC,MAAM,qBAAqB,CAAC;AAiB7D,QAAA,MAAM,qBAAqB,EAAE,gBAa5B,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE;QACL,YAAY,EAAE,YAAY,CAAC;QAC3B,UAAU,EAAE,UAAU,EAAE,CAAC;KAC1B,CAAC;CACH,CAAC;AAiBF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
export
|
|
1
|
+
export type IndexScheme = 'h3' | 'quadbin';
|
|
2
|
+
type TypedArray = Float32Array | Float64Array;
|
|
3
|
+
export type Indices = {
|
|
4
4
|
value: BigUint64Array;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export type NumericProps = Record<string, {
|
|
7
7
|
value: number[] | TypedArray;
|
|
8
8
|
}>;
|
|
9
|
-
export
|
|
10
|
-
export
|
|
9
|
+
export type Properties = Record<string, string | number | boolean | null>;
|
|
10
|
+
export type Cells = {
|
|
11
11
|
indices: Indices;
|
|
12
12
|
numericProps: NumericProps;
|
|
13
13
|
properties: Properties[];
|
|
14
14
|
};
|
|
15
|
-
export
|
|
15
|
+
export type SpatialBinary = {
|
|
16
16
|
scheme?: IndexScheme;
|
|
17
17
|
cells: Cells;
|
|
18
18
|
};
|
|
19
|
-
export
|
|
19
|
+
export type SpatialJson = {
|
|
20
20
|
id: string | bigint;
|
|
21
21
|
properties: Properties;
|
|
22
22
|
}[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spatialjson-utils.d.ts","sourceRoot":"","sources":["../../../src/layers/schema/spatialjson-utils.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"spatialjson-utils.d.ts","sourceRoot":"","sources":["../../../src/layers/schema/spatialjson-utils.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,WAAW,GAAG,IAAI,GAAG,SAAS,CAAC;AAC3C,KAAK,UAAU,GAAG,YAAY,GAAG,YAAY,CAAC;AAE9C,MAAM,MAAM,OAAO,GAAG;IAAC,KAAK,EAAE,cAAc,CAAA;CAAC,CAAC;AAC9C,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE;IAAC,KAAK,EAAE,MAAM,EAAE,GAAG,UAAU,CAAA;CAAC,CAAC,CAAC;AAC1E,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC,CAAC;AAC1E,MAAM,MAAM,KAAK,GAAG;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,YAAY,CAAC;IAC3B,UAAU,EAAE,UAAU,EAAE,CAAC;CAC1B,CAAC;AACF,MAAM,MAAM,aAAa,GAAG;IAAC,MAAM,CAAC,EAAE,WAAW,CAAC;IAAC,KAAK,EAAE,KAAK,CAAA;CAAC,CAAC;AACjE,MAAM,MAAM,WAAW,GAAG;IACxB,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,UAAU,EAAE,UAAU,CAAC;CACxB,EAAE,CAAC;AAEJ,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,aAAa,GAAG,WAAW,CAetE"}
|
|
@@ -2,9 +2,9 @@ import { DefaultProps } from '@deck.gl/core';
|
|
|
2
2
|
import { PickingInfo } from '@deck.gl/core';
|
|
3
3
|
import { TileLayer, _Tile2DHeader as Tile2DHeader, TileLayerProps } from '@deck.gl/geo-layers';
|
|
4
4
|
/** All properties supported by SpatialIndexTileLayer. */
|
|
5
|
-
export
|
|
5
|
+
export type SpatialIndexTileLayerProps<DataT = unknown> = _SpatialIndexTileLayerProps & TileLayerProps<DataT>;
|
|
6
6
|
/** Properties added by SpatialIndexTileLayer. */
|
|
7
|
-
|
|
7
|
+
type _SpatialIndexTileLayerProps = {};
|
|
8
8
|
export default class SpatialIndexTileLayer<DataT = any, ExtraProps extends {} = {}> extends TileLayer<DataT, ExtraProps & Required<_SpatialIndexTileLayerProps>> {
|
|
9
9
|
static layerName: string;
|
|
10
10
|
static defaultProps: DefaultProps<SpatialIndexTileLayerProps<unknown>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spatial-index-tile-layer.d.ts","sourceRoot":"","sources":["../../src/layers/spatial-index-tile-layer.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,YAAY,EAAC,MAAM,eAAe,CAAC;AAK3C,OAAO,EAAC,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e9D"}
|
|
@@ -3,9 +3,9 @@ import { MVTLayer, MVTLayerProps, TileLayer, _Tile2DHeader, _TileLoadProps as Ti
|
|
|
3
3
|
import { GeoJsonLayer } from '@deck.gl/layers';
|
|
4
4
|
import type { TilejsonResult } from '../sources/types';
|
|
5
5
|
/** All properties supported by VectorTileLayer. */
|
|
6
|
-
export
|
|
6
|
+
export type VectorTileLayerProps = _VectorTileLayerProps & Omit<MVTLayerProps, 'data'>;
|
|
7
7
|
/** Properties added by VectorTileLayer. */
|
|
8
|
-
|
|
8
|
+
type _VectorTileLayerProps = {
|
|
9
9
|
data: null | TilejsonResult | Promise<TilejsonResult>;
|
|
10
10
|
};
|
|
11
11
|
export default class VectorTileLayer<ExtraProps extends {} = {}> extends MVTLayer<Required<_VectorTileLayerProps> & ExtraProps> {
|
|
@@ -24,7 +24,7 @@ export default class VectorTileLayer<ExtraProps extends {} = {}> extends MVTLaye
|
|
|
24
24
|
_offset: number;
|
|
25
25
|
tile: _Tile2DHeader;
|
|
26
26
|
}): GeoJsonLayer | null;
|
|
27
|
-
getPickingInfo(params: any): import("modules/geo-layers/src/tile-layer/tile-layer").TiledPickingInfo
|
|
27
|
+
getPickingInfo(params: any): import("modules/geo-layers/src/tile-layer/tile-layer").TiledPickingInfo;
|
|
28
28
|
}
|
|
29
29
|
export {};
|
|
30
30
|
//# sourceMappingURL=vector-tile-layer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vector-tile-layer.d.ts","sourceRoot":"","sources":["../../src/layers/vector-tile-layer.ts"],"names":[],"mappings":"AAKA,OAAO,EAAC,YAAY,EAAC,MAAM,eAAe,CAAC;AAE3C,OAAO,EACL,QAAQ,EACR,aAAa,EACb,SAAS,EAET,aAAa,EACb,cAAc,IAAI,aAAa,EAChC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAK7C,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,kB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A,YAAY,GAAG,IAAI;IAuBtB,cAAc,CAAC,MAAM,KAAA;CAYtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-source.d.ts","sourceRoot":"","sources":["../../src/sources/base-source.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAkB,OAAO,EAAC,MAAM,cAAc,CAAC;AAC3D,OAAO,KAAK,EACV,aAAa,EACb,UAAU,EACV,qBAAqB,EACrB,qBAAqB,
|
|
1
|
+
{"version":3,"file":"base-source.d.ts","sourceRoot":"","sources":["../../src/sources/base-source.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAkB,OAAO,EAAC,MAAM,cAAc,CAAC;AAC3D,OAAO,KAAK,EACV,aAAa,EACb,UAAU,EACV,qBAAqB,EACrB,qBAAqB,EAErB,cAAc,EACf,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,eAAe,EAAE,qBAK7B,CAAC;AAEF,wBAAsB,UAAU,CAAC,aAAa,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAC3E,QAAQ,EAAE,OAAO,EACjB,OAAO,EAAE,OAAO,CAAC,qBAAqB,CAAC,GAAG,qBAAqB,EAC/D,aAAa,EAAE,aAAa,GAC3B,OAAO,CAAC,cAAc,GAAG,aAAa,GAAG,UAAU,CAAC,CA6CtD"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { QueryParameters } from '../api';
|
|
2
2
|
import type { SourceOptions, TilejsonResult } from './types';
|
|
3
|
-
export
|
|
4
|
-
|
|
3
|
+
export type BoundaryQuerySourceOptions = SourceOptions & {
|
|
4
|
+
tilesetTableName: string;
|
|
5
5
|
matchingColumn?: string;
|
|
6
|
-
|
|
6
|
+
propertiesSqlQuery: string;
|
|
7
7
|
queryParameters?: QueryParameters;
|
|
8
8
|
};
|
|
9
9
|
export declare const boundaryQuerySource: (options: BoundaryQuerySourceOptions) => Promise<TilejsonResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"boundary-query-source.d.ts","sourceRoot":"","sources":["../../src/sources/boundary-query-source.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,QAAQ,CAAC;AAEvC,OAAO,KAAK,EAAC,aAAa,EAAE,cAAc,EAAC,MAAM,SAAS,CAAC;AAE3D,
|
|
1
|
+
{"version":3,"file":"boundary-query-source.d.ts","sourceRoot":"","sources":["../../src/sources/boundary-query-source.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,QAAQ,CAAC;AAEvC,OAAO,KAAK,EAAC,aAAa,EAAE,cAAc,EAAC,MAAM,SAAS,CAAC;AAE3D,MAAM,MAAM,0BAA0B,GAAG,aAAa,GAAG;IACvD,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,eAAe,CAAC,EAAE,eAAe,CAAC;CACnC,CAAC;AAQF,eAAO,MAAM,mBAAmB,YACrB,0BAA0B,KAClC,QAAQ,cAAc,CAWxB,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { SourceOptions, TilejsonResult } from './types';
|
|
2
|
-
export
|
|
3
|
-
|
|
2
|
+
export type BoundaryTableSourceOptions = SourceOptions & {
|
|
3
|
+
tilesetTableName: string;
|
|
4
4
|
columns?: string[];
|
|
5
5
|
matchingColumn?: string;
|
|
6
|
-
|
|
6
|
+
propertiesTableName: string;
|
|
7
7
|
};
|
|
8
8
|
export declare const boundaryTableSource: (options: BoundaryTableSourceOptions) => Promise<TilejsonResult>;
|
|
9
9
|
//# sourceMappingURL=boundary-table-source.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"boundary-table-source.d.ts","sourceRoot":"","sources":["../../src/sources/boundary-table-source.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,aAAa,EAAE,cAAc,EAAC,MAAM,SAAS,CAAC;AAE3D,
|
|
1
|
+
{"version":3,"file":"boundary-table-source.d.ts","sourceRoot":"","sources":["../../src/sources/boundary-table-source.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,aAAa,EAAE,cAAc,EAAC,MAAM,SAAS,CAAC;AAE3D,MAAM,MAAM,0BAA0B,GAAG,aAAa,GAAG;IACvD,gBAAgB,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,mBAAmB,EAAE,MAAM,CAAC;CAC7B,CAAC;AAQF,eAAO,MAAM,mBAAmB,YACrB,0BAA0B,KAClC,QAAQ,cAAc,CAYxB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { AggregationOptions, QuerySourceOptions, SourceOptions, TilejsonResult } from './types';
|
|
2
|
-
export
|
|
2
|
+
export type H3QuerySourceOptions = SourceOptions & QuerySourceOptions & AggregationOptions;
|
|
3
3
|
export declare const h3QuerySource: (options: H3QuerySourceOptions) => Promise<TilejsonResult>;
|
|
4
4
|
//# sourceMappingURL=h3-query-source.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"h3-query-source.d.ts","sourceRoot":"","sources":["../../src/sources/h3-query-source.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EAClB,aAAa,EAEb,cAAc,EACf,MAAM,SAAS,CAAC;AAEjB,
|
|
1
|
+
{"version":3,"file":"h3-query-source.d.ts","sourceRoot":"","sources":["../../src/sources/h3-query-source.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EAClB,aAAa,EAEb,cAAc,EACf,MAAM,SAAS,CAAC;AAEjB,MAAM,MAAM,oBAAoB,GAAG,aAAa,GAAG,kBAAkB,GAAG,kBAAkB,CAAC;AAU3F,eAAO,MAAM,aAAa,YACf,oBAAoB,KAC5B,QAAQ,cAAc,CAsBxB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { AggregationOptions, SourceOptions, TableSourceOptions, TilejsonResult } from './types';
|
|
2
|
-
export
|
|
2
|
+
export type H3TableSourceOptions = SourceOptions & TableSourceOptions & AggregationOptions;
|
|
3
3
|
export declare const h3TableSource: (options: H3TableSourceOptions) => Promise<TilejsonResult>;
|
|
4
4
|
//# sourceMappingURL=h3-table-source.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"h3-table-source.d.ts","sourceRoot":"","sources":["../../src/sources/h3-table-source.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,kBAAkB,EAClB,aAAa,EAEb,kBAAkB,EAClB,cAAc,EACf,MAAM,SAAS,CAAC;AAEjB,
|
|
1
|
+
{"version":3,"file":"h3-table-source.d.ts","sourceRoot":"","sources":["../../src/sources/h3-table-source.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,kBAAkB,EAClB,aAAa,EAEb,kBAAkB,EAClB,cAAc,EACf,MAAM,SAAS,CAAC;AAEjB,MAAM,MAAM,oBAAoB,GAAG,aAAa,GAAG,kBAAkB,GAAG,kBAAkB,CAAC;AAW3F,eAAO,MAAM,aAAa,YACf,oBAAoB,KAC5B,QAAQ,cAAc,CAsBxB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { SourceOptions, TilejsonResult, TilesetSourceOptions } from './types';
|
|
2
|
-
export
|
|
2
|
+
export type H3TilesetSourceOptions = SourceOptions & TilesetSourceOptions;
|
|
3
3
|
export declare const h3TilesetSource: (options: H3TilesetSourceOptions) => Promise<TilejsonResult>;
|
|
4
4
|
//# sourceMappingURL=h3-tileset-source.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"h3-tileset-source.d.ts","sourceRoot":"","sources":["../../src/sources/h3-tileset-source.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,aAAa,EAAE,cAAc,EAAE,oBAAoB,EAAC,MAAM,SAAS,CAAC;AAEjF,
|
|
1
|
+
{"version":3,"file":"h3-tileset-source.d.ts","sourceRoot":"","sources":["../../src/sources/h3-tileset-source.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,aAAa,EAAE,cAAc,EAAE,oBAAoB,EAAC,MAAM,SAAS,CAAC;AAEjF,MAAM,MAAM,sBAAsB,GAAG,aAAa,GAAG,oBAAoB,CAAC;AAG1E,eAAO,MAAM,eAAe,YACjB,sBAAsB,KAC9B,QAAQ,cAAc,CAKxB,CAAC"}
|
package/typed/sources/index.d.ts
CHANGED
|
@@ -4,8 +4,6 @@ export { boundaryQuerySource } from './boundary-query-source';
|
|
|
4
4
|
export type { BoundaryQuerySourceOptions } from './boundary-query-source';
|
|
5
5
|
export { boundaryTableSource } from './boundary-table-source';
|
|
6
6
|
export type { BoundaryTableSourceOptions } from './boundary-table-source';
|
|
7
|
-
export { boundaryTilesetSource } from './boundary-tileset-source';
|
|
8
|
-
export type { BoundaryTilesetSourceOptions } from './boundary-tileset-source';
|
|
9
7
|
export { h3QuerySource } from './h3-query-source';
|
|
10
8
|
export type { H3QuerySourceOptions } from './h3-query-source';
|
|
11
9
|
export { h3TableSource } from './h3-table-source';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sources/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,eAAe,CAAC;AAC9C,YAAY,EAAC,cAAc,EAAE,aAAa,EAAE,UAAU,EAAC,MAAM,SAAS,CAAC;AAEvE,OAAO,EAAC,mBAAmB,EAAC,MAAM,yBAAyB,CAAC;AAC5D,YAAY,EAAC,0BAA0B,EAAC,MAAM,yBAAyB,CAAC;AAExE,OAAO,EAAC,mBAAmB,EAAC,MAAM,yBAAyB,CAAC;AAC5D,YAAY,EAAC,0BAA0B,EAAC,MAAM,yBAAyB,CAAC;AAExE,OAAO,EAA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,wBAAwB,EAAC,MAAM,uBAAuB,CAAC;AAEpE,OAAO,EAAC,iBAAiB,EAAC,MAAM,uBAAuB,CAAC;AACxD,YAAY,EAAC,wBAAwB,EAAC,MAAM,uBAAuB,CAAC;AAEpE,OAAO,EAAC,mBAAmB,EAAC,MAAM,yBAAyB,CAAC;AAC5D,YAAY,EAAC,0BAA0B,EAAC,MAAM,yBAAyB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { AggregationOptions, QuerySourceOptions, SourceOptions, TilejsonResult } from './types';
|
|
2
|
-
export
|
|
2
|
+
export type QuadbinQuerySourceOptions = SourceOptions & QuerySourceOptions & AggregationOptions;
|
|
3
3
|
export declare const quadbinQuerySource: (options: QuadbinQuerySourceOptions) => Promise<TilejsonResult>;
|
|
4
4
|
//# sourceMappingURL=quadbin-query-source.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quadbin-query-source.d.ts","sourceRoot":"","sources":["../../src/sources/quadbin-query-source.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EAClB,aAAa,EAEb,cAAc,EACf,MAAM,SAAS,CAAC;AAEjB,
|
|
1
|
+
{"version":3,"file":"quadbin-query-source.d.ts","sourceRoot":"","sources":["../../src/sources/quadbin-query-source.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EAClB,aAAa,EAEb,cAAc,EACf,MAAM,SAAS,CAAC;AAEjB,MAAM,MAAM,yBAAyB,GAAG,aAAa,GAAG,kBAAkB,GAAG,kBAAkB,CAAC;AAWhG,eAAO,MAAM,kBAAkB,YACpB,yBAAyB,KACjC,QAAQ,cAAc,CAsBxB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { AggregationOptions, SourceOptions, TableSourceOptions, TilejsonResult } from './types';
|
|
2
|
-
export
|
|
2
|
+
export type QuadbinTableSourceOptions = SourceOptions & TableSourceOptions & AggregationOptions;
|
|
3
3
|
export declare const quadbinTableSource: (options: QuadbinTableSourceOptions) => Promise<TilejsonResult>;
|
|
4
4
|
//# sourceMappingURL=quadbin-table-source.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quadbin-table-source.d.ts","sourceRoot":"","sources":["../../src/sources/quadbin-table-source.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,kBAAkB,EAClB,aAAa,EAEb,kBAAkB,EAClB,cAAc,EACf,MAAM,SAAS,CAAC;AAEjB,
|
|
1
|
+
{"version":3,"file":"quadbin-table-source.d.ts","sourceRoot":"","sources":["../../src/sources/quadbin-table-source.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,kBAAkB,EAClB,aAAa,EAEb,kBAAkB,EAClB,cAAc,EACf,MAAM,SAAS,CAAC;AAEjB,MAAM,MAAM,yBAAyB,GAAG,aAAa,GAAG,kBAAkB,GAAG,kBAAkB,CAAC;AAWhG,eAAO,MAAM,kBAAkB,YACpB,yBAAyB,KACjC,QAAQ,cAAc,CAuBxB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { SourceOptions, TilejsonResult, TilesetSourceOptions } from './types';
|
|
2
|
-
export
|
|
2
|
+
export type QuadbinTilesetSourceOptions = SourceOptions & TilesetSourceOptions;
|
|
3
3
|
export declare const quadbinTilesetSource: (options: QuadbinTilesetSourceOptions) => Promise<TilejsonResult>;
|
|
4
4
|
//# sourceMappingURL=quadbin-tileset-source.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quadbin-tileset-source.d.ts","sourceRoot":"","sources":["../../src/sources/quadbin-tileset-source.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,aAAa,EAAE,cAAc,EAAE,oBAAoB,EAAC,MAAM,SAAS,CAAC;AAEjF,
|
|
1
|
+
{"version":3,"file":"quadbin-tileset-source.d.ts","sourceRoot":"","sources":["../../src/sources/quadbin-tileset-source.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,aAAa,EAAE,cAAc,EAAE,oBAAoB,EAAC,MAAM,SAAS,CAAC;AAEjF,MAAM,MAAM,2BAA2B,GAAG,aAAa,GAAG,oBAAoB,CAAC;AAG/E,eAAO,MAAM,oBAAoB,YACtB,2BAA2B,KACnC,QAAQ,cAAc,CAKxB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { SourceOptions, TilejsonResult, TilesetSourceOptions } from './types';
|
|
2
|
-
export
|
|
2
|
+
export type RasterSourceOptions = SourceOptions & TilesetSourceOptions;
|
|
3
3
|
export declare const rasterSource: (options: RasterSourceOptions) => Promise<TilejsonResult>;
|
|
4
4
|
//# sourceMappingURL=raster-source.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"raster-source.d.ts","sourceRoot":"","sources":["../../src/sources/raster-source.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,aAAa,EAAE,cAAc,EAAE,oBAAoB,EAAC,MAAM,SAAS,CAAC;AAEjF,
|
|
1
|
+
{"version":3,"file":"raster-source.d.ts","sourceRoot":"","sources":["../../src/sources/raster-source.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,aAAa,EAAE,cAAc,EAAE,oBAAoB,EAAC,MAAM,SAAS,CAAC;AAEjF,MAAM,MAAM,mBAAmB,GAAG,aAAa,GAAG,oBAAoB,CAAC;AAGvE,eAAO,MAAM,YAAY,YAA4B,mBAAmB,KAAG,QAAQ,cAAc,CAKhG,CAAC"}
|