UNPKG

@any-routing/core

Version:

This library was generated with [Nx](https://nx.dev).

15 lines 531 B
export function isWaypointPositionEqual(posA, posB) { return posA.lat === posB.lat && posA.lng === posB.lng; } export class InternalWaypointC { static fromWaypoint(waypoint, props) { return { index: props.index, originalPosition: waypoint.position, position: waypoint.position, geocoded: waypoint.geocoded, properties: Object.assign(Object.assign({}, props), (waypoint.properties || {})), }; } } //# sourceMappingURL=libre-routing.model.js.map