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 layer group (as a GeoJSON FeatureCollection, GeometryCollection, or MultiPoint).

Implementation

external GeoJson toGeoJSON([double? precision]);