Urban noise map
How loud is a street, day and night? Modelled noise in six Canadian cities, a Day / Night switch, and any spot's level against the WHO guideline.
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.
Add to your Next.js app
Add to your Nuxt app
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
- Road, rail, aircraft and commercial noise, credited to OpenStreetMap under the ODbL
- A spot's day and night levels against the WHO guideline, its score and a bar per source
- Says why when a key lacks the Urban Noise add-on, instead of failing
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.