@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.
Files changed (48) hide show
  1. package/dist/cartoRasterTile-worker.js +1 -1
  2. package/dist/cartoSpatialTile-worker.js +1 -1
  3. package/dist/cartoVectorTile-worker.js +1 -1
  4. package/dist/dist.dev.js +11 -24
  5. package/dist/es5/index.js +0 -7
  6. package/dist/es5/index.js.map +1 -1
  7. package/dist/es5/layers/schema/carto-raster-tile-loader.js +1 -1
  8. package/dist/es5/layers/schema/carto-spatial-tile-loader.js +1 -1
  9. package/dist/es5/layers/schema/carto-vector-tile-loader.js +1 -1
  10. package/dist/es5/sources/boundary-query-source.js +4 -4
  11. package/dist/es5/sources/boundary-query-source.js.map +1 -1
  12. package/dist/es5/sources/boundary-table-source.js +4 -4
  13. package/dist/es5/sources/boundary-table-source.js.map +1 -1
  14. package/dist/es5/sources/index.js +0 -8
  15. package/dist/es5/sources/index.js.map +1 -1
  16. package/dist/esm/index.js +2 -3
  17. package/dist/esm/index.js.map +1 -1
  18. package/dist/esm/layers/schema/carto-raster-tile-loader.js +1 -1
  19. package/dist/esm/layers/schema/carto-spatial-tile-loader.js +1 -1
  20. package/dist/esm/layers/schema/carto-vector-tile-loader.js +1 -1
  21. package/dist/esm/sources/boundary-query-source.js +4 -4
  22. package/dist/esm/sources/boundary-query-source.js.map +1 -1
  23. package/dist/esm/sources/boundary-table-source.js +4 -4
  24. package/dist/esm/sources/boundary-table-source.js.map +1 -1
  25. package/dist/esm/sources/index.js +0 -1
  26. package/dist/esm/sources/index.js.map +1 -1
  27. package/dist.min.js +39 -39
  28. package/package.json +2 -2
  29. package/src/index.ts +0 -4
  30. package/src/sources/boundary-query-source.ts +7 -7
  31. package/src/sources/boundary-table-source.ts +7 -7
  32. package/src/sources/index.ts +0 -3
  33. package/typed/index.d.ts +3 -4
  34. package/typed/index.d.ts.map +1 -1
  35. package/typed/sources/boundary-query-source.d.ts +2 -2
  36. package/typed/sources/boundary-query-source.d.ts.map +1 -1
  37. package/typed/sources/boundary-table-source.d.ts +2 -2
  38. package/typed/sources/boundary-table-source.d.ts.map +1 -1
  39. package/typed/sources/index.d.ts +0 -2
  40. package/typed/sources/index.d.ts.map +1 -1
  41. package/dist/es5/sources/boundary-tileset-source.js +0 -43
  42. package/dist/es5/sources/boundary-tileset-source.js.map +0 -1
  43. package/dist/esm/sources/boundary-tileset-source.js +0 -11
  44. package/dist/esm/sources/boundary-tileset-source.js.map +0 -1
  45. package/src/.DS_Store +0 -0
  46. package/src/sources/boundary-tileset-source.ts +0 -14
  47. package/typed/sources/boundary-tileset-source.d.ts +0 -6
  48. 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.5" : "latest";
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.5" : "latest";
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.5" : "latest";
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.5" : "latest";
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.5" : "latest";
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.5" : "latest";
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
- boundaryId,
13258
+ tilesetTableName,
13260
13259
  matchingColumn = "id",
13261
- sqlQuery,
13260
+ propertiesSqlQuery,
13262
13261
  queryParameters
13263
13262
  } = options;
13264
13263
  const urlParameters = {
13265
- boundaryId,
13264
+ tilesetTableName,
13266
13265
  matchingColumn,
13267
- sqlQuery
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
- boundaryId,
13277
+ tilesetTableName,
13279
13278
  columns,
13280
13279
  matchingColumn = "id",
13281
- tableName
13280
+ propertiesTableName
13282
13281
  } = options;
13283
13282
  const urlParameters = {
13284
- boundaryId,
13283
+ tilesetTableName,
13285
13284
  matchingColumn,
13286
- tableName
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,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts"],"names":["CARTO_LAYERS","H3TileLayer","_PointLabelLayer","QuadbinTileLayer","RasterTileLayer","VectorTileLayer","CARTO_SOURCES","boundaryQuerySource","boundaryTableSource","boundaryTilesetSource","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;;AAgDA,IAAMC,aAAa,GAAG;AACpBC,EAAAA,mBAAmB,EAAnBA,4BADoB;AAEpBC,EAAAA,mBAAmB,EAAnBA,4BAFoB;AAGpBC,EAAAA,qBAAqB,EAArBA,8BAHoB;AAIpBC,EAAAA,aAAa,EAAbA,sBAJoB;AAKpBC,EAAAA,aAAa,EAAbA,sBALoB;AAMpBC,EAAAA,eAAe,EAAfA,wBANoB;AAOpBC,EAAAA,YAAY,EAAZA,qBAPoB;AAQpBC,EAAAA,kBAAkB,EAAlBA,2BARoB;AASpBC,EAAAA,kBAAkB,EAAlBA,2BAToB;AAUpBC,EAAAA,oBAAoB,EAApBA,6BAVoB;AAWpBC,EAAAA,iBAAiB,EAAjBA,0BAXoB;AAYpBC,EAAAA,iBAAiB,EAAjBA,0BAZoB;AAapBC,EAAAA,mBAAmB,EAAnBA;AAboB,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 boundaryTilesetSource,\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 boundaryTilesetSource,\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 boundaryTilesetSource,\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 BoundaryTilesetSourceOptions,\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
+ {"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.5" !== 'undefined' ? "9.0.0-alpha.5" : 'latest';
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.5" !== 'undefined' ? "9.0.0-alpha.5" : 'latest';
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.5" !== 'undefined' ? "9.0.0-alpha.5" : 'latest';
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 boundaryId, _options$matchingColu, matchingColumn, sqlQuery, queryParameters, urlParameters;
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
- boundaryId = options.boundaryId, _options$matchingColu = options.matchingColumn, matchingColumn = _options$matchingColu === void 0 ? 'id' : _options$matchingColu, sqlQuery = options.sqlQuery, queryParameters = options.queryParameters;
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
- boundaryId: boundaryId,
26
+ tilesetTableName: tilesetTableName,
27
27
  matchingColumn: matchingColumn,
28
- sqlQuery: sqlQuery
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","boundaryId","matchingColumn","sqlQuery","queryParameters","urlParameters","JSON","stringify"],"mappings":";;;;;;;;;;;;;AACA;;AAgBO,IAAMA,mBAAmB;AAAA,uEAAG,iBACjCC,OADiC;AAAA;;AAAA;AAAA;AAAA;AAAA;AAG1BC,YAAAA,UAH0B,GAGsCD,OAHtC,CAG1BC,UAH0B,0BAGsCD,OAHtC,CAGdE,cAHc,EAGdA,cAHc,sCAGG,IAHH,0BAGSC,QAHT,GAGsCH,OAHtC,CAGSG,QAHT,EAGmBC,eAHnB,GAGsCJ,OAHtC,CAGmBI,eAHnB;AAI3BC,YAAAA,aAJ2B,GAII;AACnCJ,cAAAA,UAAU,EAAVA,UADmC;AAEnCC,cAAAA,cAAc,EAAdA,cAFmC;AAGnCC,cAAAA,QAAQ,EAARA;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 boundaryId: string;\n matchingColumn?: string;\n sqlQuery: string;\n queryParameters?: QueryParameters;\n};\ntype UrlParameters = {\n boundaryId: string;\n matchingColumn: string;\n sqlQuery: string;\n queryParameters?: string;\n};\n\nexport const boundaryQuerySource = async function (\n options: BoundaryQuerySourceOptions\n): Promise<TilejsonResult> {\n const {boundaryId, matchingColumn = 'id', sqlQuery, queryParameters} = options;\n const urlParameters: UrlParameters = {\n boundaryId,\n matchingColumn,\n sqlQuery\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
+ {"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 boundaryId, columns, _options$matchingColu, matchingColumn, tableName, urlParameters;
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
- boundaryId = options.boundaryId, columns = options.columns, _options$matchingColu = options.matchingColumn, matchingColumn = _options$matchingColu === void 0 ? 'id' : _options$matchingColu, tableName = options.tableName;
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
- boundaryId: boundaryId,
26
+ tilesetTableName: tilesetTableName,
27
27
  matchingColumn: matchingColumn,
28
- tableName: tableName
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","boundaryId","columns","matchingColumn","tableName","urlParameters","join"],"mappings":";;;;;;;;;;;;;AAAA;;AAgBO,IAAMA,mBAAmB;AAAA,uEAAG,iBACjCC,OADiC;AAAA;;AAAA;AAAA;AAAA;AAAA;AAG1BC,YAAAA,UAH0B,GAG+BD,OAH/B,CAG1BC,UAH0B,EAGdC,OAHc,GAG+BF,OAH/B,CAGdE,OAHc,0BAG+BF,OAH/B,CAGLG,cAHK,EAGLA,cAHK,sCAGY,IAHZ,0BAGkBC,SAHlB,GAG+BJ,OAH/B,CAGkBI,SAHlB;AAI3BC,YAAAA,aAJ2B,GAII;AACnCJ,cAAAA,UAAU,EAAVA,UADmC;AAEnCE,cAAAA,cAAc,EAAdA,cAFmC;AAGnCC,cAAAA,SAAS,EAATA;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 boundaryId: string;\n columns?: string[];\n matchingColumn?: string;\n tableName: string;\n};\ntype UrlParameters = {\n boundaryId: string;\n columns?: string;\n matchingColumn: string;\n tableName: string;\n};\n\nexport const boundaryTableSource = async function (\n options: BoundaryTableSourceOptions\n): Promise<TilejsonResult> {\n const {boundaryId, columns, matchingColumn = 'id', tableName} = options;\n const urlParameters: UrlParameters = {\n boundaryId,\n matchingColumn,\n tableName\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
+ {"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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AAGA;;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 {boundaryTilesetSource} from './boundary-tileset-source';\nexport type {BoundaryTilesetSourceOptions} from './boundary-tileset-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"}
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, boundaryTilesetSource, h3QuerySource, h3TableSource, h3TilesetSource, rasterSource, quadbinQuerySource, quadbinTableSource, quadbinTilesetSource, vectorQuerySource, vectorTableSource, vectorTilesetSource, SOURCE_DEFAULTS } from './sources';
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, boundaryTilesetSource, h3QuerySource, h3TableSource, h3TilesetSource, rasterSource, quadbinQuerySource, quadbinTableSource, quadbinTilesetSource, vectorQuerySource, vectorTableSource, vectorTilesetSource, CARTO_SOURCES, SOURCE_DEFAULTS };
34
+ export { boundaryQuerySource, boundaryTableSource, h3QuerySource, h3TableSource, h3TilesetSource, rasterSource, quadbinQuerySource, quadbinTableSource, quadbinTilesetSource, vectorQuerySource, vectorTableSource, vectorTilesetSource, CARTO_SOURCES, SOURCE_DEFAULTS };
36
35
  //# sourceMappingURL=index.js.map
@@ -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","boundaryTilesetSource","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,qBAHF,EAIEC,aAJF,EAKEC,aALF,EAMEC,eANF,EAOEC,YAPF,EAQEC,kBARF,EASEC,kBATF,EAUEC,oBAVF,EAWEC,iBAXF,EAYEC,iBAZF,EAaEC,mBAbF,EAcEC,eAdF,QAeO,WAfP;AAiBA,MAAMC,aAAa,GAAG;AACpBd,EAAAA,mBADoB;AAEpBC,EAAAA,mBAFoB;AAGpBC,EAAAA,qBAHoB;AAIpBC,EAAAA,aAJoB;AAKpBC,EAAAA,aALoB;AAMpBC,EAAAA,eANoB;AAOpBC,EAAAA,YAPoB;AAQpBC,EAAAA,kBARoB;AASpBC,EAAAA,kBAToB;AAUpBC,EAAAA,oBAVoB;AAWpBC,EAAAA,iBAXoB;AAYpBC,EAAAA,iBAZoB;AAapBC,EAAAA;AAboB,CAAtB;AAgBA,SACEZ,mBADF,EAEEC,mBAFF,EAGEC,qBAHF,EAIEC,aAJF,EAKEC,aALF,EAMEC,eANF,EAOEC,YAPF,EAQEC,kBARF,EASEC,kBATF,EAUEC,oBAVF,EAWEC,iBAXF,EAYEC,iBAZF,EAaEC,mBAbF,EAcEE,aAdF,EAeED,eAfF","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 boundaryTilesetSource,\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 boundaryTilesetSource,\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 boundaryTilesetSource,\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 BoundaryTilesetSourceOptions,\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
+ {"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.5" !== 'undefined' ? "9.0.0-alpha.5" : 'latest';
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" !== 'undefined' ? "9.0.0-alpha.5" : 'latest';
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" !== 'undefined' ? "9.0.0-alpha.5" : 'latest';
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
- boundaryId,
4
+ tilesetTableName,
5
5
  matchingColumn = 'id',
6
- sqlQuery,
6
+ propertiesSqlQuery,
7
7
  queryParameters
8
8
  } = options;
9
9
  const urlParameters = {
10
- boundaryId,
10
+ tilesetTableName,
11
11
  matchingColumn,
12
- sqlQuery
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","boundaryId","matchingColumn","sqlQuery","queryParameters","urlParameters","JSON","stringify"],"mappings":"AACA,SAAQA,UAAR,QAAyB,eAAzB;AAgBA,OAAO,MAAMC,mBAAmB,GAAG,gBACjCC,OADiC,EAER;AACzB,QAAM;AAACC,IAAAA,UAAD;AAAaC,IAAAA,cAAc,GAAG,IAA9B;AAAoCC,IAAAA,QAApC;AAA8CC,IAAAA;AAA9C,MAAiEJ,OAAvE;AACA,QAAMK,aAA4B,GAAG;AACnCJ,IAAAA,UADmC;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 boundaryId: string;\n matchingColumn?: string;\n sqlQuery: string;\n queryParameters?: QueryParameters;\n};\ntype UrlParameters = {\n boundaryId: string;\n matchingColumn: string;\n sqlQuery: string;\n queryParameters?: string;\n};\n\nexport const boundaryQuerySource = async function (\n options: BoundaryQuerySourceOptions\n): Promise<TilejsonResult> {\n const {boundaryId, matchingColumn = 'id', sqlQuery, queryParameters} = options;\n const urlParameters: UrlParameters = {\n boundaryId,\n matchingColumn,\n sqlQuery\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
+ {"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
- boundaryId,
4
+ tilesetTableName,
5
5
  columns,
6
6
  matchingColumn = 'id',
7
- tableName
7
+ propertiesTableName
8
8
  } = options;
9
9
  const urlParameters = {
10
- boundaryId,
10
+ tilesetTableName,
11
11
  matchingColumn,
12
- tableName
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","boundaryId","columns","matchingColumn","tableName","urlParameters","join"],"mappings":"AAAA,SAAQA,UAAR,QAAyB,eAAzB;AAgBA,OAAO,MAAMC,mBAAmB,GAAG,gBACjCC,OADiC,EAER;AACzB,QAAM;AAACC,IAAAA,UAAD;AAAaC,IAAAA,OAAb;AAAsBC,IAAAA,cAAc,GAAG,IAAvC;AAA6CC,IAAAA;AAA7C,MAA0DJ,OAAhE;AACA,QAAMK,aAA4B,GAAG;AACnCJ,IAAAA,UADmC;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 boundaryId: string;\n columns?: string[];\n matchingColumn?: string;\n tableName: string;\n};\ntype UrlParameters = {\n boundaryId: string;\n columns?: string;\n matchingColumn: string;\n tableName: string;\n};\n\nexport const boundaryTableSource = async function (\n options: BoundaryTableSourceOptions\n): Promise<TilejsonResult> {\n const {boundaryId, columns, matchingColumn = 'id', tableName} = options;\n const urlParameters: UrlParameters = {\n boundaryId,\n matchingColumn,\n tableName\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
+ {"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","boundaryTilesetSource","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,qBAAR,QAAoC,2BAApC;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 {boundaryTilesetSource} from './boundary-tileset-source';\nexport type {BoundaryTilesetSourceOptions} from './boundary-tileset-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"}
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"}