joeyklee / tinysearch-geocoder-demo

A tiny demo using tinysearch to create a geocoder search in browser

Home Page:https://joeyklee.github.io/tinysearch-geocoder-demo/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

demo showing brooklyn search results

A tiny, quick and dirty demo using tinysearch to create a geocoder a place name search tool using wasm for city level search in the browser

We could optimize this to be smaller, but for now this loads ~5.5mb of data into the browser and takes about 12ms to load the wasm file and 80ms to load the page.

Search results against 47K cities - ~30-50ms

Demo adpated from the wasm_output of https://github.com/tinysearch/tinysearch?tab=readme-ov-file#usage

Data

Links to:

  • geojson.io

run it locally

python3 -m http.server

About

A tiny demo using tinysearch to create a geocoder search in browser

https://joeyklee.github.io/tinysearch-geocoder-demo/


Languages

Language:JavaScript 54.2%Language:HTML 45.8%