From 52c346b4a22c992cc70d5d579ba0a1ef5356e75f Mon Sep 17 00:00:00 2001 From: Arne Schubert Date: Mon, 30 Jan 2017 21:45:46 +0100 Subject: [PATCH] GeoJSON has to extend FeatureGroup --- leaflet/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/leaflet/index.d.ts b/leaflet/index.d.ts index fe28a52f32..91dc413c26 100644 --- a/leaflet/index.d.ts +++ b/leaflet/index.d.ts @@ -854,7 +854,7 @@ declare namespace L { * Represents a GeoJSON object or an array of GeoJSON objects. * Allows you to parse GeoJSON data and display it on the map. Extends FeatureGroup. */ - export class GeoJSON { + export class GeoJSON extends FeatureGroup { /** * Creates a Layer from a given GeoJSON feature. Can use a custom pointToLayer * and/or coordsToLatLng functions if provided as options.