@carto/ps-react-maps 1.3.1-alpha.1 → 1.3.1-alpha.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.
|
@@ -22,3 +22,11 @@ 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: Record<string, {
|
|
30
|
+
url?: string;
|
|
31
|
+
type: MapsTypes;
|
|
32
|
+
}>;
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import type { PickingInfo } from '@deck.gl/core/typed';
|
|
3
3
|
import type { GoogleMapsOverlay, GoogleMapsOverlayProps } from '@deck.gl/google-maps/typed';
|
|
4
4
|
import type { DeckGLProps, DeckGLRef } from '@deck.gl/react/typed';
|
|
5
|
-
import type { StyleSpecification } from 'maplibre-gl';
|
|
6
5
|
import type { Properties } from 'csstype';
|
|
7
6
|
import type { MutableRefObject, ReactNode } from 'react';
|
|
8
7
|
import type { MapRef } from 'react-map-gl';
|
|
@@ -69,7 +68,7 @@ export type MapContextInterface = {
|
|
|
69
68
|
/**
|
|
70
69
|
* Basemap types.
|
|
71
70
|
*/
|
|
72
|
-
export type Basemap = (typeof GMapsBasemap)[keyof typeof GMapsBasemap] | (typeof CartoBasemapsNames)[keyof typeof CartoBasemapsNames] | string
|
|
71
|
+
export type Basemap = (typeof GMapsBasemap)[keyof typeof GMapsBasemap] | (typeof CartoBasemapsNames)[keyof typeof CartoBasemapsNames] | string;
|
|
73
72
|
/**
|
|
74
73
|
* Common properties for the map.
|
|
75
74
|
*/
|