Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/react-leaflet

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-leaflet - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

19

react-leaflet/index.d.ts

@@ -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;

4

react-leaflet/package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc