New answers tagged mapping
If you like to avoid the .OSM file, you can also use the Overpass API to get live data: http://www.overpass-api.de/open_layers_mashup.html
OpenLayers directly read OpenStreetMap vector files (.osm format) and Leaflet can read it with plugin. Osm file contains all the points of the road in order.
Top 50 recent answers are included