Self-host Maps with Protomaps and Supabase Storage


Protomaps, an open-source, globally deployable map, can be stored as a single static file on Supabase Storage to serve as an alternative to Google Maps. A tutorial has been provided on how to use the Protomaps service, from creating a .pmtiles file of a desired geographical area to uploading the file on a Supabase Storage public bucket. The tutorial involves using the MapLibre GL library and a public Supabase Storage bucket. However, developers can also use a private bucket with Supabase Edge Functions paired with Supabase Auth for secure accessibility. Protomaps' interoperability with powerful PostGIS capabilities for programmatic Vector Tile creation will be explored in the next blog post.

read full post