Apply a restriction to the Map
By restricting the map bounds, users can only pan and zoom inside the given bounds and the map’s viewport will not exceed these restrictions. This example displays a restricted map of the United Kingdom. The map bounds are restrictive. This reduces how far a user can zoom out, ensuring that everything outside of the restricted bounds stays hidden.