| 1 | | == Maxspeed style == |
| 2 | | |
| 3 | | This style add display of driving speed related information to the map. |
| 4 | | |
| 5 | | === The style itself === |
| | 1 | [[TranslatedPages]] |
| | 2 | = [[Image(maxspeed_icon.png)]] Maxspeed style = |
| | 3 | [[PageOutline]] |
| | 4 | == Description == |
| | 5 | This style adds display of driving speed related information to the map. Example: |
| | 6 | |
| | 7 | [[Image(maxspeed_example.png)]] |
| | 8 | |
| | 9 | You can change the colors in the preferences of JOSM. The default colors are shown below. |
| | 10 | |
| | 11 | [[Image(maxspeed_legend.png)]] |
| | 12 | |
| | 13 | For ideas/questions/bugs/suggestions or similar please write a message to [osmwww:user/Klumbumbus Klumbumbus]. |
| | 14 | |
| | 15 | Feel free to translate this wiki page into more languages. Already translated languages see top right. |
| | 16 | |
| | 17 | == Changelog == |
| | 18 | === Version 1.5 to 2.0.xx === |
| | 19 | |
| | 20 | * change from xml to mapcss |
| | 21 | * support of maxspeed:forward and maxspeed:backward (considering left and right hand traffic) |
| | 22 | * support of maxspeed:variable, maxspeed:variable:forward and maxspeed:variable:backward (dashed line) |
| | 23 | * highlight color is now below the highway line, to see the highway type (residential, secondary, motorway,...) |
| | 24 | * removed support of values without space between number and unit (e.g. ''35mph'') |
| | 25 | * added error message for wrong maxspeed values (like ''35mph'' or ''35 m/h'') |
| | 26 | * added error message if maxspeed direction is opposed to oneway direction |
| | 27 | * adjusted to most used values according to [http://taginfo.openstreetmap.org/keys/maxspeed#values taginfo] |
| | 28 | * added ''20'', ''45'', ''none'' |
| | 29 | * removed unused values like ''32.19'' |
| | 30 | * adjusted opacities, widths and some colors for better display and distinction between the colors |
| | 31 | * widths depends on zoom level |
| | 32 | |
| | 33 | |
| | 34 | == Code == |