Socket
Socket
Sign inDemoInstall

@types/leaflet

Package Overview
Dependencies
Maintainers
1
Versions
136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/leaflet - npm Package Compare versions

Comparing version 1.5.1 to 1.5.2

37

leaflet/index.d.ts

@@ -1166,2 +1166,17 @@ // Type definitions for Leaflet.js 1.5

export abstract class DivOverlay extends Layer {
constructor(options?: DivOverlayOptions, source?: Layer);
getLatLng(): LatLng | undefined;
setLatLng(latlng: LatLngExpression): this;
getContent(): Content | ((source: Layer) => Content) | undefined;
setContent(htmlContent: ((source: Layer) => Content) | Content): this;
getElement(): HTMLElement | undefined;
update(): void;
isOpen(): boolean;
bringToFront(): this;
bringToBack(): this;
options: DivOverlayOptions;
}
export interface PopupOptions extends DivOverlayOptions {

@@ -1184,13 +1199,4 @@ maxWidth?: number;

export class Popup extends Layer {
export class Popup extends DivOverlay {
constructor(options?: PopupOptions, source?: Layer);
getLatLng(): LatLng | undefined;
setLatLng(latlng: LatLngExpression): this;
getContent(): Content | ((source: Layer) => Content) | undefined;
setContent(htmlContent: ((source: Layer) => Content) | Content): this;
getElement(): HTMLElement | undefined;
update(): void;
isOpen(): boolean;
bringToFront(): this;
bringToBack(): this;
openOn(map: Map): this;

@@ -1215,14 +1221,5 @@

export class Tooltip extends Layer {
export class Tooltip extends DivOverlay {
constructor(options?: TooltipOptions, source?: Layer);
setOpacity(val: number): void;
getLatLng(): LatLng | undefined;
setLatLng(latlng: LatLngExpression): this;
getContent(): Content | undefined;
setContent(htmlContent: ((source: Layer) => Content) | Content): this;
getElement(): HTMLElement | undefined;
update(): void;
isOpen(): boolean;
bringToFront(): this;
bringToBack(): this;

@@ -1229,0 +1226,0 @@ options: TooltipOptions;

{
"name": "@types/leaflet",
"version": "1.5.1",
"version": "1.5.2",
"description": "TypeScript definitions for Leaflet.js",

@@ -49,4 +49,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "031f014a72b56c3b0e444c94705fe600a6d9cd1af513707f39d68eb63cb27b60",
"typesPublisherContentHash": "221b5169e698aea3ccc86f62390278768130cb46a8c036aa0c475ca7db3daed5",
"typeScriptVersion": "2.3"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Wed, 14 Aug 2019 19:55:38 GMT
* Last updated: Tue, 24 Sep 2019 17:10:53 GMT
* Dependencies: @types/geojson

@@ -14,0 +14,0 @@ * Global values: L

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