@longline/aqua-ui 1.0.304 → 1.0.307
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/map/Map/Map.d.ts +2 -1
- package/map/Map/Map.js +1 -1
- package/package.json +1 -1
package/map/Map/Map.d.ts
CHANGED
|
@@ -127,9 +127,10 @@ interface IMapProps {
|
|
|
127
127
|
*/
|
|
128
128
|
onMouseLeave?: (e: MapMouseEvent) => void;
|
|
129
129
|
}
|
|
130
|
+
declare const ViewStateContext: React.Context<ViewState>;
|
|
130
131
|
declare const useViewState: () => ViewState;
|
|
131
132
|
declare const Map: {
|
|
132
133
|
({ longitude, latitude, zoom, pitch, bearing, logoPosition, interactiveLayerIds, noRotate, preserveDrawingBuffer, minZoom, maxZoom, fadeDuration, doubleClickZoom, ...props }: IMapProps): React.JSX.Element;
|
|
133
134
|
displayName: string;
|
|
134
135
|
};
|
|
135
|
-
export { Map, IMapProps, useViewState };
|
|
136
|
+
export { Map, IMapProps, useViewState, ViewStateContext };
|
package/map/Map/Map.js
CHANGED
|
@@ -233,5 +233,5 @@ var Map = function (_a) {
|
|
|
233
233
|
return React.createElement(MapBase, __assign({ longitude: longitude, latitude: latitude, zoom: zoom, pitch: pitch, bearing: bearing, logoPosition: logoPosition, interactiveLayerIds: interactiveLayerIds, noRotate: noRotate, preserveDrawingBuffer: preserveDrawingBuffer, minZoom: minZoom, maxZoom: maxZoom, fadeDuration: fadeDuration, doubleClickZoom: doubleClickZoom }, props));
|
|
234
234
|
};
|
|
235
235
|
Map.displayName = 'Map';
|
|
236
|
-
export { Map, useViewState };
|
|
236
|
+
export { Map, useViewState, ViewStateContext };
|
|
237
237
|
var templateObject_1;
|