toGeoJSON method

GeoJson toGeoJSON([
  1. double? precision
])

precision is the number of decimal places for coordinates The default value is 6 places. Returns a GeoJSON representation of the polyline (as a GeoJSON LineString or MultiLineString Feature).

Implementation

external GeoJson toGeoJSON([double? precision]);