All templates

View explorer

Can you see the Rockies from this home? Click a building in 3D Calgary: its view opens west as a surface, scored, with the skyline from its window.

3D view map · Calgary
Page block

Previews run the installed code on unmap's demo key, with stock shadcn components and the unmap theme. In your project it takes on your theme.

Add it with the unmap CLI

Detects Next.js or Nuxt, puts the page in place, installs the components it uses and declares the key variable.

npx @unmap/cli add view-explorer

Add to your Next.js app

npx shadcn@latest registry add @unmap=https://registry.unmap.dev/r/{name}.json
npx shadcn@latest add @unmap/view-explorer

Add to your Nuxt app

npx shadcn-vue@latest add https://registry.unmap.dev/r/vue/view-explorer.json

The page reads your browser key from NEXT_PUBLIC_UNMAP_KEY on Next.js, or from NUXT_PUBLIC_UNMAP_KEY on Nuxt, which also needs runtimeConfig: { public: { unmapKey: "" } } in nuxt.config (unmap add writes both). Allow your site's origin on the key.

What it includes

  • The view as one surface in the air, its far edge bright where it meets the mountains
  • A score, the skyline from that window and 15 named summits marked in sight or hidden
  • Reads the map's own terrain tiles in the browser, with Earth curvature and refraction

Page block

A whole page that calls the unmap API with your key. It installs in Next.js or Nuxt and takes on your shadcn theme.