@watergis/maplibre-gl-terradraw
    Preparing search index...

    Contour definition. When it is passing to valhalla, both time and distance cannot be passed. If time exists, valhalla compute time isochrone. If distance exists, valhalla compute distance isochrone. If both parameters are passed to API, it throws error.

    interface Contour {
        color: string;
        distance?: number;
        time?: number;
    }
    Index

    Properties

    Properties

    color: string

    HEX color with hash (#). However, hash needs to be eliminated when it is passed to valhalla API.

    distance?: number

    Distance in kilometers

    time?: number

    Time in minutes