Getting Started with Create React App Use the example osm map of autoware: https://github.com/DennyKuo0809/React-Leaflet-OSMXML-Reader/blob/main/public/lanelet2_map.osm Result: Main reference leaflet-osm React-leaflet example - polyline