TomTom Maps for JavaScript
    Preparing search index...

    Type Alias DisplayRouteSummary

    DisplayRouteSummary: Feature<Point, DisplayRouteSummaryProps>

    GeoJSON feature of a point with display-ready route summary props.

    Represents a single route summary bubble on the map, typically shown at the end point or along the route path.

    Use Cases:

    • End-point summary bubbles
    • Midpoint information markers
    • Interactive route details
    const summaryFeature: DisplayRouteSummary = {
    type: 'Feature',
    geometry: {
    type: 'Point',
    coordinates: [4.9, 52.3]
    },
    properties: {
    routeIndex: 0,
    routeState: 'selected',
    formattedDistance: '15.3 km',
    formattedDuration: '22 min'
    }
    };