Skip to main content

How to Set a Specific Zoom or Viewport in PamPam

If you want your map to be set a specific zoom or viewport, here's how.

Updated this week

If you want your map to always open at a certain zoom level or location — whether someone is viewing it directly or inside an embed — you can set this manually in PamPam.

This is helpful when:

  • The map loads too close to a single pin

  • The map loads zoomed too far out (e.g., the whole US)

  • You want the map to start on a specific city or region

  • You’re embedding the map and want the viewer to land on a particular place right away

Here’s how to do it:


Step 1: Set the View You Want

  1. Open your map in PamPam.

  2. Manually pan and zoom the map until it shows exactly the area you want (for example: all of Southern California, a specific city, or a wide region).

  3. Make sure the view looks exactly how you want it to load.


Step 2: Copy the URL From Your Browser

When the map is positioned correctly:

  • Look at the address bar in your browser.

  • The URL will now include coordinates and zoom values at the end.

    • Example:

      https://www.pampam.city/pampam-demo-map-0Cts1naf7GZpbEUxe7T6?38.469863,-102.917056,3.2
  • Copy this full URL.

This URL now “remembers” your zoom level and location.


Step 3: Use This URL for Sharing or Embedding

Wherever you want to control the default view:

Sharing the Map

Just share the URL you copied.
Anyone who opens it will see the map at the zoom and location you set.


Embedding the Map

Paste the URL inside your src="" in your iframe.

Example embed:

<iframe    style="border: 1px solid rgba(0, 0, 0, 0.1);"    width="100%"    height="450"    src="https://www.pampam.city/pampam-demo-map-0Cts1naf7GZpbEUxe7T6?38.469863,-102.917056,3.2"    allowfullscreen> </iframe>

This ensures the embedded map loads exactly where you want — not zoomed too far out or too close.


💡 Tips

  • If the map still feels off, try zooming slightly out or in and copying the URL again.

  • You can repeat this process anytime you want to change the default view.

  • The last numbers in the URL control zoom — higher numbers = zoomed in, lower numbers = zoomed out.

Did this answer your question?