@deck.gl/carto 8.10.0-alpha.7 → 9.0.0-alpha.4
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 +32 -24
- package/dist/cartoSpatialTile-worker.js +32 -24
- package/dist/cartoVectorTile-worker.js +69 -63
- package/dist/dist.dev.js +12061 -12560
- package/dist/es5/api/carto-api-error.js.map +1 -1
- package/dist/es5/api/common.js +25 -0
- package/dist/es5/api/common.js.map +1 -0
- package/dist/es5/api/endpoints.js +40 -0
- package/dist/es5/api/endpoints.js.map +1 -0
- package/dist/es5/api/fetch-map.js +568 -0
- package/dist/es5/api/fetch-map.js.map +1 -0
- package/dist/es5/api/index.js +5 -49
- package/dist/es5/api/index.js.map +1 -1
- package/dist/es5/api/layer-map.js +43 -45
- package/dist/es5/api/layer-map.js.map +1 -1
- package/dist/es5/api/{parseMap.js → parse-map.js} +5 -3
- package/dist/es5/api/parse-map.js.map +1 -0
- package/dist/es5/api/query.js +78 -0
- package/dist/es5/api/query.js.map +1 -0
- package/dist/es5/{sources/utils.js → api/request-with-parameters.js} +60 -46
- package/dist/es5/api/request-with-parameters.js.map +1 -0
- package/dist/es5/api/types.js +19 -0
- package/dist/es5/api/types.js.map +1 -1
- package/dist/es5/index.js +66 -80
- package/dist/es5/index.js.map +1 -1
- package/dist/es5/layers/h3-tile-layer.js +3 -5
- package/dist/es5/layers/h3-tile-layer.js.map +1 -1
- package/dist/es5/layers/point-label-layer.js.map +1 -1
- package/dist/es5/layers/quadbin-layer.js.map +1 -1
- package/dist/es5/layers/quadbin-tile-layer.js +1 -4
- package/dist/es5/layers/quadbin-tile-layer.js.map +1 -1
- package/dist/es5/layers/raster-layer.js +2 -0
- package/dist/es5/layers/raster-layer.js.map +1 -1
- package/dist/es5/layers/raster-tile-layer.js +1 -3
- package/dist/es5/layers/raster-tile-layer.js.map +1 -1
- package/dist/es5/layers/schema/carto-properties-tile-loader.js +60 -0
- package/dist/es5/layers/schema/carto-properties-tile-loader.js.map +1 -0
- package/dist/es5/layers/schema/carto-properties-tile.js +38 -0
- package/dist/es5/layers/schema/carto-properties-tile.js.map +1 -0
- package/dist/es5/layers/schema/carto-raster-tile-loader.js +1 -1
- package/dist/es5/layers/schema/carto-raster-tile-loader.js.map +1 -1
- package/dist/es5/layers/schema/carto-spatial-tile-loader.js +1 -1
- package/dist/es5/layers/schema/carto-spatial-tile-loader.js.map +1 -1
- package/dist/es5/layers/schema/carto-vector-tile-loader.js +1 -2
- package/dist/es5/layers/schema/carto-vector-tile-loader.js.map +1 -1
- package/dist/es5/layers/spatial-index-tile-layer.js +16 -26
- package/dist/es5/layers/spatial-index-tile-layer.js.map +1 -1
- package/dist/es5/layers/utils.js +102 -0
- package/dist/es5/layers/utils.js.map +1 -1
- package/dist/es5/layers/vector-tile-layer.js +112 -27
- package/dist/es5/layers/vector-tile-layer.js.map +1 -1
- package/dist/es5/sources/base-source.js +56 -28
- package/dist/es5/sources/base-source.js.map +1 -1
- package/dist/es5/sources/boundary-query-source.js +51 -0
- package/dist/es5/sources/boundary-query-source.js.map +1 -0
- package/dist/es5/sources/boundary-table-source.js +51 -0
- package/dist/es5/sources/boundary-table-source.js.map +1 -0
- package/dist/es5/sources/boundary-tileset-source.js +43 -0
- package/dist/es5/sources/boundary-tileset-source.js.map +1 -0
- package/dist/es5/sources/h3-query-source.js +9 -11
- package/dist/es5/sources/h3-query-source.js.map +1 -1
- package/dist/es5/sources/h3-table-source.js +10 -12
- package/dist/es5/sources/h3-table-source.js.map +1 -1
- package/dist/es5/sources/h3-tileset-source.js +5 -5
- package/dist/es5/sources/h3-tileset-source.js.map +1 -1
- package/dist/es5/sources/index.js +46 -22
- package/dist/es5/sources/index.js.map +1 -1
- package/dist/es5/sources/quadbin-query-source.js +10 -12
- package/dist/es5/sources/quadbin-query-source.js.map +1 -1
- package/dist/es5/sources/quadbin-table-source.js +10 -12
- package/dist/es5/sources/quadbin-table-source.js.map +1 -1
- package/dist/es5/sources/quadbin-tileset-source.js +5 -5
- package/dist/es5/sources/quadbin-tileset-source.js.map +1 -1
- package/dist/es5/sources/raster-source.js +5 -5
- package/dist/es5/sources/raster-source.js.map +1 -1
- package/dist/es5/sources/types.js +2 -0
- package/dist/es5/sources/types.js.map +1 -0
- package/dist/es5/sources/vector-query-source.js +11 -12
- package/dist/es5/sources/vector-query-source.js.map +1 -1
- package/dist/es5/sources/vector-table-source.js +12 -13
- package/dist/es5/sources/vector-table-source.js.map +1 -1
- package/dist/es5/sources/vector-tileset-source.js +5 -5
- package/dist/es5/sources/vector-tileset-source.js.map +1 -1
- package/dist/es5/style/color-bins-style.js +4 -2
- package/dist/es5/style/color-bins-style.js.map +1 -1
- package/dist/es5/style/color-categories-style.js +4 -2
- package/dist/es5/style/color-categories-style.js.map +1 -1
- package/dist/es5/style/color-continuous-style.js +4 -2
- package/dist/es5/style/color-continuous-style.js.map +1 -1
- package/dist/es5/style/palette.js +1 -1
- package/dist/es5/style/palette.js.map +1 -1
- package/dist/es5/style/utils.js +4 -11
- package/dist/es5/style/utils.js.map +1 -1
- package/dist/es5/utils.js +30 -1
- package/dist/es5/utils.js.map +1 -1
- package/dist/esm/api/carto-api-error.js.map +1 -1
- package/dist/esm/api/common.js +13 -0
- package/dist/esm/api/common.js.map +1 -0
- package/dist/esm/api/endpoints.js +28 -0
- package/dist/esm/api/endpoints.js.map +1 -0
- package/dist/esm/api/fetch-map.js +300 -0
- package/dist/esm/api/fetch-map.js.map +1 -0
- package/dist/esm/api/index.js +2 -3
- package/dist/esm/api/index.js.map +1 -1
- package/dist/esm/api/layer-map.js +43 -35
- package/dist/esm/api/layer-map.js.map +1 -1
- package/dist/esm/api/{parseMap.js → parse-map.js} +3 -2
- package/dist/esm/api/parse-map.js.map +1 -0
- package/dist/esm/api/query.js +38 -0
- package/dist/esm/api/query.js.map +1 -0
- package/dist/esm/{sources/utils.js → api/request-with-parameters.js} +25 -12
- package/dist/esm/api/request-with-parameters.js.map +1 -0
- package/dist/esm/api/types.js +13 -1
- package/dist/esm/api/types.js.map +1 -1
- package/dist/esm/index.js +31 -9
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/layers/h3-tile-layer.js +2 -6
- package/dist/esm/layers/h3-tile-layer.js.map +1 -1
- package/dist/esm/layers/point-label-layer.js.map +1 -1
- package/dist/esm/layers/quadbin-layer.js.map +1 -1
- package/dist/esm/layers/quadbin-tile-layer.js +1 -3
- package/dist/esm/layers/quadbin-tile-layer.js.map +1 -1
- package/dist/esm/layers/raster-layer.js +1 -0
- package/dist/esm/layers/raster-layer.js.map +1 -1
- package/dist/esm/layers/raster-tile-layer.js +1 -2
- package/dist/esm/layers/raster-tile-layer.js.map +1 -1
- package/dist/esm/layers/schema/carto-properties-tile-loader.js +23 -0
- package/dist/esm/layers/schema/carto-properties-tile-loader.js.map +1 -0
- package/dist/esm/layers/schema/carto-properties-tile.js +18 -0
- package/dist/esm/layers/schema/carto-properties-tile.js.map +1 -0
- package/dist/esm/layers/schema/carto-raster-tile-loader.js +1 -1
- package/dist/esm/layers/schema/carto-raster-tile-loader.js.map +1 -1
- package/dist/esm/layers/schema/carto-spatial-tile-loader.js +1 -1
- package/dist/esm/layers/schema/carto-spatial-tile-loader.js.map +1 -1
- package/dist/esm/layers/schema/carto-vector-tile-loader.js +1 -2
- package/dist/esm/layers/schema/carto-vector-tile-loader.js.map +1 -1
- package/dist/esm/layers/spatial-index-tile-layer.js +9 -24
- package/dist/esm/layers/spatial-index-tile-layer.js.map +1 -1
- package/dist/esm/layers/utils.js +71 -0
- package/dist/esm/layers/utils.js.map +1 -1
- package/dist/esm/layers/vector-tile-layer.js +40 -12
- package/dist/esm/layers/vector-tile-layer.js.map +1 -1
- package/dist/esm/sources/base-source.js +33 -10
- package/dist/esm/sources/base-source.js.map +1 -1
- package/dist/esm/sources/boundary-query-source.js +21 -0
- package/dist/esm/sources/boundary-query-source.js.map +1 -0
- package/dist/esm/sources/boundary-table-source.js +21 -0
- package/dist/esm/sources/boundary-table-source.js.map +1 -0
- package/dist/esm/sources/boundary-tileset-source.js +11 -0
- package/dist/esm/sources/boundary-tileset-source.js.map +1 -0
- package/dist/esm/sources/h3-query-source.js +6 -11
- package/dist/esm/sources/h3-query-source.js.map +1 -1
- package/dist/esm/sources/h3-table-source.js +7 -12
- package/dist/esm/sources/h3-table-source.js.map +1 -1
- package/dist/esm/sources/h3-tileset-source.js +3 -6
- package/dist/esm/sources/h3-tileset-source.js.map +1 -1
- package/dist/esm/sources/index.js +14 -11
- package/dist/esm/sources/index.js.map +1 -1
- package/dist/esm/sources/quadbin-query-source.js +7 -12
- package/dist/esm/sources/quadbin-query-source.js.map +1 -1
- package/dist/esm/sources/quadbin-table-source.js +7 -12
- package/dist/esm/sources/quadbin-table-source.js.map +1 -1
- package/dist/esm/sources/quadbin-tileset-source.js +3 -6
- package/dist/esm/sources/quadbin-tileset-source.js.map +1 -1
- package/dist/esm/sources/raster-source.js +3 -6
- package/dist/esm/sources/raster-source.js.map +1 -1
- package/dist/esm/sources/types.js +2 -0
- package/dist/esm/sources/types.js.map +1 -0
- package/dist/esm/sources/vector-query-source.js +6 -11
- package/dist/esm/sources/vector-query-source.js.map +1 -1
- package/dist/esm/sources/vector-table-source.js +7 -12
- package/dist/esm/sources/vector-table-source.js.map +1 -1
- package/dist/esm/sources/vector-tileset-source.js +3 -6
- package/dist/esm/sources/vector-tileset-source.js.map +1 -1
- package/dist/esm/style/color-bins-style.js +2 -1
- package/dist/esm/style/color-bins-style.js.map +1 -1
- package/dist/esm/style/color-categories-style.js +2 -1
- package/dist/esm/style/color-categories-style.js.map +1 -1
- package/dist/esm/style/color-continuous-style.js +2 -1
- package/dist/esm/style/color-continuous-style.js.map +1 -1
- package/dist/esm/style/palette.js +1 -1
- package/dist/esm/style/palette.js.map +1 -1
- package/dist/esm/style/utils.js +1 -5
- package/dist/esm/style/utils.js.map +1 -1
- package/dist/esm/utils.js +24 -1
- package/dist/esm/utils.js.map +1 -1
- package/dist.min.js +42 -41
- package/package.json +10 -9
- package/src/api/carto-api-error.ts +1 -9
- package/src/api/common.ts +14 -0
- package/src/api/endpoints.ts +38 -0
- package/src/api/fetch-map.ts +294 -0
- package/src/api/index.ts +5 -5
- package/src/api/layer-map.ts +40 -36
- package/src/api/{parseMap.ts → parse-map.ts} +2 -2
- package/src/api/query.ts +34 -0
- package/src/{sources/utils.ts → api/request-with-parameters.ts} +22 -17
- package/src/api/types.ts +49 -0
- package/src/index.ts +93 -41
- package/src/layers/h3-tile-layer.ts +13 -18
- package/src/layers/point-label-layer.ts +1 -1
- package/src/layers/quadbin-layer.ts +3 -2
- package/src/layers/quadbin-tile-layer.ts +10 -11
- package/src/layers/raster-layer.ts +2 -2
- package/src/layers/raster-tile-layer.ts +11 -9
- package/src/layers/schema/carto-properties-tile-loader.ts +25 -0
- package/src/layers/schema/carto-properties-tile.ts +21 -0
- package/src/layers/schema/carto-vector-tile-loader.ts +1 -1
- package/src/layers/spatial-index-tile-layer.ts +18 -26
- package/src/layers/utils.ts +73 -0
- package/src/layers/vector-tile-layer.ts +40 -21
- package/src/sources/base-source.ts +35 -18
- package/src/sources/boundary-query-source.ts +31 -0
- package/src/sources/boundary-table-source.ts +31 -0
- package/src/sources/boundary-tileset-source.ts +14 -0
- package/src/sources/h3-query-source.ts +22 -22
- package/src/sources/h3-table-source.ts +22 -22
- package/src/sources/h3-tileset-source.ts +7 -9
- package/src/sources/index.ts +31 -22
- package/src/sources/quadbin-query-source.ts +22 -22
- package/src/sources/quadbin-table-source.ts +23 -22
- package/src/sources/quadbin-tileset-source.ts +7 -9
- package/src/sources/raster-source.ts +5 -9
- package/src/sources/types.ts +98 -0
- package/src/sources/vector-query-source.ts +15 -15
- package/src/sources/vector-table-source.ts +15 -15
- package/src/sources/vector-tileset-source.ts +7 -9
- package/src/style/color-bins-style.ts +2 -1
- package/src/style/color-categories-style.ts +2 -1
- package/src/style/color-continuous-style.ts +2 -1
- package/src/style/palette.ts +1 -1
- package/src/style/utils.ts +1 -6
- package/src/utils.ts +25 -1
- package/typed/api/carto-api-error.d.ts +1 -8
- package/typed/api/carto-api-error.d.ts.map +1 -1
- package/typed/api/common.d.ts +13 -0
- package/typed/api/common.d.ts.map +1 -0
- package/typed/api/endpoints.d.ts +12 -0
- package/typed/api/endpoints.d.ts.map +1 -0
- package/typed/api/fetch-map.d.ts +22 -0
- package/typed/api/fetch-map.d.ts.map +1 -0
- package/typed/api/index.d.ts +5 -5
- package/typed/api/index.d.ts.map +1 -1
- package/typed/api/layer-map.d.ts +6 -9
- package/typed/api/layer-map.d.ts.map +1 -1
- package/typed/api/{parseMap.d.ts → parse-map.d.ts} +1 -1
- package/typed/api/parse-map.d.ts.map +1 -0
- package/typed/api/query.d.ts +4 -0
- package/typed/api/query.d.ts.map +1 -0
- package/typed/api/request-with-parameters.d.ts +9 -0
- package/typed/api/request-with-parameters.d.ts.map +1 -0
- package/typed/api/types.d.ts +40 -0
- package/typed/api/types.d.ts.map +1 -1
- package/typed/index.d.ts +33 -12
- package/typed/index.d.ts.map +1 -1
- package/typed/layers/h3-tile-layer.d.ts +12 -7
- package/typed/layers/h3-tile-layer.d.ts.map +1 -1
- package/typed/layers/point-label-layer.d.ts +2 -2
- package/typed/layers/point-label-layer.d.ts.map +1 -1
- package/typed/layers/quadbin-layer.d.ts +2 -2
- package/typed/layers/quadbin-layer.d.ts.map +1 -1
- package/typed/layers/quadbin-tile-layer.d.ts +6 -6
- package/typed/layers/quadbin-tile-layer.d.ts.map +1 -1
- package/typed/layers/raster-layer.d.ts +2 -2
- package/typed/layers/raster-layer.d.ts.map +1 -1
- package/typed/layers/raster-tile-layer.d.ts +6 -5
- package/typed/layers/raster-tile-layer.d.ts.map +1 -1
- package/typed/layers/schema/carto-properties-tile-loader.d.ts +4 -0
- package/typed/layers/schema/carto-properties-tile-loader.d.ts.map +1 -0
- package/typed/layers/schema/carto-properties-tile.d.ts +10 -0
- package/typed/layers/schema/carto-properties-tile.d.ts.map +1 -0
- package/typed/layers/spatial-index-tile-layer.d.ts +10 -9
- package/typed/layers/spatial-index-tile-layer.d.ts.map +1 -1
- package/typed/layers/utils.d.ts +11 -0
- package/typed/layers/utils.d.ts.map +1 -1
- package/typed/layers/vector-tile-layer.d.ts +6 -11
- package/typed/layers/vector-tile-layer.d.ts.map +1 -1
- package/typed/sources/base-source.d.ts +4 -3
- package/typed/sources/base-source.d.ts.map +1 -1
- package/typed/sources/boundary-query-source.d.ts +10 -0
- package/typed/sources/boundary-query-source.d.ts.map +1 -0
- package/typed/sources/boundary-table-source.d.ts +9 -0
- package/typed/sources/boundary-table-source.d.ts.map +1 -0
- package/typed/sources/boundary-tileset-source.d.ts +6 -0
- package/typed/sources/boundary-tileset-source.d.ts.map +1 -0
- package/typed/sources/h3-query-source.d.ts +3 -4
- package/typed/sources/h3-query-source.d.ts.map +1 -1
- package/typed/sources/h3-table-source.d.ts +3 -4
- package/typed/sources/h3-table-source.d.ts.map +1 -1
- package/typed/sources/h3-tileset-source.d.ts +3 -4
- package/typed/sources/h3-tileset-source.d.ts.map +1 -1
- package/typed/sources/index.d.ts +28 -22
- package/typed/sources/index.d.ts.map +1 -1
- package/typed/sources/quadbin-query-source.d.ts +3 -4
- package/typed/sources/quadbin-query-source.d.ts.map +1 -1
- package/typed/sources/quadbin-table-source.d.ts +3 -4
- package/typed/sources/quadbin-table-source.d.ts.map +1 -1
- package/typed/sources/quadbin-tileset-source.d.ts +3 -4
- package/typed/sources/quadbin-tileset-source.d.ts.map +1 -1
- package/typed/sources/raster-source.d.ts +3 -4
- package/typed/sources/raster-source.d.ts.map +1 -1
- package/typed/sources/{common.d.ts → types.d.ts} +26 -42
- package/typed/sources/types.d.ts.map +1 -0
- package/typed/sources/vector-query-source.d.ts +3 -4
- package/typed/sources/vector-query-source.d.ts.map +1 -1
- package/typed/sources/vector-table-source.d.ts +3 -4
- package/typed/sources/vector-table-source.d.ts.map +1 -1
- package/typed/sources/vector-tileset-source.d.ts +3 -4
- package/typed/sources/vector-tileset-source.d.ts.map +1 -1
- package/typed/style/color-bins-style.d.ts.map +1 -1
- package/typed/style/color-categories-style.d.ts.map +1 -1
- package/typed/style/color-continuous-style.d.ts.map +1 -1
- package/typed/style/utils.d.ts +0 -1
- package/typed/style/utils.d.ts.map +1 -1
- package/typed/utils.d.ts +8 -0
- package/typed/utils.d.ts.map +1 -1
- package/LICENSE +0 -19
- package/dist/es5/api/maps-api-common.js +0 -77
- package/dist/es5/api/maps-api-common.js.map +0 -1
- package/dist/es5/api/maps-client.js +0 -220
- package/dist/es5/api/maps-client.js.map +0 -1
- package/dist/es5/api/maps-v3-client.js +0 -959
- package/dist/es5/api/maps-v3-client.js.map +0 -1
- package/dist/es5/api/parseMap.js.map +0 -1
- package/dist/es5/config.js +0 -84
- package/dist/es5/config.js.map +0 -1
- package/dist/es5/layers/carto-layer.js +0 -329
- package/dist/es5/layers/carto-layer.js.map +0 -1
- package/dist/es5/sources/common.js +0 -48
- package/dist/es5/sources/common.js.map +0 -1
- package/dist/es5/sources/utils.js.map +0 -1
- package/dist/esm/api/maps-api-common.js +0 -54
- package/dist/esm/api/maps-api-common.js.map +0 -1
- package/dist/esm/api/maps-client.js +0 -148
- package/dist/esm/api/maps-client.js.map +0 -1
- package/dist/esm/api/maps-v3-client.js +0 -638
- package/dist/esm/api/maps-v3-client.js.map +0 -1
- package/dist/esm/api/parseMap.js.map +0 -1
- package/dist/esm/config.js +0 -60
- package/dist/esm/config.js.map +0 -1
- package/dist/esm/layers/carto-layer.js +0 -233
- package/dist/esm/layers/carto-layer.js.map +0 -1
- package/dist/esm/sources/common.js +0 -26
- package/dist/esm/sources/common.js.map +0 -1
- package/dist/esm/sources/utils.js.map +0 -1
- package/src/api/maps-api-common.ts +0 -95
- package/src/api/maps-client.ts +0 -196
- package/src/api/maps-v3-client.ts +0 -659
- package/src/config.ts +0 -70
- package/src/layers/carto-layer.ts +0 -340
- package/src/sources/common.ts +0 -132
- package/typed/api/maps-api-common.d.ts +0 -76
- package/typed/api/maps-api-common.d.ts.map +0 -1
- package/typed/api/maps-client.d.ts +0 -18
- package/typed/api/maps-client.d.ts.map +0 -1
- package/typed/api/maps-v3-client.d.ts +0 -49
- package/typed/api/maps-v3-client.d.ts.map +0 -1
- package/typed/api/parseMap.d.ts.map +0 -1
- package/typed/config.d.ts +0 -28
- package/typed/config.d.ts.map +0 -1
- package/typed/layers/carto-layer.d.ts +0 -126
- package/typed/layers/carto-layer.d.ts.map +0 -1
- package/typed/sources/common.d.ts.map +0 -1
- package/typed/sources/utils.d.ts +0 -15
- package/typed/sources/utils.d.ts.map +0 -1
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import {baseSource} from './base-source';
|
|
2
|
+
import type {SourceOptions, TilejsonResult, TilesetSourceOptions} from './types';
|
|
3
3
|
|
|
4
|
-
export type
|
|
4
|
+
export type QuadbinTilesetSourceOptions = SourceOptions & TilesetSourceOptions;
|
|
5
5
|
type UrlParameters = {name: string};
|
|
6
6
|
|
|
7
|
-
const
|
|
8
|
-
options:
|
|
9
|
-
): Promise<
|
|
7
|
+
export const quadbinTilesetSource = async function (
|
|
8
|
+
options: QuadbinTilesetSourceOptions
|
|
9
|
+
): Promise<TilejsonResult> {
|
|
10
10
|
const {tableName} = options;
|
|
11
11
|
const urlParameters: UrlParameters = {name: tableName};
|
|
12
12
|
|
|
13
|
-
return
|
|
13
|
+
return baseSource<UrlParameters>('tileset', options, urlParameters) as Promise<TilejsonResult>;
|
|
14
14
|
};
|
|
15
|
-
|
|
16
|
-
export {cartoQuadbinTilesetSource};
|
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import {baseSource} from './base-source';
|
|
2
|
+
import type {SourceOptions, TilejsonResult, TilesetSourceOptions} from './types';
|
|
3
3
|
|
|
4
|
-
export type
|
|
4
|
+
export type RasterSourceOptions = SourceOptions & TilesetSourceOptions;
|
|
5
5
|
type UrlParameters = {name: string};
|
|
6
6
|
|
|
7
|
-
const
|
|
8
|
-
options: CartoRasterSourceOptions
|
|
9
|
-
): Promise<any> {
|
|
7
|
+
export const rasterSource = async function (options: RasterSourceOptions): Promise<TilejsonResult> {
|
|
10
8
|
const {tableName} = options;
|
|
11
9
|
const urlParameters: UrlParameters = {name: tableName};
|
|
12
10
|
|
|
13
|
-
return
|
|
11
|
+
return baseSource<UrlParameters>('raster', options, urlParameters) as Promise<TilejsonResult>;
|
|
14
12
|
};
|
|
15
|
-
|
|
16
|
-
export {cartoRasterSource};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import type {Feature} from 'geojson';
|
|
2
|
+
import type {Format, MapInstantiation, QueryParameters} from '../api/types';
|
|
3
|
+
|
|
4
|
+
export type SourceRequiredOptions = {
|
|
5
|
+
accessToken: string;
|
|
6
|
+
connectionName: string;
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export type SourceOptionalOptions = {
|
|
10
|
+
apiBaseUrl: string;
|
|
11
|
+
cache?: {value?: number};
|
|
12
|
+
clientId: string;
|
|
13
|
+
/** @deprecated use `query` instead **/
|
|
14
|
+
format: Format;
|
|
15
|
+
headers: Record<string, string>;
|
|
16
|
+
mapsUrl?: string;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export type SourceOptions = SourceRequiredOptions & Partial<SourceOptionalOptions>;
|
|
20
|
+
|
|
21
|
+
export type AggregationOptions = {
|
|
22
|
+
aggregationExp: string;
|
|
23
|
+
aggregationResLevel?: number;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export type QuerySourceOptions = {
|
|
27
|
+
spatialDataColumn?: string;
|
|
28
|
+
sqlQuery: string;
|
|
29
|
+
queryParameters?: QueryParameters;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export type TableSourceOptions = {
|
|
33
|
+
columns?: string[];
|
|
34
|
+
spatialDataColumn?: string;
|
|
35
|
+
tableName: string;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export type TilesetSourceOptions = {
|
|
39
|
+
tableName: string;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export type SpatialDataType = 'geo' | 'h3' | 'quadbin';
|
|
43
|
+
|
|
44
|
+
export type TilejsonMapInstantiation = MapInstantiation & {
|
|
45
|
+
tilejson: {url: string[]};
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
export interface Tilejson {
|
|
49
|
+
tilejson: string;
|
|
50
|
+
name: string;
|
|
51
|
+
description: string;
|
|
52
|
+
version: string;
|
|
53
|
+
attribution: string;
|
|
54
|
+
scheme: string;
|
|
55
|
+
tiles: string[];
|
|
56
|
+
properties_tiles: string[];
|
|
57
|
+
minresolution: number;
|
|
58
|
+
maxresolution: number;
|
|
59
|
+
minzoom: number;
|
|
60
|
+
maxzoom: number;
|
|
61
|
+
bounds: [number, number, number, number];
|
|
62
|
+
center: [number, number, number];
|
|
63
|
+
vector_layers: VectorLayer[];
|
|
64
|
+
tilestats: Tilestats;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export interface Tilestats {
|
|
68
|
+
layerCount: number;
|
|
69
|
+
layers: Layer[];
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export interface Layer {
|
|
73
|
+
layer: string;
|
|
74
|
+
count: number;
|
|
75
|
+
attributeCount: number;
|
|
76
|
+
attributes: Attribute[];
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export interface Attribute {
|
|
80
|
+
attribute: string;
|
|
81
|
+
type: string;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export interface VectorLayer {
|
|
85
|
+
id: string;
|
|
86
|
+
minzoom: number;
|
|
87
|
+
maxzoom: number;
|
|
88
|
+
fields: Record<string, string>;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export type TilejsonResult = Tilejson & {accessToken: string};
|
|
92
|
+
export type GeojsonResult = {type: 'FeatureCollection'; features: Feature[]};
|
|
93
|
+
export type JsonResult = any[];
|
|
94
|
+
export type QueryResult = {
|
|
95
|
+
meta: {cacheHit: boolean; location: string; totalBytesProcessed: string};
|
|
96
|
+
rows: Record<string, any>[];
|
|
97
|
+
schema: {name: string; type: string}[];
|
|
98
|
+
};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import {baseSource} from './base-source';
|
|
3
|
+
import type {SourceOptions, QuerySourceOptions, SpatialDataType, TilejsonResult} from './types';
|
|
4
4
|
|
|
5
|
-
export type
|
|
6
|
-
type UrlParameters = {
|
|
5
|
+
export type VectorQuerySourceOptions = SourceOptions & QuerySourceOptions;
|
|
6
|
+
type UrlParameters = {
|
|
7
|
+
spatialDataType: SpatialDataType;
|
|
8
|
+
spatialDataColumn?: string;
|
|
9
|
+
q: string;
|
|
10
|
+
queryParameters?: string;
|
|
11
|
+
};
|
|
7
12
|
|
|
8
|
-
const
|
|
9
|
-
options:
|
|
10
|
-
): Promise<
|
|
11
|
-
const {spatialDataColumn, sqlQuery, queryParameters} = options;
|
|
12
|
-
const urlParameters: UrlParameters = {q: sqlQuery};
|
|
13
|
+
export const vectorQuerySource = async function (
|
|
14
|
+
options: VectorQuerySourceOptions
|
|
15
|
+
): Promise<TilejsonResult> {
|
|
16
|
+
const {spatialDataColumn = 'geom', sqlQuery, queryParameters} = options;
|
|
17
|
+
const urlParameters: UrlParameters = {spatialDataColumn, spatialDataType: 'geo', q: sqlQuery};
|
|
13
18
|
|
|
14
|
-
if (spatialDataColumn) {
|
|
15
|
-
urlParameters.geo_column = spatialDataColumn;
|
|
16
|
-
}
|
|
17
19
|
if (queryParameters) {
|
|
18
20
|
urlParameters.queryParameters = JSON.stringify(queryParameters);
|
|
19
21
|
}
|
|
20
|
-
return
|
|
22
|
+
return baseSource<UrlParameters>('query', options, urlParameters) as Promise<TilejsonResult>;
|
|
21
23
|
};
|
|
22
|
-
|
|
23
|
-
export {cartoVectorQuerySource};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import {baseSource} from './base-source';
|
|
3
|
+
import type {SourceOptions, SpatialDataType, TableSourceOptions, TilejsonResult} from './types';
|
|
4
4
|
|
|
5
|
-
export type
|
|
6
|
-
type UrlParameters = {
|
|
5
|
+
export type VectorTableSourceOptions = SourceOptions & TableSourceOptions;
|
|
6
|
+
type UrlParameters = {
|
|
7
|
+
columns?: string;
|
|
8
|
+
spatialDataType: SpatialDataType;
|
|
9
|
+
spatialDataColumn?: string;
|
|
10
|
+
name: string;
|
|
11
|
+
};
|
|
7
12
|
|
|
8
|
-
const
|
|
9
|
-
options:
|
|
10
|
-
): Promise<
|
|
11
|
-
const {columns, spatialDataColumn, tableName} = options;
|
|
12
|
-
const urlParameters: UrlParameters = {name: tableName};
|
|
13
|
+
export const vectorTableSource = async function (
|
|
14
|
+
options: VectorTableSourceOptions
|
|
15
|
+
): Promise<TilejsonResult> {
|
|
16
|
+
const {columns, spatialDataColumn = 'geom', tableName} = options;
|
|
17
|
+
const urlParameters: UrlParameters = {name: tableName, spatialDataColumn, spatialDataType: 'geo'};
|
|
13
18
|
|
|
14
19
|
if (columns) {
|
|
15
20
|
urlParameters.columns = columns.join(',');
|
|
16
21
|
}
|
|
17
|
-
|
|
18
|
-
urlParameters.geo_column = spatialDataColumn;
|
|
19
|
-
}
|
|
20
|
-
return cartoBaseSource<UrlParameters>('table', options, urlParameters);
|
|
22
|
+
return baseSource<UrlParameters>('table', options, urlParameters) as Promise<TilejsonResult>;
|
|
21
23
|
};
|
|
22
|
-
|
|
23
|
-
export {cartoVectorTableSource};
|
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import {baseSource} from './base-source';
|
|
2
|
+
import type {SourceOptions, TilesetSourceOptions, TilejsonResult} from './types';
|
|
3
3
|
|
|
4
|
-
export type
|
|
4
|
+
export type VectorTilesetSourceOptions = SourceOptions & TilesetSourceOptions;
|
|
5
5
|
type UrlParameters = {name: string};
|
|
6
6
|
|
|
7
|
-
const
|
|
8
|
-
options:
|
|
9
|
-
): Promise<
|
|
7
|
+
export const vectorTilesetSource = async function (
|
|
8
|
+
options: VectorTilesetSourceOptions
|
|
9
|
+
): Promise<TilejsonResult> {
|
|
10
10
|
const {tableName} = options;
|
|
11
11
|
const urlParameters: UrlParameters = {name: tableName};
|
|
12
12
|
|
|
13
|
-
return
|
|
13
|
+
return baseSource<UrlParameters>('tileset', options, urlParameters) as Promise<TilejsonResult>;
|
|
14
14
|
};
|
|
15
|
-
|
|
16
|
-
export {cartoVectorTilesetSource};
|
|
@@ -2,7 +2,8 @@ import {scaleThreshold} from 'd3-scale';
|
|
|
2
2
|
import {AccessorFunction} from '@deck.gl/core';
|
|
3
3
|
import {Feature} from 'geojson';
|
|
4
4
|
import getPalette, {Color, DEFAULT_PALETTE, NULL_COLOR} from './palette';
|
|
5
|
-
import {assert
|
|
5
|
+
import {assert} from '../utils';
|
|
6
|
+
import {AttributeSelector, getAttrValue} from './utils';
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* Helper function for quickly creating a color bins style based on `d3` `scaleThreshold`.
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import {AccessorFunction} from '@deck.gl/core';
|
|
2
2
|
import {Feature} from 'geojson';
|
|
3
3
|
import getPalette, {Color, DEFAULT_PALETTE, NULL_COLOR, OTHERS_COLOR} from './palette';
|
|
4
|
-
import {assert
|
|
4
|
+
import {assert} from '../utils';
|
|
5
|
+
import {AttributeSelector, getAttrValue} from './utils';
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* Helper function for quickly creating a color category style.
|
|
@@ -2,7 +2,8 @@ import {AccessorFunction} from '@deck.gl/core';
|
|
|
2
2
|
import {scaleLinear} from 'd3-scale';
|
|
3
3
|
import {Feature} from 'geojson';
|
|
4
4
|
import getPalette, {Color, DEFAULT_PALETTE, NULL_COLOR} from './palette';
|
|
5
|
-
import {assert
|
|
5
|
+
import {assert} from '../utils';
|
|
6
|
+
import {AttributeSelector, getAttrValue} from './utils';
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* Helper function for quickly creating a color continuous style.
|
package/src/style/palette.ts
CHANGED
package/src/style/utils.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import {Feature} from 'geojson';
|
|
2
|
+
import {assert} from '../utils';
|
|
2
3
|
|
|
3
4
|
const ALLOWED_ATTR_TYPES = Object.freeze(['function', 'string']);
|
|
4
5
|
|
|
@@ -17,9 +18,3 @@ export function getAttrValue<DataT = Feature, OutT = any>(
|
|
|
17
18
|
}
|
|
18
19
|
return (d as unknown as Feature)?.properties?.[attr] as OutT;
|
|
19
20
|
}
|
|
20
|
-
|
|
21
|
-
export function assert(condition, message = ''): asserts condition {
|
|
22
|
-
if (!condition) {
|
|
23
|
-
throw new Error(`CARTO style error: ${message}`);
|
|
24
|
-
}
|
|
25
|
-
}
|
package/src/utils.ts
CHANGED
|
@@ -13,7 +13,7 @@ export function createBinaryProxy(
|
|
|
13
13
|
) {
|
|
14
14
|
const {properties, numericProps} = data;
|
|
15
15
|
return new Proxy(properties[index] || {}, {
|
|
16
|
-
get(target, property
|
|
16
|
+
get(target, property) {
|
|
17
17
|
if (property in numericProps) {
|
|
18
18
|
return numericProps[property as string].value[index];
|
|
19
19
|
}
|
|
@@ -31,3 +31,27 @@ export function getWorkerUrl(id: string, version: string) {
|
|
|
31
31
|
// return `http://localhost:8081/dist/${id}-worker.js`;
|
|
32
32
|
return `https://unpkg.com/@deck.gl/carto@${version}/dist/${id}-worker.js`;
|
|
33
33
|
}
|
|
34
|
+
|
|
35
|
+
export function scaleIdentity() {
|
|
36
|
+
let unknown;
|
|
37
|
+
|
|
38
|
+
function scale(x) {
|
|
39
|
+
return x === null ? unknown : x;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
scale.invert = scale;
|
|
43
|
+
|
|
44
|
+
scale.domain = scale.range = d => d;
|
|
45
|
+
|
|
46
|
+
scale.unknown = u => {
|
|
47
|
+
if (u) {
|
|
48
|
+
unknown = u;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
return unknown;
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
scale.copy = () => scaleIdentity().unknown(unknown);
|
|
55
|
+
|
|
56
|
+
return scale;
|
|
57
|
+
}
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare type APIErrorContext = {
|
|
3
|
-
requestType: RequestType;
|
|
4
|
-
mapId?: string;
|
|
5
|
-
connection?: string;
|
|
6
|
-
source?: string;
|
|
7
|
-
type?: MapType;
|
|
8
|
-
};
|
|
1
|
+
import type { APIErrorContext } from './types';
|
|
9
2
|
/**
|
|
10
3
|
*
|
|
11
4
|
* Custom error for reported errors in CARTO Maps API.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"carto-api-error.d.ts","sourceRoot":"","sources":["../../src/api/carto-api-error.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"carto-api-error.d.ts","sourceRoot":"","sources":["../../src/api/carto-api-error.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,SAAS,CAAC;AAE7C;;;;;GAKG;AACH,qBAAa,aAAc,SAAQ,KAAK;IACtC,+BAA+B;IAC/B,KAAK,EAAE,KAAK,CAAC;IAEb,6DAA6D;IAC7D,YAAY,EAAE,eAAe,CAAC;IAE9B,2BAA2B;IAC3B,QAAQ,CAAC,EAAE,QAAQ,CAAC;gBAER,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,QAAQ,CAAC,EAAE,QAAQ;CAiC7E"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const DEFAULT_API_BASE_URL = "https://gcp-us-east1.api.carto.com";
|
|
2
|
+
export declare const DEFAULT_CLIENT = "deck-gl-carto";
|
|
3
|
+
export declare const V3_MINOR_VERSION = "3.3";
|
|
4
|
+
export declare const MAX_GET_LENGTH = 8192;
|
|
5
|
+
export declare const DEFAULT_PARAMETERS: {
|
|
6
|
+
client: string;
|
|
7
|
+
v: string;
|
|
8
|
+
};
|
|
9
|
+
export declare const DEFAULT_HEADERS: {
|
|
10
|
+
Accept: string;
|
|
11
|
+
'Content-Type': string;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=common.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/api/common.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,uCAAuC,CAAC;AACzE,eAAO,MAAM,cAAc,kBAAkB,CAAC;AAC9C,eAAO,MAAM,gBAAgB,QAAQ,CAAC;AACtC,eAAO,MAAM,cAAc,OAAO,CAAC;AAEnC,eAAO,MAAM,kBAAkB;;;CAG9B,CAAC;AAEF,eAAO,MAAM,eAAe;;;CAG3B,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { MapType } from './types';
|
|
2
|
+
export declare type V3Endpoint = 'maps' | 'stats' | 'sql';
|
|
3
|
+
export declare function buildMapsUrlFromBase(apiBaseUrl: string): string;
|
|
4
|
+
export declare function buildStatsUrlFromBase(apiBaseUrl: string): string;
|
|
5
|
+
export declare function buildQueryUrlFromBase(apiBaseUrl: string): string;
|
|
6
|
+
export declare function buildSourceUrl({ apiBaseUrl, connectionName, endpoint, mapsUrl }: {
|
|
7
|
+
apiBaseUrl: string;
|
|
8
|
+
connectionName: string;
|
|
9
|
+
endpoint: MapType;
|
|
10
|
+
mapsUrl?: string;
|
|
11
|
+
}): string;
|
|
12
|
+
//# sourceMappingURL=endpoints.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endpoints.d.ts","sourceRoot":"","sources":["../../src/api/endpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,SAAS,CAAC;AAEhC,oBAAY,UAAU,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC;AAWlD,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAE/D;AAED,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAEhE;AAED,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAEhE;AAED,wBAAgB,cAAc,CAAC,EAC7B,UAAU,EACV,cAAc,EACd,QAAQ,EACR,OAAO,EACR,EAAE;IACD,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,GAAG,MAAM,CAET"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare type FetchMapOptions = {
|
|
2
|
+
apiBaseUrl?: string;
|
|
3
|
+
cartoMapId: string;
|
|
4
|
+
clientId?: string;
|
|
5
|
+
headers?: Record<string, string>;
|
|
6
|
+
mapsUrl?: string;
|
|
7
|
+
autoRefresh?: number;
|
|
8
|
+
onNewData?: (map: any) => void;
|
|
9
|
+
};
|
|
10
|
+
export declare function fetchMap({ apiBaseUrl, cartoMapId, clientId, headers, mapsUrl, autoRefresh, onNewData }: FetchMapOptions): Promise<{
|
|
11
|
+
stopAutoRefresh: (() => void) | undefined;
|
|
12
|
+
id: any;
|
|
13
|
+
title: any;
|
|
14
|
+
description: any;
|
|
15
|
+
createdAt: any;
|
|
16
|
+
updatedAt: any;
|
|
17
|
+
initialViewState: any;
|
|
18
|
+
mapStyle: any;
|
|
19
|
+
token: any;
|
|
20
|
+
layers: any;
|
|
21
|
+
}>;
|
|
22
|
+
//# sourceMappingURL=fetch-map.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-map.d.ts","sourceRoot":"","sources":["../../src/api/fetch-map.ts"],"names":[],"mappings":"AAwMA,oBAAY,eAAe,GAAG;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC;CAChC,CAAC;AAGF,wBAAsB,QAAQ,CAAC,EAC7B,UAAiC,EACjC,UAAU,EACV,QAAyB,EACzB,OAAY,EACZ,OAAO,EACP,WAAW,EACX,SAAS,EACV,EAAE,eAAe;4BAmBY,IAAI;;;;;;;;;;GAuDjC"}
|
package/typed/api/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { CartoAPIError } from './carto-api-error';
|
|
2
|
-
export
|
|
3
|
-
export {
|
|
4
|
-
export type { QueryParameters } from './
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
2
|
+
export { fetchMap } from './fetch-map';
|
|
3
|
+
export type { FetchMapOptions } from './fetch-map';
|
|
4
|
+
export type { APIErrorContext, Format, MapType, RequestType, QueryParameters } from './types';
|
|
5
|
+
export { query } from './query';
|
|
6
|
+
export type { QueryOptions } from './query';
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
package/typed/api/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAChD,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAC,QAAQ,EAAC,MAAM,aAAa,CAAC;AACrC,YAAY,EAAC,eAAe,EAAC,MAAM,aAAa,CAAC;AACjD,YAAY,EAAC,eAAe,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,eAAe,EAAC,MAAM,SAAS,CAAC;AAC5F,OAAO,EAAC,KAAK,EAAC,MAAM,SAAS,CAAC;AAC9B,YAAY,EAAC,YAAY,EAAC,MAAM,SAAS,CAAC"}
|
package/typed/api/layer-map.d.ts
CHANGED
|
@@ -3,7 +3,8 @@ import { Accessor, Layer, _ConstructorOf as ConstructorOf } from '@deck.gl/core/
|
|
|
3
3
|
import H3TileLayer from '../layers/h3-tile-layer';
|
|
4
4
|
import QuadbinTileLayer from '../layers/quadbin-tile-layer';
|
|
5
5
|
import VectorTileLayer from '../layers/vector-tile-layer';
|
|
6
|
-
import { MapType
|
|
6
|
+
import { MapType } from './types';
|
|
7
|
+
import { scaleIdentity } from '../utils';
|
|
7
8
|
import { CustomMarkersRange, MapDataset, MapTextSubLayerConfig, VisConfig, VisualChannelField, VisualChannels } from './types';
|
|
8
9
|
declare const SCALE_FUNCS: {
|
|
9
10
|
linear: typeof scaleLinear;
|
|
@@ -14,6 +15,7 @@ declare const SCALE_FUNCS: {
|
|
|
14
15
|
quantize: typeof scaleQuantize;
|
|
15
16
|
sqrt: typeof scaleSqrt;
|
|
16
17
|
custom: typeof scaleThreshold;
|
|
18
|
+
identity: typeof scaleIdentity;
|
|
17
19
|
};
|
|
18
20
|
export declare type SCALE_TYPE = keyof typeof SCALE_FUNCS;
|
|
19
21
|
export declare const AGGREGATION: {
|
|
@@ -32,20 +34,15 @@ export declare function getLayer(type: string, config: MapTextSubLayerConfig, da
|
|
|
32
34
|
propMap: any;
|
|
33
35
|
defaultProps: any;
|
|
34
36
|
};
|
|
35
|
-
export declare function layerFromTileDataset(
|
|
37
|
+
export declare function layerFromTileDataset(scheme: string, type?: MapType): typeof VectorTileLayer | typeof H3TileLayer | typeof QuadbinTileLayer;
|
|
36
38
|
declare function domainFromValues(values: any, scaleType: SCALE_TYPE): any;
|
|
37
39
|
export declare function opacityToAlpha(opacity?: number): number;
|
|
38
40
|
export declare function getColorValueAccessor({ name }: {
|
|
39
41
|
name: any;
|
|
40
42
|
}, colorAggregation: any, data: any): any;
|
|
41
|
-
export declare function getColorAccessor({ name }: {
|
|
42
|
-
name: any;
|
|
43
|
-
}, scaleType: SCALE_TYPE, { aggregation, range: { colors, colorMap } }: {
|
|
43
|
+
export declare function getColorAccessor({ name, colorColumn }: VisualChannelField, scaleType: SCALE_TYPE, { aggregation, range }: {
|
|
44
44
|
aggregation: any;
|
|
45
|
-
range:
|
|
46
|
-
colors: any;
|
|
47
|
-
colorMap: any;
|
|
48
|
-
};
|
|
45
|
+
range: any;
|
|
49
46
|
}, opacity: number | undefined, data: any): any;
|
|
50
47
|
export declare function getIconUrlAccessor(field: VisualChannelField | null | undefined, range: CustomMarkersRange | null | undefined, { fallbackUrl, maxIconSize, useMaskedIcons }: {
|
|
51
48
|
fallbackUrl: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layer-map.d.ts","sourceRoot":"","sources":["../../src/api/layer-map.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,UAAU,EACV,aAAa,EACb,aAAa,EACb,SAAS,EACT,cAAc,EACf,MAAM,UAAU,CAAC;AAIlB,OAAO,EAAC,QAAQ,EAAE,KAAK,EAAE,cAAc,IAAI,aAAa,EAAC,MAAM,eAAe,CAAC;AAK/E,OAAO,WAAW,MAAM,yBAAyB,CAAC;AAClD,OAAO,gBAAgB,MAAM,8BAA8B,CAAC;AAE5D,OAAO,eAAe,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"layer-map.d.ts","sourceRoot":"","sources":["../../src/api/layer-map.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,YAAY,EACZ,QA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 @@
|
|
|
1
|
+
import type { SourceOptions, QuerySourceOptions, QueryResult } from '../sources/types';
|
|
2
|
+
export declare type QueryOptions = SourceOptions & Omit<QuerySourceOptions, 'spatialDataColumn'>;
|
|
3
|
+
export declare const query: (options: QueryOptions) => Promise<QueryResult>;
|
|
4
|
+
//# sourceMappingURL=query.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../../src/api/query.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,aAAa,EAAE,kBAAkB,EAAE,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAKrF,oBAAY,YAAY,GAAG,aAAa,GAAG,IAAI,CAAC,kBAAkB,EAAE,mBAAmB,CAAC,CAAC;AAGzF,eAAO,MAAM,KAAK,YAA4B,YAAY,KAAG,QAAQ,WAAW,CAwB/E,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { APIErrorContext } from './types';
|
|
2
|
+
export declare function requestWithParameters<T = any>({ accessToken, baseUrl, parameters, headers: customHeaders, errorContext }: {
|
|
3
|
+
accessToken?: string;
|
|
4
|
+
baseUrl: string;
|
|
5
|
+
parameters?: Record<string, string>;
|
|
6
|
+
headers: Record<string, string>;
|
|
7
|
+
errorContext: APIErrorContext;
|
|
8
|
+
}): Promise<T>;
|
|
9
|
+
//# sourceMappingURL=request-with-parameters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request-with-parameters.d.ts","sourceRoot":"","sources":["../../src/api/request-with-parameters.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,SAAS,CAAC;AAU7C,wBAAsB,qBAAqB,CAAC,CAAC,GAAG,GAAG,EAAE,EACnD,WAAW,EACX,OAAO,EACP,UAAU,EACV,OAAO,EAAE,aAAa,EACtB,YAAY,EACb,EAAE;IACD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,YAAY,EAAE,eAAe,CAAC;CAC/B,GAAG,OAAO,CAAC,CAAC,CAAC,CA2Cb"}
|
package/typed/api/types.d.ts
CHANGED
|
@@ -1,7 +1,46 @@
|
|
|
1
1
|
import { SCALE_TYPE } from './layer-map';
|
|
2
|
+
export declare type Format = 'json' | 'geojson' | 'tilejson';
|
|
3
|
+
export declare type MapType = 'boundary' | 'query' | 'table' | 'tileset' | 'raster';
|
|
4
|
+
export declare type RequestType = 'Map data' | 'Map instantiation' | 'Public map' | 'Tile stats' | 'SQL';
|
|
5
|
+
export declare type APIErrorContext = {
|
|
6
|
+
requestType: RequestType;
|
|
7
|
+
mapId?: string;
|
|
8
|
+
connection?: string;
|
|
9
|
+
source?: string;
|
|
10
|
+
type?: MapType;
|
|
11
|
+
};
|
|
12
|
+
export declare enum SchemaFieldType {
|
|
13
|
+
Number = "number",
|
|
14
|
+
Bigint = "bigint",
|
|
15
|
+
String = "string",
|
|
16
|
+
Geometry = "geometry",
|
|
17
|
+
Timestamp = "timestamp",
|
|
18
|
+
Object = "object",
|
|
19
|
+
Boolean = "boolean",
|
|
20
|
+
Variant = "variant",
|
|
21
|
+
Unknown = "unknown"
|
|
22
|
+
}
|
|
23
|
+
export interface SchemaField {
|
|
24
|
+
name: string;
|
|
25
|
+
type: SchemaFieldType;
|
|
26
|
+
}
|
|
27
|
+
export interface MapInstantiation extends MapInstantiationFormats {
|
|
28
|
+
nrows: number;
|
|
29
|
+
size?: number;
|
|
30
|
+
schema: SchemaField[];
|
|
31
|
+
}
|
|
32
|
+
declare type MapInstantiationFormats = Record<Format, {
|
|
33
|
+
url: string[];
|
|
34
|
+
error?: any;
|
|
35
|
+
}>;
|
|
36
|
+
export declare type QueryParameterValue = string | number | boolean | Array<QueryParameterValue> | object;
|
|
37
|
+
export declare type NamedQueryParameter = Record<string, QueryParameterValue>;
|
|
38
|
+
export declare type PositionalQueryParameter = QueryParameterValue[];
|
|
39
|
+
export declare type QueryParameters = NamedQueryParameter | PositionalQueryParameter;
|
|
2
40
|
export declare type VisualChannelField = {
|
|
3
41
|
name: string;
|
|
4
42
|
type: string;
|
|
43
|
+
colorColumn?: string;
|
|
5
44
|
};
|
|
6
45
|
export declare type VisualChannels = {
|
|
7
46
|
colorField?: VisualChannelField;
|
|
@@ -85,4 +124,5 @@ export declare type MapDataset = {
|
|
|
85
124
|
aggregationResLevel: number | null;
|
|
86
125
|
geoColumn: string;
|
|
87
126
|
};
|
|
127
|
+
export {};
|
|
88
128
|
//# sourceMappingURL=types.d.ts.map
|
package/typed/api/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/api/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,aAAa,CAAC;AAEvC,oBAAY,kBAAkB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/api/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,aAAa,CAAC;AAEvC,oBAAY,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,UAAU,CAAC;AACrD,oBAAY,OAAO,GAAG,UAAU,GAAG,OAAO,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,CAAC;AAC5E,oBAAY,WAAW,GAAG,UAAU,GAAG,mBAAmB,GAAG,YAAY,GAAG,YAAY,GAAG,KAAK,CAAC;AACjG,oBAAY,eAAe,GAAG;IAC5B,WAAW,EAAE,WAAW,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MA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