// Regular waypoint
const waypoint: Waypoint = {
type: 'Feature',
geometry: { type: 'Point', coordinates: [4.9041, 52.3676] },
properties: {}
};
// Circle waypoint with custom properties
const circleWaypoint: Waypoint<{ name: string }> = {
type: 'Feature',
geometry: { type: 'Point', coordinates: [4.9041, 52.3676] },
properties: { radiusMeters: 1000, name: 'Via Amsterdam' }
};
GeoJSON Feature representing a route waypoint.
Waypoints are points that define the route path. The route will pass through each waypoint in the order they are specified.