@deck.gl/carto 9.0.0-alpha.5 → 9.0.0-alpha.6
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 +1 -1
- package/dist/cartoSpatialTile-worker.js +1 -1
- package/dist/cartoVectorTile-worker.js +1 -1
- package/dist/dist.dev.js +11 -24
- 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/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/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/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 +39 -39
- package/package.json +2 -2
- package/src/index.ts +0 -4
- 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/typed/index.d.ts +3 -4
- package/typed/index.d.ts.map +1 -1
- package/typed/sources/boundary-query-source.d.ts +2 -2
- package/typed/sources/boundary-query-source.d.ts.map +1 -1
- package/typed/sources/boundary-table-source.d.ts +2 -2
- package/typed/sources/boundary-table-source.d.ts.map +1 -1
- package/typed/sources/index.d.ts +0 -2
- package/typed/sources/index.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/.DS_Store +0 -0
- 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
|
@@ -1053,7 +1053,7 @@
|
|
|
1053
1053
|
}
|
|
1054
1054
|
|
|
1055
1055
|
// src/layers/schema/carto-raster-tile-loader.ts
|
|
1056
|
-
var VERSION = true ? "9.0.0-alpha.
|
|
1056
|
+
var VERSION = true ? "9.0.0-alpha.6" : "latest";
|
|
1057
1057
|
var id = "cartoRasterTile";
|
|
1058
1058
|
var DEFAULT_OPTIONS = {
|
|
1059
1059
|
cartoRasterTile: {
|
|
@@ -1440,7 +1440,7 @@
|
|
|
1440
1440
|
}
|
|
1441
1441
|
|
|
1442
1442
|
// src/layers/schema/carto-spatial-tile-loader.ts
|
|
1443
|
-
var VERSION = true ? "9.0.0-alpha.
|
|
1443
|
+
var VERSION = true ? "9.0.0-alpha.6" : "latest";
|
|
1444
1444
|
var id = "cartoSpatialTile";
|
|
1445
1445
|
var DEFAULT_OPTIONS = {
|
|
1446
1446
|
cartoSpatialTile: {
|
|
@@ -1668,7 +1668,7 @@
|
|
|
1668
1668
|
}
|
|
1669
1669
|
|
|
1670
1670
|
// src/layers/schema/carto-vector-tile-loader.ts
|
|
1671
|
-
var VERSION = true ? "9.0.0-alpha.
|
|
1671
|
+
var VERSION = true ? "9.0.0-alpha.6" : "latest";
|
|
1672
1672
|
var id = "cartoVectorTile";
|
|
1673
1673
|
var DEFAULT_OPTIONS = {
|
|
1674
1674
|
cartoVectorTile: {
|
package/dist/dist.dev.js
CHANGED
|
@@ -9124,7 +9124,6 @@ var __exports__ = (() => {
|
|
|
9124
9124
|
_PointLabelLayer: () => PointLabelLayer,
|
|
9125
9125
|
boundaryQuerySource: () => boundaryQuerySource,
|
|
9126
9126
|
boundaryTableSource: () => boundaryTableSource,
|
|
9127
|
-
boundaryTilesetSource: () => boundaryTilesetSource,
|
|
9128
9127
|
colorBins: () => colorBins,
|
|
9129
9128
|
colorCategories: () => colorCategories,
|
|
9130
9129
|
colorContinuous: () => colorContinuous,
|
|
@@ -9368,7 +9367,7 @@ var __exports__ = (() => {
|
|
|
9368
9367
|
}
|
|
9369
9368
|
|
|
9370
9369
|
// src/layers/schema/carto-raster-tile-loader.ts
|
|
9371
|
-
var VERSION = true ? "9.0.0-alpha.
|
|
9370
|
+
var VERSION = true ? "9.0.0-alpha.6" : "latest";
|
|
9372
9371
|
var id = "cartoRasterTile";
|
|
9373
9372
|
var DEFAULT_OPTIONS = {
|
|
9374
9373
|
cartoRasterTile: {
|
|
@@ -9767,7 +9766,7 @@ var __exports__ = (() => {
|
|
|
9767
9766
|
}
|
|
9768
9767
|
|
|
9769
9768
|
// src/layers/schema/carto-spatial-tile-loader.ts
|
|
9770
|
-
var VERSION2 = true ? "9.0.0-alpha.
|
|
9769
|
+
var VERSION2 = true ? "9.0.0-alpha.6" : "latest";
|
|
9771
9770
|
var id2 = "cartoSpatialTile";
|
|
9772
9771
|
var DEFAULT_OPTIONS2 = {
|
|
9773
9772
|
cartoSpatialTile: {
|
|
@@ -10644,7 +10643,7 @@ void main(void) {
|
|
|
10644
10643
|
|
|
10645
10644
|
// src/layers/schema/carto-vector-tile-loader.ts
|
|
10646
10645
|
var import_earcut = __toESM(require_earcut());
|
|
10647
|
-
var VERSION3 = true ? "9.0.0-alpha.
|
|
10646
|
+
var VERSION3 = true ? "9.0.0-alpha.6" : "latest";
|
|
10648
10647
|
var id3 = "cartoVectorTile";
|
|
10649
10648
|
var DEFAULT_OPTIONS3 = {
|
|
10650
10649
|
cartoVectorTile: {
|
|
@@ -13256,15 +13255,15 @@ ${formatErrorKey(key)}: ${errorContext[key]}`;
|
|
|
13256
13255
|
// src/sources/boundary-query-source.ts
|
|
13257
13256
|
var boundaryQuerySource = async function(options) {
|
|
13258
13257
|
const {
|
|
13259
|
-
|
|
13258
|
+
tilesetTableName,
|
|
13260
13259
|
matchingColumn = "id",
|
|
13261
|
-
|
|
13260
|
+
propertiesSqlQuery,
|
|
13262
13261
|
queryParameters
|
|
13263
13262
|
} = options;
|
|
13264
13263
|
const urlParameters = {
|
|
13265
|
-
|
|
13264
|
+
tilesetTableName,
|
|
13266
13265
|
matchingColumn,
|
|
13267
|
-
|
|
13266
|
+
propertiesSqlQuery
|
|
13268
13267
|
};
|
|
13269
13268
|
if (queryParameters) {
|
|
13270
13269
|
urlParameters.queryParameters = JSON.stringify(queryParameters);
|
|
@@ -13275,15 +13274,15 @@ ${formatErrorKey(key)}: ${errorContext[key]}`;
|
|
|
13275
13274
|
// src/sources/boundary-table-source.ts
|
|
13276
13275
|
var boundaryTableSource = async function(options) {
|
|
13277
13276
|
const {
|
|
13278
|
-
|
|
13277
|
+
tilesetTableName,
|
|
13279
13278
|
columns,
|
|
13280
13279
|
matchingColumn = "id",
|
|
13281
|
-
|
|
13280
|
+
propertiesTableName
|
|
13282
13281
|
} = options;
|
|
13283
13282
|
const urlParameters = {
|
|
13284
|
-
|
|
13283
|
+
tilesetTableName,
|
|
13285
13284
|
matchingColumn,
|
|
13286
|
-
|
|
13285
|
+
propertiesTableName
|
|
13287
13286
|
};
|
|
13288
13287
|
if (columns) {
|
|
13289
13288
|
urlParameters.columns = columns.join(",");
|
|
@@ -13291,17 +13290,6 @@ ${formatErrorKey(key)}: ${errorContext[key]}`;
|
|
|
13291
13290
|
return baseSource("boundary", options, urlParameters);
|
|
13292
13291
|
};
|
|
13293
13292
|
|
|
13294
|
-
// src/sources/boundary-tileset-source.ts
|
|
13295
|
-
var boundaryTilesetSource = async function(options) {
|
|
13296
|
-
const {
|
|
13297
|
-
boundaryId
|
|
13298
|
-
} = options;
|
|
13299
|
-
const urlParameters = {
|
|
13300
|
-
boundaryId
|
|
13301
|
-
};
|
|
13302
|
-
return baseSource("boundary", options, urlParameters);
|
|
13303
|
-
};
|
|
13304
|
-
|
|
13305
13293
|
// src/sources/h3-query-source.ts
|
|
13306
13294
|
var h3QuerySource = async function(options) {
|
|
13307
13295
|
const {
|
|
@@ -14560,7 +14548,6 @@ ${formatErrorKey(key)}: ${errorContext[key]}`;
|
|
|
14560
14548
|
var CARTO_SOURCES = {
|
|
14561
14549
|
boundaryQuerySource,
|
|
14562
14550
|
boundaryTableSource,
|
|
14563
|
-
boundaryTilesetSource,
|
|
14564
14551
|
h3QuerySource,
|
|
14565
14552
|
h3TableSource,
|
|
14566
14553
|
h3TilesetSource,
|
package/dist/es5/index.js
CHANGED
|
@@ -89,12 +89,6 @@ Object.defineProperty(exports, "boundaryTableSource", {
|
|
|
89
89
|
return _sources.boundaryTableSource;
|
|
90
90
|
}
|
|
91
91
|
});
|
|
92
|
-
Object.defineProperty(exports, "boundaryTilesetSource", {
|
|
93
|
-
enumerable: true,
|
|
94
|
-
get: function get() {
|
|
95
|
-
return _sources.boundaryTilesetSource;
|
|
96
|
-
}
|
|
97
|
-
});
|
|
98
92
|
Object.defineProperty(exports, "h3QuerySource", {
|
|
99
93
|
enumerable: true,
|
|
100
94
|
get: function get() {
|
|
@@ -196,7 +190,6 @@ exports.CARTO_LAYERS = CARTO_LAYERS;
|
|
|
196
190
|
var CARTO_SOURCES = {
|
|
197
191
|
boundaryQuerySource: _sources.boundaryQuerySource,
|
|
198
192
|
boundaryTableSource: _sources.boundaryTableSource,
|
|
199
|
-
boundaryTilesetSource: _sources.boundaryTilesetSource,
|
|
200
193
|
h3QuerySource: _sources.h3QuerySource,
|
|
201
194
|
h3TableSource: _sources.h3TableSource,
|
|
202
195
|
h3TilesetSource: _sources.h3TilesetSource,
|
package/dist/es5/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts"],"names":["CARTO_LAYERS","H3TileLayer","_PointLabelLayer","QuadbinTileLayer","RasterTileLayer","VectorTileLayer","CARTO_SOURCES","boundaryQuerySource","boundaryTableSource","
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts"],"names":["CARTO_LAYERS","H3TileLayer","_PointLabelLayer","QuadbinTileLayer","RasterTileLayer","VectorTileLayer","CARTO_SOURCES","boundaryQuerySource","boundaryTableSource","h3QuerySource","h3TableSource","h3TilesetSource","rasterSource","quadbinQuerySource","quadbinTableSource","quadbinTilesetSource","vectorQuerySource","vectorTableSource","vectorTilesetSource"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AAiBA;;AACA;;AACA;;AACA;;AACA;;AAWA;;AA/BA,IAAMA,YAAY,GAAG;AACnBC,EAAAA,WAAW,EAAXA,oBADmB;AAEnBC,EAAAA,gBAAgB,EAAhBA,wBAFmB;AAGnBC,EAAAA,gBAAgB,EAAhBA,yBAHmB;AAInBC,EAAAA,eAAe,EAAfA,wBAJmB;AAKnBC,EAAAA,eAAe,EAAfA;AALmB,CAArB;;AA+CA,IAAMC,aAAa,GAAG;AACpBC,EAAAA,mBAAmB,EAAnBA,4BADoB;AAEpBC,EAAAA,mBAAmB,EAAnBA,4BAFoB;AAGpBC,EAAAA,aAAa,EAAbA,sBAHoB;AAIpBC,EAAAA,aAAa,EAAbA,sBAJoB;AAKpBC,EAAAA,eAAe,EAAfA,wBALoB;AAMpBC,EAAAA,YAAY,EAAZA,qBANoB;AAOpBC,EAAAA,kBAAkB,EAAlBA,2BAPoB;AAQpBC,EAAAA,kBAAkB,EAAlBA,2BARoB;AASpBC,EAAAA,oBAAoB,EAApBA,6BAToB;AAUpBC,EAAAA,iBAAiB,EAAjBA,0BAVoB;AAWpBC,EAAAA,iBAAiB,EAAjBA,0BAXoB;AAYpBC,EAAAA,mBAAmB,EAAnBA;AAZoB,CAAtB","sourcesContent":["import {default as H3TileLayer} from './layers/h3-tile-layer';\nimport {default as _PointLabelLayer} from './layers/point-label-layer';\nimport {default as QuadbinTileLayer} from './layers/quadbin-tile-layer';\nimport {default as RasterTileLayer} from './layers/raster-tile-layer';\nimport {default as VectorTileLayer} from './layers/vector-tile-layer';\nconst CARTO_LAYERS = {\n H3TileLayer,\n _PointLabelLayer,\n QuadbinTileLayer,\n RasterTileLayer,\n VectorTileLayer\n};\nexport {\n CARTO_LAYERS,\n H3TileLayer,\n _PointLabelLayer,\n QuadbinTileLayer,\n RasterTileLayer,\n VectorTileLayer\n};\n\nexport {default as BASEMAP} from './basemap';\nexport {default as colorBins} from './style/color-bins-style';\nexport {default as colorCategories} from './style/color-categories-style';\nexport {default as colorContinuous} from './style/color-continuous-style';\nexport {CartoAPIError, fetchMap, query} from './api';\nexport type {\n APIErrorContext,\n FetchMapOptions,\n Format,\n MapType,\n RequestType,\n QueryParameters,\n QueryOptions\n} from './api';\n\nimport {\n boundaryQuerySource,\n boundaryTableSource,\n h3QuerySource,\n h3TableSource,\n h3TilesetSource,\n rasterSource,\n quadbinQuerySource,\n quadbinTableSource,\n quadbinTilesetSource,\n vectorQuerySource,\n vectorTableSource,\n vectorTilesetSource,\n SOURCE_DEFAULTS\n} from './sources';\n\nconst CARTO_SOURCES = {\n boundaryQuerySource,\n boundaryTableSource,\n h3QuerySource,\n h3TableSource,\n h3TilesetSource,\n rasterSource,\n quadbinQuerySource,\n quadbinTableSource,\n quadbinTilesetSource,\n vectorQuerySource,\n vectorTableSource,\n vectorTilesetSource\n};\n\nexport {\n boundaryQuerySource,\n boundaryTableSource,\n h3QuerySource,\n h3TableSource,\n h3TilesetSource,\n rasterSource,\n quadbinQuerySource,\n quadbinTableSource,\n quadbinTilesetSource,\n vectorQuerySource,\n vectorTableSource,\n vectorTilesetSource,\n CARTO_SOURCES,\n SOURCE_DEFAULTS\n};\n\nexport type {\n TilejsonResult,\n BoundaryQuerySourceOptions,\n BoundaryTableSourceOptions,\n H3QuerySourceOptions,\n H3TableSourceOptions,\n H3TilesetSourceOptions,\n RasterSourceOptions,\n QuadbinQuerySourceOptions,\n QuadbinTableSourceOptions,\n QuadbinTilesetSourceOptions,\n VectorQuerySourceOptions,\n VectorTableSourceOptions,\n VectorTilesetSourceOptions,\n GeojsonResult,\n JsonResult\n} from './sources';\n"],"file":"index.js"}
|
|
@@ -17,7 +17,7 @@ var _tileLoaderUtils = require("./tile-loader-utils");
|
|
|
17
17
|
|
|
18
18
|
var _utils = require("../../utils");
|
|
19
19
|
|
|
20
|
-
var VERSION = typeof "9.0.0-alpha.
|
|
20
|
+
var VERSION = typeof "9.0.0-alpha.6" !== 'undefined' ? "9.0.0-alpha.6" : 'latest';
|
|
21
21
|
var id = 'cartoRasterTile';
|
|
22
22
|
var DEFAULT_OPTIONS = {
|
|
23
23
|
cartoRasterTile: {
|
|
@@ -19,7 +19,7 @@ var _utils = require("../../utils");
|
|
|
19
19
|
|
|
20
20
|
var _spatialjsonUtils = require("./spatialjson-utils");
|
|
21
21
|
|
|
22
|
-
var VERSION = typeof "9.0.0-alpha.
|
|
22
|
+
var VERSION = typeof "9.0.0-alpha.6" !== 'undefined' ? "9.0.0-alpha.6" : 'latest';
|
|
23
23
|
var id = 'cartoSpatialTile';
|
|
24
24
|
var DEFAULT_OPTIONS = {
|
|
25
25
|
cartoSpatialTile: {
|
|
@@ -19,7 +19,7 @@ var _tileLoaderUtils = require("./tile-loader-utils");
|
|
|
19
19
|
|
|
20
20
|
var _utils = require("../../utils");
|
|
21
21
|
|
|
22
|
-
var VERSION = typeof "9.0.0-alpha.
|
|
22
|
+
var VERSION = typeof "9.0.0-alpha.6" !== 'undefined' ? "9.0.0-alpha.6" : 'latest';
|
|
23
23
|
var id = 'cartoVectorTile';
|
|
24
24
|
var DEFAULT_OPTIONS = {
|
|
25
25
|
cartoVectorTile: {
|
|
@@ -15,17 +15,17 @@ var _baseSource = require("./base-source");
|
|
|
15
15
|
|
|
16
16
|
var boundaryQuerySource = function () {
|
|
17
17
|
var _ref = (0, _asyncToGenerator2.default)(_regenerator.default.mark(function _callee(options) {
|
|
18
|
-
var
|
|
18
|
+
var tilesetTableName, _options$matchingColu, matchingColumn, propertiesSqlQuery, queryParameters, urlParameters;
|
|
19
19
|
|
|
20
20
|
return _regenerator.default.wrap(function _callee$(_context) {
|
|
21
21
|
while (1) {
|
|
22
22
|
switch (_context.prev = _context.next) {
|
|
23
23
|
case 0:
|
|
24
|
-
|
|
24
|
+
tilesetTableName = options.tilesetTableName, _options$matchingColu = options.matchingColumn, matchingColumn = _options$matchingColu === void 0 ? 'id' : _options$matchingColu, propertiesSqlQuery = options.propertiesSqlQuery, queryParameters = options.queryParameters;
|
|
25
25
|
urlParameters = {
|
|
26
|
-
|
|
26
|
+
tilesetTableName: tilesetTableName,
|
|
27
27
|
matchingColumn: matchingColumn,
|
|
28
|
-
|
|
28
|
+
propertiesSqlQuery: propertiesSqlQuery
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
if (queryParameters) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/sources/boundary-query-source.ts"],"names":["boundaryQuerySource","options","
|
|
1
|
+
{"version":3,"sources":["../../../src/sources/boundary-query-source.ts"],"names":["boundaryQuerySource","options","tilesetTableName","matchingColumn","propertiesSqlQuery","queryParameters","urlParameters","JSON","stringify"],"mappings":";;;;;;;;;;;;;AACA;;AAgBO,IAAMA,mBAAmB;AAAA,uEAAG,iBACjCC,OADiC;AAAA;;AAAA;AAAA;AAAA;AAAA;AAG1BC,YAAAA,gBAH0B,GAGsDD,OAHtD,CAG1BC,gBAH0B,0BAGsDD,OAHtD,CAGRE,cAHQ,EAGRA,cAHQ,sCAGS,IAHT,0BAGeC,kBAHf,GAGsDH,OAHtD,CAGeG,kBAHf,EAGmCC,eAHnC,GAGsDJ,OAHtD,CAGmCI,eAHnC;AAI3BC,YAAAA,aAJ2B,GAII;AACnCJ,cAAAA,gBAAgB,EAAhBA,gBADmC;AAEnCC,cAAAA,cAAc,EAAdA,cAFmC;AAGnCC,cAAAA,kBAAkB,EAAlBA;AAHmC,aAJJ;;AASjC,gBAAIC,eAAJ,EAAqB;AACnBC,cAAAA,aAAa,CAACD,eAAd,GAAgCE,IAAI,CAACC,SAAL,CAAeH,eAAf,CAAhC;AACD;;AAXgC,6CAY1B,4BAA0B,UAA1B,EAAsCJ,OAAtC,EAA+CK,aAA/C,CAZ0B;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAH;;AAAA,kBAAnBN,mBAAmB;AAAA;AAAA;AAAA,GAAzB","sourcesContent":["import {QueryParameters} from '../api';\nimport {baseSource} from './base-source';\nimport type {SourceOptions, TilejsonResult} from './types';\n\nexport type BoundaryQuerySourceOptions = SourceOptions & {\n tilesetTableName: string;\n matchingColumn?: string;\n propertiesSqlQuery: string;\n queryParameters?: QueryParameters;\n};\ntype UrlParameters = {\n tilesetTableName: string;\n matchingColumn: string;\n propertiesSqlQuery: string;\n queryParameters?: string;\n};\n\nexport const boundaryQuerySource = async function (\n options: BoundaryQuerySourceOptions\n): Promise<TilejsonResult> {\n const {tilesetTableName, matchingColumn = 'id', propertiesSqlQuery, queryParameters} = options;\n const urlParameters: UrlParameters = {\n tilesetTableName,\n matchingColumn,\n propertiesSqlQuery\n };\n if (queryParameters) {\n urlParameters.queryParameters = JSON.stringify(queryParameters);\n }\n return baseSource<UrlParameters>('boundary', options, urlParameters) as Promise<TilejsonResult>;\n};\n"],"file":"boundary-query-source.js"}
|
|
@@ -15,17 +15,17 @@ var _baseSource = require("./base-source");
|
|
|
15
15
|
|
|
16
16
|
var boundaryTableSource = function () {
|
|
17
17
|
var _ref = (0, _asyncToGenerator2.default)(_regenerator.default.mark(function _callee(options) {
|
|
18
|
-
var
|
|
18
|
+
var tilesetTableName, columns, _options$matchingColu, matchingColumn, propertiesTableName, urlParameters;
|
|
19
19
|
|
|
20
20
|
return _regenerator.default.wrap(function _callee$(_context) {
|
|
21
21
|
while (1) {
|
|
22
22
|
switch (_context.prev = _context.next) {
|
|
23
23
|
case 0:
|
|
24
|
-
|
|
24
|
+
tilesetTableName = options.tilesetTableName, columns = options.columns, _options$matchingColu = options.matchingColumn, matchingColumn = _options$matchingColu === void 0 ? 'id' : _options$matchingColu, propertiesTableName = options.propertiesTableName;
|
|
25
25
|
urlParameters = {
|
|
26
|
-
|
|
26
|
+
tilesetTableName: tilesetTableName,
|
|
27
27
|
matchingColumn: matchingColumn,
|
|
28
|
-
|
|
28
|
+
propertiesTableName: propertiesTableName
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
if (columns) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/sources/boundary-table-source.ts"],"names":["boundaryTableSource","options","
|
|
1
|
+
{"version":3,"sources":["../../../src/sources/boundary-table-source.ts"],"names":["boundaryTableSource","options","tilesetTableName","columns","matchingColumn","propertiesTableName","urlParameters","join"],"mappings":";;;;;;;;;;;;;AAAA;;AAgBO,IAAMA,mBAAmB;AAAA,uEAAG,iBACjCC,OADiC;AAAA;;AAAA;AAAA;AAAA;AAAA;AAG1BC,YAAAA,gBAH0B,GAG+CD,OAH/C,CAG1BC,gBAH0B,EAGRC,OAHQ,GAG+CF,OAH/C,CAGRE,OAHQ,0BAG+CF,OAH/C,CAGCG,cAHD,EAGCA,cAHD,sCAGkB,IAHlB,0BAGwBC,mBAHxB,GAG+CJ,OAH/C,CAGwBI,mBAHxB;AAI3BC,YAAAA,aAJ2B,GAII;AACnCJ,cAAAA,gBAAgB,EAAhBA,gBADmC;AAEnCE,cAAAA,cAAc,EAAdA,cAFmC;AAGnCC,cAAAA,mBAAmB,EAAnBA;AAHmC,aAJJ;;AAUjC,gBAAIF,OAAJ,EAAa;AACXG,cAAAA,aAAa,CAACH,OAAd,GAAwBA,OAAO,CAACI,IAAR,CAAa,GAAb,CAAxB;AACD;;AAZgC,6CAa1B,4BAA0B,UAA1B,EAAsCN,OAAtC,EAA+CK,aAA/C,CAb0B;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAH;;AAAA,kBAAnBN,mBAAmB;AAAA;AAAA;AAAA,GAAzB","sourcesContent":["import {baseSource} from './base-source';\nimport type {SourceOptions, TilejsonResult} from './types';\n\nexport type BoundaryTableSourceOptions = SourceOptions & {\n tilesetTableName: string;\n columns?: string[];\n matchingColumn?: string;\n propertiesTableName: string;\n};\ntype UrlParameters = {\n tilesetTableName: string;\n columns?: string;\n matchingColumn: string;\n propertiesTableName: string;\n};\n\nexport const boundaryTableSource = async function (\n options: BoundaryTableSourceOptions\n): Promise<TilejsonResult> {\n const {tilesetTableName, columns, matchingColumn = 'id', propertiesTableName} = options;\n const urlParameters: UrlParameters = {\n tilesetTableName,\n matchingColumn,\n propertiesTableName\n };\n\n if (columns) {\n urlParameters.columns = columns.join(',');\n }\n return baseSource<UrlParameters>('boundary', options, urlParameters) as Promise<TilejsonResult>;\n};\n"],"file":"boundary-table-source.js"}
|
|
@@ -21,12 +21,6 @@ Object.defineProperty(exports, "boundaryTableSource", {
|
|
|
21
21
|
return _boundaryTableSource.boundaryTableSource;
|
|
22
22
|
}
|
|
23
23
|
});
|
|
24
|
-
Object.defineProperty(exports, "boundaryTilesetSource", {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: function get() {
|
|
27
|
-
return _boundaryTilesetSource.boundaryTilesetSource;
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
24
|
Object.defineProperty(exports, "h3QuerySource", {
|
|
31
25
|
enumerable: true,
|
|
32
26
|
get: function get() {
|
|
@@ -94,8 +88,6 @@ var _boundaryQuerySource = require("./boundary-query-source");
|
|
|
94
88
|
|
|
95
89
|
var _boundaryTableSource = require("./boundary-table-source");
|
|
96
90
|
|
|
97
|
-
var _boundaryTilesetSource = require("./boundary-tileset-source");
|
|
98
|
-
|
|
99
91
|
var _h3QuerySource = require("./h3-query-source");
|
|
100
92
|
|
|
101
93
|
var _h3TableSource = require("./h3-table-source");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/sources/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../src/sources/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AAGA;;AAGA;;AAGA;;AAGA;;AAGA;;AAGA;;AAGA;;AAGA;;AAGA;;AAGA;;AAGA;;AAGA","sourcesContent":["export {SOURCE_DEFAULTS} from './base-source';\nexport type {TilejsonResult, GeojsonResult, JsonResult} from './types';\n\nexport {boundaryQuerySource} from './boundary-query-source';\nexport type {BoundaryQuerySourceOptions} from './boundary-query-source';\n\nexport {boundaryTableSource} from './boundary-table-source';\nexport type {BoundaryTableSourceOptions} from './boundary-table-source';\n\nexport {h3QuerySource} from './h3-query-source';\nexport type {H3QuerySourceOptions} from './h3-query-source';\n\nexport {h3TableSource} from './h3-table-source';\nexport type {H3TableSourceOptions} from './h3-table-source';\n\nexport {h3TilesetSource} from './h3-tileset-source';\nexport type {H3TilesetSourceOptions} from './h3-tileset-source';\n\nexport {rasterSource} from './raster-source';\nexport type {RasterSourceOptions} from './raster-source';\n\nexport {quadbinQuerySource} from './quadbin-query-source';\nexport type {QuadbinQuerySourceOptions} from './quadbin-query-source';\n\nexport {quadbinTableSource} from './quadbin-table-source';\nexport type {QuadbinTableSourceOptions} from './quadbin-table-source';\n\nexport {quadbinTilesetSource} from './quadbin-tileset-source';\nexport type {QuadbinTilesetSourceOptions} from './quadbin-tileset-source';\n\nexport {vectorQuerySource} from './vector-query-source';\nexport type {VectorQuerySourceOptions} from './vector-query-source';\n\nexport {vectorTableSource} from './vector-table-source';\nexport type {VectorTableSourceOptions} from './vector-table-source';\n\nexport {vectorTilesetSource} from './vector-tileset-source';\nexport type {VectorTilesetSourceOptions} from './vector-tileset-source';\n"],"file":"index.js"}
|
package/dist/esm/index.js
CHANGED
|
@@ -16,11 +16,10 @@ export { default as colorBins } from './style/color-bins-style';
|
|
|
16
16
|
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
|
-
import { boundaryQuerySource, boundaryTableSource,
|
|
19
|
+
import { boundaryQuerySource, boundaryTableSource, h3QuerySource, h3TableSource, h3TilesetSource, rasterSource, quadbinQuerySource, quadbinTableSource, quadbinTilesetSource, vectorQuerySource, vectorTableSource, vectorTilesetSource, SOURCE_DEFAULTS } from './sources';
|
|
20
20
|
const CARTO_SOURCES = {
|
|
21
21
|
boundaryQuerySource,
|
|
22
22
|
boundaryTableSource,
|
|
23
|
-
boundaryTilesetSource,
|
|
24
23
|
h3QuerySource,
|
|
25
24
|
h3TableSource,
|
|
26
25
|
h3TilesetSource,
|
|
@@ -32,5 +31,5 @@ const CARTO_SOURCES = {
|
|
|
32
31
|
vectorTableSource,
|
|
33
32
|
vectorTilesetSource
|
|
34
33
|
};
|
|
35
|
-
export { boundaryQuerySource, boundaryTableSource,
|
|
34
|
+
export { boundaryQuerySource, boundaryTableSource, h3QuerySource, h3TableSource, h3TilesetSource, rasterSource, quadbinQuerySource, quadbinTableSource, quadbinTilesetSource, vectorQuerySource, vectorTableSource, vectorTilesetSource, CARTO_SOURCES, SOURCE_DEFAULTS };
|
|
36
35
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts"],"names":["default","H3TileLayer","_PointLabelLayer","QuadbinTileLayer","RasterTileLayer","VectorTileLayer","CARTO_LAYERS","BASEMAP","colorBins","colorCategories","colorContinuous","CartoAPIError","fetchMap","query","boundaryQuerySource","boundaryTableSource","
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts"],"names":["default","H3TileLayer","_PointLabelLayer","QuadbinTileLayer","RasterTileLayer","VectorTileLayer","CARTO_LAYERS","BASEMAP","colorBins","colorCategories","colorContinuous","CartoAPIError","fetchMap","query","boundaryQuerySource","boundaryTableSource","h3QuerySource","h3TableSource","h3TilesetSource","rasterSource","quadbinQuerySource","quadbinTableSource","quadbinTilesetSource","vectorQuerySource","vectorTableSource","vectorTilesetSource","SOURCE_DEFAULTS","CARTO_SOURCES"],"mappings":"AAAA,SAAQA,OAAO,IAAIC,WAAnB,QAAqC,wBAArC;AACA,SAAQD,OAAO,IAAIE,gBAAnB,QAA0C,4BAA1C;AACA,SAAQF,OAAO,IAAIG,gBAAnB,QAA0C,6BAA1C;AACA,SAAQH,OAAO,IAAII,eAAnB,QAAyC,4BAAzC;AACA,SAAQJ,OAAO,IAAIK,eAAnB,QAAyC,4BAAzC;AACA,MAAMC,YAAY,GAAG;AACnBL,EAAAA,WADmB;AAEnBC,EAAAA,gBAFmB;AAGnBC,EAAAA,gBAHmB;AAInBC,EAAAA,eAJmB;AAKnBC,EAAAA;AALmB,CAArB;AAOA,SACEC,YADF,EAEEL,WAFF,EAGEC,gBAHF,EAIEC,gBAJF,EAKEC,eALF,EAMEC,eANF;AASA,SAAQL,OAAO,IAAIO,OAAnB,QAAiC,WAAjC;AACA,SAAQP,OAAO,IAAIQ,SAAnB,QAAmC,0BAAnC;AACA,SAAQR,OAAO,IAAIS,eAAnB,QAAyC,gCAAzC;AACA,SAAQT,OAAO,IAAIU,eAAnB,QAAyC,gCAAzC;AACA,SAAQC,aAAR,EAAuBC,QAAvB,EAAiCC,KAAjC,QAA6C,OAA7C;AAWA,SACEC,mBADF,EAEEC,mBAFF,EAGEC,aAHF,EAIEC,aAJF,EAKEC,eALF,EAMEC,YANF,EAOEC,kBAPF,EAQEC,kBARF,EASEC,oBATF,EAUEC,iBAVF,EAWEC,iBAXF,EAYEC,mBAZF,EAaEC,eAbF,QAcO,WAdP;AAgBA,MAAMC,aAAa,GAAG;AACpBb,EAAAA,mBADoB;AAEpBC,EAAAA,mBAFoB;AAGpBC,EAAAA,aAHoB;AAIpBC,EAAAA,aAJoB;AAKpBC,EAAAA,eALoB;AAMpBC,EAAAA,YANoB;AAOpBC,EAAAA,kBAPoB;AAQpBC,EAAAA,kBARoB;AASpBC,EAAAA,oBAToB;AAUpBC,EAAAA,iBAVoB;AAWpBC,EAAAA,iBAXoB;AAYpBC,EAAAA;AAZoB,CAAtB;AAeA,SACEX,mBADF,EAEEC,mBAFF,EAGEC,aAHF,EAIEC,aAJF,EAKEC,eALF,EAMEC,YANF,EAOEC,kBAPF,EAQEC,kBARF,EASEC,oBATF,EAUEC,iBAVF,EAWEC,iBAXF,EAYEC,mBAZF,EAaEE,aAbF,EAcED,eAdF","sourcesContent":["import {default as H3TileLayer} from './layers/h3-tile-layer';\nimport {default as _PointLabelLayer} from './layers/point-label-layer';\nimport {default as QuadbinTileLayer} from './layers/quadbin-tile-layer';\nimport {default as RasterTileLayer} from './layers/raster-tile-layer';\nimport {default as VectorTileLayer} from './layers/vector-tile-layer';\nconst CARTO_LAYERS = {\n H3TileLayer,\n _PointLabelLayer,\n QuadbinTileLayer,\n RasterTileLayer,\n VectorTileLayer\n};\nexport {\n CARTO_LAYERS,\n H3TileLayer,\n _PointLabelLayer,\n QuadbinTileLayer,\n RasterTileLayer,\n VectorTileLayer\n};\n\nexport {default as BASEMAP} from './basemap';\nexport {default as colorBins} from './style/color-bins-style';\nexport {default as colorCategories} from './style/color-categories-style';\nexport {default as colorContinuous} from './style/color-continuous-style';\nexport {CartoAPIError, fetchMap, query} from './api';\nexport type {\n APIErrorContext,\n FetchMapOptions,\n Format,\n MapType,\n RequestType,\n QueryParameters,\n QueryOptions\n} from './api';\n\nimport {\n boundaryQuerySource,\n boundaryTableSource,\n h3QuerySource,\n h3TableSource,\n h3TilesetSource,\n rasterSource,\n quadbinQuerySource,\n quadbinTableSource,\n quadbinTilesetSource,\n vectorQuerySource,\n vectorTableSource,\n vectorTilesetSource,\n SOURCE_DEFAULTS\n} from './sources';\n\nconst CARTO_SOURCES = {\n boundaryQuerySource,\n boundaryTableSource,\n h3QuerySource,\n h3TableSource,\n h3TilesetSource,\n rasterSource,\n quadbinQuerySource,\n quadbinTableSource,\n quadbinTilesetSource,\n vectorQuerySource,\n vectorTableSource,\n vectorTilesetSource\n};\n\nexport {\n boundaryQuerySource,\n boundaryTableSource,\n h3QuerySource,\n h3TableSource,\n h3TilesetSource,\n rasterSource,\n quadbinQuerySource,\n quadbinTableSource,\n quadbinTilesetSource,\n vectorQuerySource,\n vectorTableSource,\n vectorTilesetSource,\n CARTO_SOURCES,\n SOURCE_DEFAULTS\n};\n\nexport type {\n TilejsonResult,\n BoundaryQuerySourceOptions,\n BoundaryTableSourceOptions,\n H3QuerySourceOptions,\n H3TableSourceOptions,\n H3TilesetSourceOptions,\n RasterSourceOptions,\n QuadbinQuerySourceOptions,\n QuadbinTableSourceOptions,\n QuadbinTilesetSourceOptions,\n VectorQuerySourceOptions,\n VectorTableSourceOptions,\n VectorTilesetSourceOptions,\n GeojsonResult,\n JsonResult\n} from './sources';\n"],"file":"index.js"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TileReader } from './carto-raster-tile';
|
|
2
2
|
import { parsePbf } from './tile-loader-utils';
|
|
3
3
|
import { getWorkerUrl } from '../../utils';
|
|
4
|
-
const VERSION = typeof "9.0.0-alpha.
|
|
4
|
+
const VERSION = typeof "9.0.0-alpha.6" !== 'undefined' ? "9.0.0-alpha.6" : 'latest';
|
|
5
5
|
const id = 'cartoRasterTile';
|
|
6
6
|
const DEFAULT_OPTIONS = {
|
|
7
7
|
cartoRasterTile: {
|
|
@@ -2,7 +2,7 @@ import { TileReader } from './carto-spatial-tile';
|
|
|
2
2
|
import { parsePbf } from './tile-loader-utils';
|
|
3
3
|
import { getWorkerUrl } from '../../utils';
|
|
4
4
|
import { binaryToSpatialjson } from './spatialjson-utils';
|
|
5
|
-
const VERSION = typeof "9.0.0-alpha.
|
|
5
|
+
const VERSION = typeof "9.0.0-alpha.6" !== 'undefined' ? "9.0.0-alpha.6" : 'latest';
|
|
6
6
|
const id = 'cartoSpatialTile';
|
|
7
7
|
const DEFAULT_OPTIONS = {
|
|
8
8
|
cartoSpatialTile: {
|
|
@@ -2,7 +2,7 @@ import earcut from 'earcut';
|
|
|
2
2
|
import { TileReader } from './carto-tile';
|
|
3
3
|
import { parsePbf } from './tile-loader-utils';
|
|
4
4
|
import { getWorkerUrl } from '../../utils';
|
|
5
|
-
const VERSION = typeof "9.0.0-alpha.
|
|
5
|
+
const VERSION = typeof "9.0.0-alpha.6" !== 'undefined' ? "9.0.0-alpha.6" : 'latest';
|
|
6
6
|
const id = 'cartoVectorTile';
|
|
7
7
|
const DEFAULT_OPTIONS = {
|
|
8
8
|
cartoVectorTile: {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { baseSource } from './base-source';
|
|
2
2
|
export const boundaryQuerySource = async function (options) {
|
|
3
3
|
const {
|
|
4
|
-
|
|
4
|
+
tilesetTableName,
|
|
5
5
|
matchingColumn = 'id',
|
|
6
|
-
|
|
6
|
+
propertiesSqlQuery,
|
|
7
7
|
queryParameters
|
|
8
8
|
} = options;
|
|
9
9
|
const urlParameters = {
|
|
10
|
-
|
|
10
|
+
tilesetTableName,
|
|
11
11
|
matchingColumn,
|
|
12
|
-
|
|
12
|
+
propertiesSqlQuery
|
|
13
13
|
};
|
|
14
14
|
|
|
15
15
|
if (queryParameters) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/sources/boundary-query-source.ts"],"names":["baseSource","boundaryQuerySource","options","
|
|
1
|
+
{"version":3,"sources":["../../../src/sources/boundary-query-source.ts"],"names":["baseSource","boundaryQuerySource","options","tilesetTableName","matchingColumn","propertiesSqlQuery","queryParameters","urlParameters","JSON","stringify"],"mappings":"AACA,SAAQA,UAAR,QAAyB,eAAzB;AAgBA,OAAO,MAAMC,mBAAmB,GAAG,gBACjCC,OADiC,EAER;AACzB,QAAM;AAACC,IAAAA,gBAAD;AAAmBC,IAAAA,cAAc,GAAG,IAApC;AAA0CC,IAAAA,kBAA1C;AAA8DC,IAAAA;AAA9D,MAAiFJ,OAAvF;AACA,QAAMK,aAA4B,GAAG;AACnCJ,IAAAA,gBADmC;AAEnCC,IAAAA,cAFmC;AAGnCC,IAAAA;AAHmC,GAArC;;AAKA,MAAIC,eAAJ,EAAqB;AACnBC,IAAAA,aAAa,CAACD,eAAd,GAAgCE,IAAI,CAACC,SAAL,CAAeH,eAAf,CAAhC;AACD;;AACD,SAAON,UAAU,CAAgB,UAAhB,EAA4BE,OAA5B,EAAqCK,aAArC,CAAjB;AACD,CAbM","sourcesContent":["import {QueryParameters} from '../api';\nimport {baseSource} from './base-source';\nimport type {SourceOptions, TilejsonResult} from './types';\n\nexport type BoundaryQuerySourceOptions = SourceOptions & {\n tilesetTableName: string;\n matchingColumn?: string;\n propertiesSqlQuery: string;\n queryParameters?: QueryParameters;\n};\ntype UrlParameters = {\n tilesetTableName: string;\n matchingColumn: string;\n propertiesSqlQuery: string;\n queryParameters?: string;\n};\n\nexport const boundaryQuerySource = async function (\n options: BoundaryQuerySourceOptions\n): Promise<TilejsonResult> {\n const {tilesetTableName, matchingColumn = 'id', propertiesSqlQuery, queryParameters} = options;\n const urlParameters: UrlParameters = {\n tilesetTableName,\n matchingColumn,\n propertiesSqlQuery\n };\n if (queryParameters) {\n urlParameters.queryParameters = JSON.stringify(queryParameters);\n }\n return baseSource<UrlParameters>('boundary', options, urlParameters) as Promise<TilejsonResult>;\n};\n"],"file":"boundary-query-source.js"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { baseSource } from './base-source';
|
|
2
2
|
export const boundaryTableSource = async function (options) {
|
|
3
3
|
const {
|
|
4
|
-
|
|
4
|
+
tilesetTableName,
|
|
5
5
|
columns,
|
|
6
6
|
matchingColumn = 'id',
|
|
7
|
-
|
|
7
|
+
propertiesTableName
|
|
8
8
|
} = options;
|
|
9
9
|
const urlParameters = {
|
|
10
|
-
|
|
10
|
+
tilesetTableName,
|
|
11
11
|
matchingColumn,
|
|
12
|
-
|
|
12
|
+
propertiesTableName
|
|
13
13
|
};
|
|
14
14
|
|
|
15
15
|
if (columns) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/sources/boundary-table-source.ts"],"names":["baseSource","boundaryTableSource","options","
|
|
1
|
+
{"version":3,"sources":["../../../src/sources/boundary-table-source.ts"],"names":["baseSource","boundaryTableSource","options","tilesetTableName","columns","matchingColumn","propertiesTableName","urlParameters","join"],"mappings":"AAAA,SAAQA,UAAR,QAAyB,eAAzB;AAgBA,OAAO,MAAMC,mBAAmB,GAAG,gBACjCC,OADiC,EAER;AACzB,QAAM;AAACC,IAAAA,gBAAD;AAAmBC,IAAAA,OAAnB;AAA4BC,IAAAA,cAAc,GAAG,IAA7C;AAAmDC,IAAAA;AAAnD,MAA0EJ,OAAhF;AACA,QAAMK,aAA4B,GAAG;AACnCJ,IAAAA,gBADmC;AAEnCE,IAAAA,cAFmC;AAGnCC,IAAAA;AAHmC,GAArC;;AAMA,MAAIF,OAAJ,EAAa;AACXG,IAAAA,aAAa,CAACH,OAAd,GAAwBA,OAAO,CAACI,IAAR,CAAa,GAAb,CAAxB;AACD;;AACD,SAAOR,UAAU,CAAgB,UAAhB,EAA4BE,OAA5B,EAAqCK,aAArC,CAAjB;AACD,CAdM","sourcesContent":["import {baseSource} from './base-source';\nimport type {SourceOptions, TilejsonResult} from './types';\n\nexport type BoundaryTableSourceOptions = SourceOptions & {\n tilesetTableName: string;\n columns?: string[];\n matchingColumn?: string;\n propertiesTableName: string;\n};\ntype UrlParameters = {\n tilesetTableName: string;\n columns?: string;\n matchingColumn: string;\n propertiesTableName: string;\n};\n\nexport const boundaryTableSource = async function (\n options: BoundaryTableSourceOptions\n): Promise<TilejsonResult> {\n const {tilesetTableName, columns, matchingColumn = 'id', propertiesTableName} = options;\n const urlParameters: UrlParameters = {\n tilesetTableName,\n matchingColumn,\n propertiesTableName\n };\n\n if (columns) {\n urlParameters.columns = columns.join(',');\n }\n return baseSource<UrlParameters>('boundary', options, urlParameters) as Promise<TilejsonResult>;\n};\n"],"file":"boundary-table-source.js"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export { SOURCE_DEFAULTS } from './base-source';
|
|
2
2
|
export { boundaryQuerySource } from './boundary-query-source';
|
|
3
3
|
export { boundaryTableSource } from './boundary-table-source';
|
|
4
|
-
export { boundaryTilesetSource } from './boundary-tileset-source';
|
|
5
4
|
export { h3QuerySource } from './h3-query-source';
|
|
6
5
|
export { h3TableSource } from './h3-table-source';
|
|
7
6
|
export { h3TilesetSource } from './h3-tileset-source';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/sources/index.ts"],"names":["SOURCE_DEFAULTS","boundaryQuerySource","boundaryTableSource","
|
|
1
|
+
{"version":3,"sources":["../../../src/sources/index.ts"],"names":["SOURCE_DEFAULTS","boundaryQuerySource","boundaryTableSource","h3QuerySource","h3TableSource","h3TilesetSource","rasterSource","quadbinQuerySource","quadbinTableSource","quadbinTilesetSource","vectorQuerySource","vectorTableSource","vectorTilesetSource"],"mappings":"AAAA,SAAQA,eAAR,QAA8B,eAA9B;AAGA,SAAQC,mBAAR,QAAkC,yBAAlC;AAGA,SAAQC,mBAAR,QAAkC,yBAAlC;AAGA,SAAQC,aAAR,QAA4B,mBAA5B;AAGA,SAAQC,aAAR,QAA4B,mBAA5B;AAGA,SAAQC,eAAR,QAA8B,qBAA9B;AAGA,SAAQC,YAAR,QAA2B,iBAA3B;AAGA,SAAQC,kBAAR,QAAiC,wBAAjC;AAGA,SAAQC,kBAAR,QAAiC,wBAAjC;AAGA,SAAQC,oBAAR,QAAmC,0BAAnC;AAGA,SAAQC,iBAAR,QAAgC,uBAAhC;AAGA,SAAQC,iBAAR,QAAgC,uBAAhC;AAGA,SAAQC,mBAAR,QAAkC,yBAAlC","sourcesContent":["export {SOURCE_DEFAULTS} from './base-source';\nexport type {TilejsonResult, GeojsonResult, JsonResult} from './types';\n\nexport {boundaryQuerySource} from './boundary-query-source';\nexport type {BoundaryQuerySourceOptions} from './boundary-query-source';\n\nexport {boundaryTableSource} from './boundary-table-source';\nexport type {BoundaryTableSourceOptions} from './boundary-table-source';\n\nexport {h3QuerySource} from './h3-query-source';\nexport type {H3QuerySourceOptions} from './h3-query-source';\n\nexport {h3TableSource} from './h3-table-source';\nexport type {H3TableSourceOptions} from './h3-table-source';\n\nexport {h3TilesetSource} from './h3-tileset-source';\nexport type {H3TilesetSourceOptions} from './h3-tileset-source';\n\nexport {rasterSource} from './raster-source';\nexport type {RasterSourceOptions} from './raster-source';\n\nexport {quadbinQuerySource} from './quadbin-query-source';\nexport type {QuadbinQuerySourceOptions} from './quadbin-query-source';\n\nexport {quadbinTableSource} from './quadbin-table-source';\nexport type {QuadbinTableSourceOptions} from './quadbin-table-source';\n\nexport {quadbinTilesetSource} from './quadbin-tileset-source';\nexport type {QuadbinTilesetSourceOptions} from './quadbin-tileset-source';\n\nexport {vectorQuerySource} from './vector-query-source';\nexport type {VectorQuerySourceOptions} from './vector-query-source';\n\nexport {vectorTableSource} from './vector-table-source';\nexport type {VectorTableSourceOptions} from './vector-table-source';\n\nexport {vectorTilesetSource} from './vector-tileset-source';\nexport type {VectorTilesetSourceOptions} from './vector-tileset-source';\n"],"file":"index.js"}
|