Geo query polygons (#56)

* allow declustering, update council page (#48)

* option to disable clustering

* update wins, add videos, clean up council page

* improve grouping toggle

* some cleanup

* add polygon from geo query

* use leaflet geo json type

* store geo shape in url

* improve malformed url handling. update nominatim client request

* update readme for java version

* use the query text in the url instead of encoded json

* fix url persistence, toggle boundaries

* style changes

* update prefs on new search

---------

Co-authored-by: Will Freeman <hohosanta@me.com>
This commit is contained in:
superbrom
2025-11-29 18:40:12 -07:00
committed by GitHub
co-authored by Will Freeman
parent f59a6ee819
commit 2d3ca459ea
4 changed files with 143 additions and 29 deletions
@@ -31,7 +31,7 @@ class NominatimClient(implicit val system: ActorSystem, implicit val executionCo
case _ =>
println(s"Cache miss for $query")
val request = HttpRequest(
uri = s"$baseUrl?q=$query&format=json",
uri = s"$baseUrl?q=$query&polygon_geojson=1&format=json",
headers = List(headers.`User-Agent`("DeFlock/1.0"))
)