[READ-ONLY] Mirror of https://github.com/shuuji3/photosphere-map-viewer. 📷 a simple static gps-tagged 360 photos viewer with Photo Sphere Vi
README.md

photosphere-map-viewer #

a simple static gps-tagged 360 photos viewer with Photo Sphere Viewer + MapLibre + Protomaps.

screenshot of app. above area shows 360 photo. bottom shows protomaps and green dots representing locations of photo shot.

add photos #

  1. store 360 jpeg files in public/photos/
  2. run pnpm scan

it scans GPS data into public/photos.json. non-GPS tagged photos are skipped.

setup #

copy .env.sample to .env and set your protomaps API key:

cp .env.sample .env

run dev server #

pnpm install
pnpm dev

build #

pnpm install
pnpm build
pnpm preview

URL params #

supported params: photo, zoom, yaw, pitch

example: /?photo=GSAH4185.JPG&zoom=50&yaw=180&pitch=15

the "Share" button copies the current view as a URL.