@carto/ps-react-maps 1.3.1-alpha.0 → 1.3.1-alpha.2

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,6 +1,6 @@
1
1
  export * from './map-provider.const';
2
2
  export * from './map-provider.types';
3
- export { INITIAL_STATE, MapContext, MapActionsContext, } from './map-provider.context';
4
- export { reducer } from './map-provider.reducer';
3
+ export { MapContext, MapActionsContext, MapReferencesContext, } from './map-provider.context';
4
+ export { reducer, Actions as MapActions } from './map-provider.reducer';
5
5
  export { useMap, useMapActions, useMapRefences, useMapByID, useMapActionsByID, useMapReferencesByID, } from './map-provider.hook';
6
6
  export { MapProvider } from './map-provider.provider';
@@ -22,3 +22,30 @@ export declare const CartoBasemapURL: {
22
22
  voyager: string;
23
23
  "dark-matter": string;
24
24
  };
25
+ export declare const enum MapsTypes {
26
+ Maplibre = "maplibre",
27
+ GoogleMaps = "google-maps"
28
+ }
29
+ export declare const MAPS_BASEMAP: {
30
+ positron: {
31
+ url: string;
32
+ type: MapsTypes;
33
+ };
34
+ voyager: {
35
+ url: string;
36
+ type: MapsTypes;
37
+ };
38
+ "dark-matter": {
39
+ url: string;
40
+ type: MapsTypes;
41
+ };
42
+ roadmap: {
43
+ type: MapsTypes;
44
+ };
45
+ satellite: {
46
+ type: MapsTypes;
47
+ };
48
+ hybrid: {
49
+ type: MapsTypes;
50
+ };
51
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carto/ps-react-maps",
3
- "version": "1.3.1-alpha.0",
3
+ "version": "1.3.1-alpha.2",
4
4
  "description": "CARTO's Professional Service React Maps library",
5
5
  "files": [
6
6
  "dist"