Add 'steal' as special rendering, update 'multi', add entrance overview to onwheels layer
This commit is contained in:
parent
181c5583d2
commit
7e32413113
11 changed files with 462 additions and 73 deletions
|
@ -93,7 +93,7 @@ export default class CreateNewNodeAction extends OsmCreateAction {
|
|||
|
||||
|
||||
// Project the point onto the way
|
||||
|
||||
console.log("Snapping a node onto an existing way...")
|
||||
const geojson = this._snapOnto.asGeoJson()
|
||||
const projected = GeoOperations.nearestPoint(geojson, [this._lon, this._lat])
|
||||
const projectedCoor= <[number, number]>projected.geometry.coordinates
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue