Speed limit signs by country
Post each speed limit as a road sign shaped the way its country shapes it
Four short routes sit side by side, and the same speed limit reads differently on each. The sign’s face and unit follow the country the stretch runs through.
- Asking
sectionTypesforcountryalongsidespeedLimitmakes a sign local, because the face and the unit come from the country sections. RoutingModule.showRoutesposts the signs from that response, so you add no icon, layer or unit conversion.summaryBubbles: { visible: false }in theRoutingModule.createconfig clears the tile for them, andsections.speedLimit.sign.minZoomposts them on a whole route, which sits below their default zoom.
Related examples
Route with custom main color
Calculate and display a route with its main color changed.
Customization
Routing
Web
Route with MapLibre Customization
Calculate and display a route with MapLibre layer customizations on it.
Customization
Routing
Web
Multiple routes from different origins
Display routes from multiple origins to a common destination
Customization
Routing
Web
Route with waypoint icon styling
Calculate and display a route with quick waypoint icon styling.
Customization
Routing
Web