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

    Valhalla Isochrone engine class

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Calculate isochrone by given parameters from Valhalla API

      Parameters

      • lon: number

        Longitude

      • lat: number

        Latitude

      • contourType: "distance" | "time"

        the type of contour either time or distance

      • costingModel: "auto" | "pedestrian" | "bicycle"

        costing model either auto, bicycle or pedestrian

      • contours: Contour[]

        Optional. the list of contour. If skipped, default value is used.

      Returns Promise<{ features: GeoJSONStoreFeatures[]; type: "FeatureCollection" }>

      GeoJSON Feature Collection object