Simple static maps

why: as a durable and simple alternative for embeds etc to google mymaps

to plot interesting wedding venues

  • backend tool with Supabase + vercel; or svelte kit running inside a deno function?
  • You can auth with notion if possible
  • Acts as notion app connector
  • Log in, Pick a shared db, pick long lat fields
  • Alternatively (simpler) upload csv, maybe even with in-browser parsing and conversion to geojson
  • Just one backend function that handles the bucket write
  • The service spits out map data as a static file

Frontend configurator: app itself is mostly static

do as much as possible in the browser

  • **Data upload **In-browser .csv upload https://www.tabulator.info/ built in csv upload + editing
  • Geocoding Nominatim can be used to geocode to different in browser; optionally, based on editable addresses
  • **Conversion **convert to geojson inside
  • **nanoid generation for the eventual link **https://github.com/ai/nanoid
  • push to backend = create map
  • initially, s
  • Data can have description and link?
  • You should be able to download the static files and it should work locally too

https://github.com/maplibre/awesome-maplibre

Map viewer static page

Backend = create map

receives the geojson

  • Saves data as static data in bucket <nanoid>/data.geojson
  • that’s it!?

A starter template for running SvelteKit on Deno Deploy

https://github.com/pluvial/svelte-adapter-deno neglected?

Could just be on vercel

  • Public html file with map Libre in it to Google bucket probably or aws, supa doesn’t allow html
  • Maplibre bundled itself too?

caveats

  • without accounts, data can’t be deleted; except if we generate some kind of key or password on creation
← All ideas