• Path component.

    A Path indicates a route on the map.

    Parameters

    Returns null

    const space1 = mapData.getByType('space')[0];
    const space2 = mapData.getByType('space')[1];
    const directions = mapView.getDirections(space1, space2);

    return directions ? <Path coordinate={directions.coordinates} options={{ color: 'blue' }} /> : null;
MMNEPVFCICPMFPCPTTAAATR