Skip to content

@smartmaps/maps • Docs


@smartmaps/maps / GeoJSON

Class: GeoJSON\<P>

Extends

  • GeoJSON\<P>

Type Parameters

• P = unknown

Constructors

new GeoJSON()

new GeoJSON\<P>(geojson?, options?): GeoJSON\<P>

Parameters

• geojson?: GeoJsonObject

• options?: GeoJSONOptions\<P, Geometry>

Returns

GeoJSON\<P>

Overrides

LeafletGeoJSON<P>.constructor