@deck.gl/geo-layers 9.2.2 → 9.2.3

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.
@@ -1,9 +1,9 @@
1
1
  import { AccessorFunction, DefaultProps } from '@deck.gl/core';
2
- import GeoCellLayer from "../geo-cell-layer/GeoCellLayer.js";
3
- /**
4
- * Properties of `GeohashLayer`.
5
- */
6
- export type GeohashLayerProps<DataT = unknown> = {
2
+ import GeoCellLayer, { GeoCellLayerProps } from "../geo-cell-layer/GeoCellLayer.js";
3
+ /** All properties supported by GeohashLayer. */
4
+ export type GeohashLayerProps<DataT = unknown> = _GeohashLayerProps<DataT> & GeoCellLayerProps<DataT>;
5
+ /** Properties added by GeohashLayer. */
6
+ type _GeohashLayerProps<DataT> = {
7
7
  /**
8
8
  * Called for each data object to retrieve the geohash string identifier.
9
9
  *
@@ -12,9 +12,10 @@ export type GeohashLayerProps<DataT = unknown> = {
12
12
  getGeohash?: AccessorFunction<DataT, string>;
13
13
  };
14
14
  /** Render filled and/or stroked polygons based on the [Geohash](https://en.wikipedia.org/wiki/Geohash) geospatial indexing system. */
15
- export default class GeohashLayer<DataT = any, ExtraProps extends {} = {}> extends GeoCellLayer<DataT, Required<GeohashLayerProps> & ExtraProps> {
15
+ export default class GeohashLayer<DataT = any, ExtraProps extends {} = {}> extends GeoCellLayer<DataT, Required<_GeohashLayerProps<DataT>> & ExtraProps> {
16
16
  static layerName: string;
17
17
  static defaultProps: DefaultProps<GeohashLayerProps<unknown>>;
18
18
  indexToBounds(): Partial<GeoCellLayer['props']> | null;
19
19
  }
20
+ export {};
20
21
  //# sourceMappingURL=geohash-layer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"geohash-layer.d.ts","sourceRoot":"","sources":["../../src/geohash-layer/geohash-layer.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,gBAAgB,EAAE,YAAY,EAAC,MAAM,eAAe,CAAC;AAC7D,OAAO,YAAY,0CAAuC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S,SAAkB;IAClC,MAAM,CAAC,YAAY,2CAAgB;IAEnC,aAAa,IAAI,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,GAAG,IAAI;CAUvD"}
@@ -1 +1 @@
1
- {"version":3,"file":"geohash-layer.js","sourceRoot":"","sources":["../../src/geohash-layer/geohash-layer.ts"],"names":[],"mappings":"AAAA,UAAU;AACV,+BAA+B;AAC/B,oCAAoC;AAGpC,OAAO,YAAY,0CAAuC;AAC1D,OAAO,EAAC,iBAAiB,EAAC,2BAAwB;AAElD,MAAM,YAAY,GAAoC;IACpD,UAAU,EAAE,EAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,CAAM,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,EAAC;CAC7D,CAAC;AAcF,sIAAsI;AACtI,MAAqB,YAAsD,SAAQ,YAGlF;IAIC,aAAa;QACX,MAAM,EAAC,IAAI,EAAE,UAAU,EAAC,GAAG,IAAI,CAAC,KAAK,CAAC;QAEtC,OAAO;YACL,IAAI;YACJ,UAAU,EAAE,KAAK;YACjB,cAAc,EAAE,IAAI;YACpB,UAAU,EAAE,CAAC,CAAQ,EAAE,UAAU,EAAE,EAAE,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC;SACnF,CAAC;IACJ,CAAC;;AAZM,sBAAS,GAAG,cAAc,CAAC;AAC3B,yBAAY,GAAG,YAAY,CAAC;eALhB,YAAY"}
1
+ {"version":3,"file":"geohash-layer.js","sourceRoot":"","sources":["../../src/geohash-layer/geohash-layer.ts"],"names":[],"mappings":"AAAA,UAAU;AACV,+BAA+B;AAC/B,oCAAoC;AAGpC,OAAO,YAAiC,0CAAuC;AAC/E,OAAO,EAAC,iBAAiB,EAAC,2BAAwB;AAElD,MAAM,YAAY,GAAoC;IACpD,UAAU,EAAE,EAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,CAAM,EAAE,EAAE,CAAC,CAAC,CAAC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