Closed maurizi closed 7 years ago
I ran into a geocode issue when change the species search after loading the page with an a=
param.
Expected: No error. The red pin stays on the map. Actual: "Location not found" toast. The red pin is removed from the map.
I ran into a geocode issue when change the species search after loading the page with an
a=
param.
Fixed in https://github.com/OpenTreeMap/otm-core/pull/3203/commits/1b65bcf942b7dcc14a0875032840d504dcef7d7f
Adds a new
a
parameter to the URL which is set when there is a non-boundary value in the location typeahead.On page load on the map page, if the
a
parameter is present in the URL and no boundary filter is present, we geocode the address and display a map pin (which will also recenter the map on the pin).Connects to #1123