@types/react-leaflet
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -149,2 +149,4 @@ // Type definitions for react-leaflet 2.2 | ||
whenReady?: () => void; | ||
onViewportChange?: (viewport: Viewport) => void; | ||
onViewportChanged?: (viewport: Viewport) => void; | ||
} | ||
@@ -159,4 +161,4 @@ | ||
updateLeafletElement(fromProps: P, toProps: P): void; | ||
onViewportChange: (viewport: Viewport | null) => void; | ||
onViewportChanged: (viewport: Viewport | null) => void; | ||
onViewportChange: () => void; | ||
onViewportChanged: () => void; | ||
bindContainer(container: HTMLDivElement | null | undefined): void; | ||
@@ -281,2 +283,15 @@ shouldUpdateCenter(next: Leaflet.LatLngExpression, prev: Leaflet.LatLngExpression): boolean; | ||
export interface VideoOverlayProps extends Leaflet.VideoOverlayOptions, MapComponentProps { | ||
attribution?: string; | ||
bounds: Leaflet.LatLngBoundsExpression; | ||
opacity?: number; | ||
play?: boolean; | ||
url: string | string[] | HTMLVideoElement; | ||
zIndex?: number; | ||
} | ||
export class VideoOverlay<P extends VideoOverlayProps = VideoOverlayProps, E extends Leaflet.VideoOverlay = Leaflet.VideoOverlay> extends MapLayer<P, E> { | ||
createLeafletElement(props: P): E; | ||
updateLeafletElement(fromProps: P, toProps: P): void; | ||
} | ||
export class LayerGroup<P extends MapLayerProps = MapLayerProps, E extends Leaflet.LayerGroup = Leaflet.LayerGroup> extends MapLayer<P, E> { | ||
@@ -283,0 +298,0 @@ createLeafletElement(props: P): E; |
{ | ||
"name": "@types/react-leaflet", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "TypeScript definitions for react-leaflet", | ||
@@ -35,4 +35,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "1e3aef08a8598cc3d70c8018e8de273fd2ebcc927817ac73adf16316e3544f6f", | ||
"typesPublisherContentHash": "8e7ac91362c301483070aa69398bd666640774f1332e23ee19e27e3a43e4658b", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Thu, 28 Feb 2019 17:33:33 GMT | ||
* Last updated: Mon, 11 Mar 2019 17:57:40 GMT | ||
* Dependencies: @types/leaflet, @types/react | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22345
408