geometryToLayer static method

Layer geometryToLayer(
  1. dynamic featureData,
  2. GeoJson options
)

Static methods

Creates a Layer from a given GeoJSON feature. Can use a custom pointToLayer and/or coordsToLatLng functions if provided as options.

Implementation

/// Creates a Layer from a given GeoJSON feature.
/// Can use a custom pointToLayer and/or coordsToLatLng functions if provided as options.
external static Layer geometryToLayer(dynamic featureData, GeoJson options);