@carto/ps-react-maps 1.0.0 → 1.1.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.
@@ -14,3 +14,9 @@ export declare function useMapActions(): import("./map-provider.types").MapActio
14
14
  * @returns {MapContextInterface['state']['maps'][string]} The map with the given ID.
15
15
  */
16
16
  export declare function useMapByID(id: string): import("./map-provider.types").MapsProps;
17
+ export declare function useMapActionsByID(id: string): {
18
+ setBasemap: (basemap: import("./map-provider.types").Basemap) => void;
19
+ setResize: (props: import("./map-provider.types").MapResize) => void;
20
+ setViewState: (viewState: import("@deck.gl/core/typed").MapViewState) => void;
21
+ setZoom: (zoom: number) => void;
22
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carto/ps-react-maps",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "CARTO's Professional Service React Maps library",
5
5
  "files": [
6
6
  "dist"