From 8f143dcd96207fb1ecf8e274c0ef9c8cb2a65acb Mon Sep 17 00:00:00 2001 From: Ulrich Fischer Date: Tue, 9 May 2017 10:53:00 +0200 Subject: [PATCH] Update index.d.ts Added two missing conversion methods --- types/leaflet/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/leaflet/index.d.ts b/types/leaflet/index.d.ts index 41da11d362..3208733869 100644 --- a/types/leaflet/index.d.ts +++ b/types/leaflet/index.d.ts @@ -1372,9 +1372,11 @@ declare namespace L { layerPointToLatLng(point: PointExpression): LatLng; latLngToLayerPoint(latlng: LatLngExpression): Point; wrapLatLng(latlng: LatLngExpression): LatLng; + wrapLatLngBounds(bounds: LatLngBounds): LatLngBounds; distance(latlng1: LatLngExpression, latlng2: LatLngExpression): number; containerPointToLayerPoint(point: PointExpression): Point; layerPointToContainerPoint(point: PointExpression): Point; + containerPointToLatLng(point: PointExpression): LatLng; latLngToContainerPoint(latlng: LatLngExpression): Point; mouseEventToContainerPoint(ev: MouseEvent): Point; mouseEventToLayerPoint(ev: MouseEvent): Point;