UNPKG

mapeo-id-bmf

Version:

iD Editor for osm-p2p & mapeo-desktop changed to meet requirements of Bruno Manser Fonds

14 lines (11 loc) 401 B
import { actionDeleteRelation } from './delete_relation'; // `actionUnrestrictTurn` deletes a turn restriction relation. // // `turn` must be an `osmTurn` object with a `restrictionID` property. // see osm/intersection.js, pathToTurn() // export function actionUnrestrictTurn(turn) { return function(graph) { return actionDeleteRelation(turn.restrictionID)(graph); }; }