mirror of
https://github.com/FoggedLens/deflock.git
synced 2026-08-15 07:00:26 +02:00
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:
co-authored by
Will Freeman
parent
f59a6ee819
commit
2d3ca459ea
@@ -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"))
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user