Function writeGeoJSON

  • Writes all the features of the current layer to GeojsonLayer

    Type Parameters

    Parameters

    • data: GeoJSONData
    • Optionaloptions: O

    Returns O["asObject"] extends true
        ? FeatureCollection
        : string