@carto/ps-react-maps 0.0.1-alpha.10 → 0.0.1-alpha.11
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.
|
@@ -4,7 +4,7 @@ import { type GoogleMapsOverlay, type GoogleMapsOverlayProps } from '@deck.gl/go
|
|
|
4
4
|
import { type DeckGLProps, type DeckGLRef } from '@deck.gl/react/typed';
|
|
5
5
|
import type { StyleSpecification } from 'maplibre-gl';
|
|
6
6
|
import type { Properties } from 'csstype';
|
|
7
|
-
import type { MutableRefObject, ReactNode
|
|
7
|
+
import type { MutableRefObject, ReactNode } from 'react';
|
|
8
8
|
import { type MapRef } from 'react-map-gl';
|
|
9
9
|
import { CartoBasemapsNames, GMapsBasemap } from './map-provider.const';
|
|
10
10
|
export type MapProviderProps = {
|
|
@@ -32,7 +32,7 @@ export type Basemap = (typeof GMapsBasemap)[keyof typeof GMapsBasemap] | (typeof
|
|
|
32
32
|
export type CommonProps = {
|
|
33
33
|
id: string;
|
|
34
34
|
basemap?: Basemap;
|
|
35
|
-
instanceRef?:
|
|
35
|
+
instanceRef?: MutableRefObject<InstanceMapRef>;
|
|
36
36
|
overlayRef?: MutableRefObject<OverlayMapRef>;
|
|
37
37
|
} & DeckGLProps;
|
|
38
38
|
export type MapsProps = DeckGLMapsProps & GoogleMapsProps;
|