Change default style to allways show an arrow pointing the direction for active lines. #3380
Comments
Author: Richard We aim to add Potlatch 1-like behaviour with the direction arrow. However it's a much more difficult task in ActionScript 3/Flex than it was in ActionScript 1, which is why we haven't done so yet (despite spending some hours on the problem). For the record, Potlatch 1 did indeed show the direction of circles, though you had to look pretty closely! |
Author: extremecarver Okay, good to know. Why not show arrows for any active way then? |
Author: Richard Drawing arrows is very computationally expensive - especially on a really long way (we haven't implemented clipping regions for way drawing yet, so everything is recalculated on each redraw including off-screen regions). Certainly there's nothing to stop someone coming up with a style that does this but I'd be loth to include it as the default style! |
Author: stevage Since I forgot about Richard's comment until now, I made some styles as suggested and put them in [25117]. See my checkin comments. Oh, also, if MapCSS supported simultaneous :selected and :hover, I'd be tempted to make that the time at which direction arrows show up. |
Author: BennieD Replying to [comment:4 stevage]:
|
Author: Richard The change has not yet been deployed onto the live site so you can't see it yet. Changes to the code are not automatically published to openstreetmap.org; they require manual deployment. As per discussions on the potlatch-dev mailing list, this particular change probably won't make it into the default style; though valuable to advanced mappers, it has serious drawbacks as a default style (confusing to newcomers who don't realise it doesn't mean "one way", comparatively slow to draw which is a serious issue on Linux Flash Player). Instead, there will be a separate 'Enhanced' style for this. I will commit this in the next few days though am busy with the day job at the moment. |
Author: stevage I'll disagree politely with two of your statements then shut up:
Also, with the "enhanced" style, is this: These are different use cases. |
Author: Richard Fixed in r25152-r25170. |
Author: BennieD Replying to [comment:8 Richard]:
|
Reporter: extremecarver
[Submitted to the original trac issue database at 8.30pm, Tuesday, 7th December 2010]
Even though it is nice that oneway=yes or -1 is displayed via the style, it is not friendly at all (and therefore makes P2 for me unusable) that the direction otherwise by default is not shown (at least for the active line). In P1 the direction reverse arrow pointed the direction of every line, which was very good too (except for circles).
There are plenty of things that are direction dependant (any multipolygon, rivers, skipistes, incline, forward/backward, left/right or any key that is only applicable to one side of a street (of which plenty exist), a myriad of restrictions, ......).
One cannot expect users to change the style to show this, nor would it be practical (too much clutter), to display arrows for every way. Hence the direction reverse arrow has to indicate the direction of any line just as it did in P1, or better, if any line is selected there should be some sort of arrows to indicate which direction the line is facing (a circle is a closed line, so arrows too).
The text was updated successfully, but these errors were encountered: