Opened 10 years ago

Closed 10 years ago

#1696 closed defect (fixed)

Nodes with tags aren't always highlighted

Reported by: emj Owned by: richard@…
Priority: minor Milestone:
Component: potlatch (flash editor) Version:
Keywords: Cc:

Description

Nodes with tags aren't always displayed as a black dot

Is node highlighted:

node part of two ways: no node in the end of an untagged way: no node in the middle of an untagged way: yes

See here: http://openstreetmap.org/edit?lat=59.31297&lon=18.03621&zoom=17

Change History (5)

comment:1 Changed 10 years ago by StellanL

I add a lot of turning circles, and it always bothers me that tagged nodes at the very start of a way are not drawn with a black circle.

comment:2 Changed 10 years ago by StellanL

Fix seems simple, at line 184 of Line.as:

for (var i=1; i<this.path.length; i+=1) {

this.line.lineTo(this.path[i].x,this.path[i].y);

should be something like:

for (var i=0; i<this.path.length; i+=1) {

if (i>0) {

this.line.lineTo(this.path[i].x,this.path[i].y);

}

comment:3 Changed 10 years ago by StellanL

That is for way.as, of course.

comment:4 Changed 10 years ago by Richard

You are of course right (hooray! a patch!) - many thanks. Will try and fix it tonight/tomorrow.

comment:5 Changed 10 years ago by Richard

Resolution: fixed
Status: newclosed

Applie

Note: See TracTickets for help on using tickets.