diff --git a/types/leaflet/index.d.ts b/types/leaflet/index.d.ts index 01dca1a3f0..a6c57b0557 100644 --- a/types/leaflet/index.d.ts +++ b/types/leaflet/index.d.ts @@ -1457,8 +1457,9 @@ export interface MarkerOptions extends InteractiveLayerOptions { riseOffset?: number; } -export class Marker extends Layer { +export class Marker
extends Layer {
constructor(latlng: LatLngExpression, options?: MarkerOptions);
+ toGeoJSON(): geojson.Feature