Use reverse geocoders for any lat/lon queries
This simplifies the implementation, allows code sharing with "Where am I?", and produces friendlier results for lat/lon searches (actual reverse geocode results rather than a raw lat/lon display).
This commit is contained in:
parent
efc6aaf215
commit
aaeca5b534
8 changed files with 108 additions and 138 deletions
|
@ -24,6 +24,7 @@ function initializeSearch(map) {
|
|||
$("#sidebar_title").html(I18n.t('site.sidebar.search_results'));
|
||||
$("#sidebar_content").load($(this).attr("action"), {
|
||||
query: $("#query").val(),
|
||||
zoom: map.getZoom(),
|
||||
minlon: bounds.getWest(),
|
||||
minlat: bounds.getSouth(),
|
||||
maxlon: bounds.getEast(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue