Skip to content

Fix Mapbox controls by refering to `NavigationControl`

Sifeddine Biri requested to merge prod-mapbox-fix into main

The Google Closure compiler munges names when optimizing production builds. This broke the NavigationControl reference. Fixed by adding an explicit reference to NavigationControl, so the compiler knows about it during renaming. Now map controls and layers show up correctly in prod.

Merge request reports

Loading