--- layout: example category: example title: Restrict map panning to an area description: Prevent a map from being panned to a different place by setting maxBounds. tags: - user-interaction ---
maxBounds