Speed limit signs by country

Post each speed limit as a road sign shaped the way its country shapes it

View on GitHub
SDK 1.0.0

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 sectionTypes for country alongside speedLimit makes a sign local, because the face and the unit come from the country sections.
  • RoutingModule.showRoutes posts the signs from that response, so you add no icon, layer or unit conversion.
  • summaryBubbles: { visible: false } in the RoutingModule.create config clears the tile for them, and sections.speedLimit.sign.minZoom posts them on a whole route, which sits below their default zoom.

Related examples