Hide map navigation controls
This tutorial shows how to hide the navigation control (zoom and rotation controls to the map).
By default the navigation control is activated and added to the map.
Copy the following code, paste it into your favorite text editor, and save it as a
Install the npm package.
Include the CSS file.
YOUR_MAPTILER_API_KEY_HEREwith your actual MapTiler API key.
The next is up to you. You can start the map in a different place by modifying the
starting zoom, and you can change the look of the map to any of our styles, or yours, by updating the
style. See what’s available here.
To hide the control and remove it from the map, all you have to do is indicate it in the map builder options.