@redus/georedus-ui 0.10.1 → 0.12.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @orioro/template-react
2
2
 
3
+ ## 0.12.0
4
+
5
+ ### Minor Changes
6
+
7
+ - add bacias hidrograficas and fix import issues
8
+
9
+ ## 0.11.0
10
+
11
+ ### Minor Changes
12
+
13
+ - implement detailed legends for climate datasets
14
+
3
15
  ## 0.10.1
4
16
 
5
17
  ### Patch Changes
@@ -0,0 +1,3 @@
1
+ export function DocumentIframe({ src }: {
2
+ src: any;
3
+ }): import("react").JSX.Element;
@@ -1,2 +1,3 @@
1
+ export function _bboxContains(a: any, b: any): boolean;
1
2
  export function GeoReDUS(props: any): React.JSX.Element;
2
3
  import React from 'react';
@@ -4,3 +4,20 @@ export function resolveInitialMunicipioId({ METADATA_API_ENDPOINT, coordinates,
4
4
  coordinates: any;
5
5
  defaultCoordinates: any;
6
6
  }): Promise<any>;
7
+ /**
8
+ * Returns a bbox covering the 3×3 grid of tiles around the tile that contains
9
+ * (lng, lat) at the given zoom. Useful for limiting map bounds or prefetching.
10
+ *
11
+ * TILE LAYOUT (center tile is x,y):
12
+ *
13
+ * +---------+---------+---------+
14
+ * | x-1,y-1 | x,y-1 | x+1,y-1 |
15
+ * +---------+---------+---------+
16
+ * | x-1,y | x,y | x+1,y |
17
+ * +---------+---------+---------+
18
+ * | x-1,y+1 | x,y+1 | x+1,y+1 |
19
+ * +---------+---------+---------+
20
+ *
21
+ * Returns: [minLng, minLat, maxLng, maxLat]
22
+ */
23
+ export function getSurroundingTilesBbox(lng: any, lat: any, zoom: any): number[];