From 46356052281b869c51e3e2d94a194262ab84322e Mon Sep 17 00:00:00 2001 From: Silas Rech Date: Mon, 30 Jul 2018 14:34:34 +0200 Subject: [PATCH] mapbox.Marker is evented and has the draggable option --- types/mapbox-gl/index.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/types/mapbox-gl/index.d.ts b/types/mapbox-gl/index.d.ts index 5f64b7470b..f52ac4ed98 100644 --- a/types/mapbox-gl/index.d.ts +++ b/types/mapbox-gl/index.d.ts @@ -752,7 +752,7 @@ declare namespace mapboxgl { /** * Marker */ - export class Marker { + export class Marker extends Evented { constructor(options?: mapboxgl.MarkerOptions); constructor(element?: HTMLElement, options?: mapboxgl.MarkerOptions); @@ -784,6 +784,8 @@ declare namespace mapboxgl { anchor?: Anchor; color?: string + + draggable?: boolean; } /**