1. Home
  2. Knowledge Base
  3. Advanced
  4. Controlling Map boundaries and Zoom

Controlling Map boundaries and Zoom

By default, maps offer unrestricted panning and zooming across the globe. To create a more focused and engaging user experience, you can effectively manage map boundaries and zoom levels. Learn how to:

  • Set precise map boundaries
  • Limit zoom range
  • Control map tilt angle

Use Cases

Adjusting Map Boundaries

Imagine you’re creating a map of Arizona’s national parks. You want users to focus on Arizona, not accidentally pan to neighboring states. For this, you’ll set the map boundaries.

Limiting Map Zoom Range

Let’s say you’re showcasing the world’s greenest cities. You might prefer users to see these cities at a detailed level, preventing excessive zooming that hides details. Here, the zoom level limit comes in handy.

Enabling Map Limits

To enable limits, look for the “Limit Map Boundaries, Zoom, and Pitch” toggle. Once activated, you’ll see additional options for setting the limits.

Setting Limits

  • Zoom and Pitch Range: Use a slider to define the minimum and maximum zoom levels (0-22) and pitch angles (0-60, or 85 with high-pitch angles enabled).
  • Map Boundaries: Drag the corners of a rectangle to define the boundaries of the viewable map area.

Zoom Level Range

Zoom levels range from 0 (furthest out) to 22 (closest).

Pitch Range

Pitch adjusts the map’s tilt, with 0 being flat and higher values tilting the map. You can allow high-pitch angles for a more dramatic view (up to 85 degrees).

Map Boundaries

The orange rectangle represents the map’s boundaries. Remember that when a location is selected, it becomes the map center. Ensure your boundaries are large enough to accommodate all locations at any allowed zoom level, or the map might jump unexpectedly.

Related Articles

Contact Us

Questions. Need help? Use the chat button or the Contact Us form

I Getting Started

Check our 2 mins Getting Started Tutorial video

New Features

Check the release notes for the latest features and improvements