RAMP4 - v4.21.0
    Preparing search index...

    Interface GeoJsonOptions

    Options for converting GeoJson to EsriJson

    interface GeoJsonOptions {
        colour?: string;
        fieldMetadata?: RampLayerFieldMetadataConfig;
        latField?: string;
        layerId?: string;
        lonField?: string;
        sourceProjection?: string | number | SpatialReference;
        targetSR?: string | number | SpatialReference;
    }
    Index

    Properties

    colour?: string

    Will use this colour in the basic default symbol

    Any layer fieldMetadata configuration to apply

    latField?: string

    Latitude field name if exists in the GeoJson. Typically from a CSV conversion. Ensures field gets encoded as a number.

    layerId?: string

    Will use this layerid on the EsriJson

    lonField?: string

    Longitude field name if exists in the GeoJson. Typically from a CSV conversion. Ensures field gets encoded as a number.

    sourceProjection?: string | number | SpatialReference

    Projection of incoming GeoJson. If missing, will use geojson crs, LatLong if no crs.

    targetSR?: string | number | SpatialReference

    Spatial Reference of output Esri Json geometry