maplibre-react-components
Advanced tools
Comparing version 0.1.10 to 0.2.0
@@ -94,3 +94,3 @@ import * as react from 'react'; | ||
}; | ||
declare const mapReactiveOptionNames: readonly ["maxBounds", "minZoom", "maxZoom", "minPitch", "maxPitch", "renderWorldCopies", "pixelRatio"]; | ||
declare const mapReactiveOptionNames: readonly ["maxBounds", "minZoom", "maxZoom", "minPitch", "maxPitch", "renderWorldCopies", "pixelRatio", "centerClampedToGround"]; | ||
type MapReactiveOptionName = (typeof mapReactiveOptionNames)[number]; | ||
@@ -100,3 +100,3 @@ type MapReactiveOptions = { | ||
}; | ||
declare const mapNonReactiveOptionNames: readonly ["hash", "interactive", "bearingSnap", "attributionControl", "maplibreLogo", "logoPosition", "failIfMajorPerformanceCaveat", "preserveDrawingBuffer", "antialias", "refreshExpiredTiles", "trackResize", "maxTileCacheSize", "maxTileCacheZoomLevels", "transformRequest", "transformCameraUpdate", "locale", "fadeDuration", "crossSourceCollisions", "collectResourceTiming", "clickTolerance", "validateStyle", "maxCanvasSize", "center", "zoom", "bearing", "pitch", "bounds", "fitBoundsOptions", "localIdeographFontFamily", "pitchWithRotate", "cancelPendingTileRequestsWhileZooming"]; | ||
declare const mapNonReactiveOptionNames: readonly ["hash", "interactive", "bearingSnap", "attributionControl", "maplibreLogo", "logoPosition", "canvasContextAttributes", "refreshExpiredTiles", "trackResize", "center", "elevation", "zoom", "bearing", "pitch", "roll", "maxTileCacheSize", "maxTileCacheZoomLevels", "transformRequest", "transformCameraUpdate", "locale", "fadeDuration", "crossSourceCollisions", "collectResourceTiming", "clickTolerance", "bounds", "fitBoundsOptions", "localIdeographFontFamily", "pitchWithRotate", "rollEnabled", "validateStyle", "maxCanvasSize", "cancelPendingTileRequestsWhileZooming"]; | ||
type MapNonReactiveOptionName = (typeof mapNonReactiveOptionNames)[number]; | ||
@@ -334,2 +334,7 @@ type MapInitialOptions = { | ||
type RGlobeControlProps = { | ||
position?: ControlPosition; | ||
}; | ||
declare const RGlobeControl: react.MemoExoticComponent<react.ForwardRefExoticComponent<RGlobeControlProps & react.RefAttributes<IControl>>>; | ||
declare const RLogoControl: react.MemoExoticComponent<react.ForwardRefExoticComponent<LogoControlOptions & { | ||
@@ -422,2 +427,2 @@ position?: ControlPosition; | ||
export { ContextMenuEventAdapter, CurrentMapIdContext, type Event, GradientMarker, MapLibreReactLogo, MapManager, type MaplibreContextmenuEventDetail, MrcLogoControl, RAttributionControl, RFullscreenControl, RGeolocateControl, RGradientMarker, RLayer, RLogoControl, RMap, RMapContext, RMapContextProvider, RMarker, RNavigationControl, RPopup, RScaleControl, RSource, RTerrain, RTerrainControl, areCoordsClose, areLngLatClose, arePointsEqual, deepEqual, emptyStyle, filterMapProps, gradientMarkerPopupOffset, lngLatClassToObj, markerPopupOffset, prepareEventDep, transformPropsToOptions, uniqueId, updateClassNames, updateListeners, useCanvasRef, useControl, useMap, useMapAndCanvasRefs, useMapManager, useRControl }; | ||
export { ContextMenuEventAdapter, CurrentMapIdContext, type Event, GradientMarker, MapLibreReactLogo, MapManager, type MaplibreContextmenuEventDetail, MrcLogoControl, RAttributionControl, RFullscreenControl, RGeolocateControl, RGlobeControl, RGradientMarker, RLayer, RLogoControl, RMap, RMapContext, RMapContextProvider, RMarker, RNavigationControl, RPopup, RScaleControl, RSource, RTerrain, RTerrainControl, areCoordsClose, areLngLatClose, arePointsEqual, deepEqual, emptyStyle, filterMapProps, gradientMarkerPopupOffset, lngLatClassToObj, markerPopupOffset, prepareEventDep, transformPropsToOptions, uniqueId, updateClassNames, updateListeners, useCanvasRef, useControl, useMap, useMapAndCanvasRefs, useMapManager, useRControl }; |
{ | ||
"name": "maplibre-react-components", | ||
"version": "0.1.10", | ||
"version": "0.2.0", | ||
"description": "React components for MapLibre GL JS", | ||
@@ -21,3 +21,3 @@ "keywords": [ | ||
"peerDependencies": { | ||
"maplibre-gl": "^3.0.0 || ^4.0.0", | ||
"maplibre-gl": "^5.0.0", | ||
"react": "^17.0.0 || ^18.0.0 || ^19.0.0", | ||
@@ -24,0 +24,0 @@ "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0" |
Sorry, the diff of this file is too big to display
109511
2621