From 01caeca3d5166d44aa7d72690bc80e2a77e813a2 Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Mon, 22 Jul 2019 21:30:25 +0200 Subject: [PATCH] leaflet: update L.Browser constants (#37033) * leaflet: update L.Browser constants Ref: https://leafletjs.com/reference-1.5.0.html#browser * leaflet: style fixes --- types/leaflet/index.d.ts | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/types/leaflet/index.d.ts b/types/leaflet/index.d.ts index eadcef4b4b..c77db9293a 100644 --- a/types/leaflet/index.d.ts +++ b/types/leaflet/index.d.ts @@ -1561,33 +1561,36 @@ export class Marker

extends Layer { export function marker(latlng: LatLngExpression, options?: MarkerOptions): Marker; export namespace Browser { + // sorting according to https://leafletjs.com/reference-1.5.0.html#browser const ie: boolean; const ielt9: boolean; const edge: boolean; const webkit: boolean; - const gecko: boolean; const android: boolean; const android23: boolean; + const androidStock: boolean; + const opera: boolean; const chrome: boolean; + const gecko: boolean; const safari: boolean; + const opera12: boolean; const win: boolean; const ie3d: boolean; const webkit3d: boolean; const gecko3d: boolean; - const opera12: boolean; const any3d: boolean; const mobile: boolean; const mobileWebkit: boolean; const mobileWebkit3d: boolean; - const mobileOpera: boolean; - const mobileGecko: boolean; - const touch: boolean; const msPointer: boolean; const pointer: boolean; + const touch: boolean; + const mobileOpera: boolean; + const mobileGecko: boolean; const retina: boolean; const canvas: boolean; - const vml: boolean; const svg: boolean; + const vml: boolean; } export namespace Util {