Skip to content

Feature: Nominatim Search by latitude/longitude#19

Merged
hgosalia merged 1 commit into
mainfrom
features/nominatim-gps-search
May 21, 2026
Merged

Feature: Nominatim Search by latitude/longitude#19
hgosalia merged 1 commit into
mainfrom
features/nominatim-gps-search

Conversation

@hgosalia
Copy link
Copy Markdown
Member

No description provided.

@github-actions
Copy link
Copy Markdown

📋 PR Summary

Title: Feature: Nominatim Search by latitude/longitude
Author: @hgosalia
Draft: No
4 files changed: +80 additions, -14 deletions

Description

This PR introduces a new feature that allows users to perform reverse geocoding searches using latitude and longitude coordinates through the Nominatim API. The runReverseGeoSearch function has been added to fetch address details based on the provided coordinates, enhancing the application's search capabilities. If a valid address is found, it constructs a user-friendly display name from the response, which is then rendered in the search results dropdown; if no results are found, an appropriate message is displayed. Additionally, the map's popup now includes the coordinates of the selected location, providing users with more context about their selections. Overall, these changes improve the user experience by enabling location-based searches and providing clearer information on the map interface.

Files

  • css/styles.css — Updated .maplibregl-popup-content, .popup-wrap, .dest-popup, .dest-popup-coords +more
  • js/lightbox.js — Modified: showLbPhoto
  • js/map.js — Modified: initMap
  • js/search.js — New: runReverseGeoSearch. Modified: renderSearchResults, runDestSearch, flyTo, reopenDestPopup

@hgosalia hgosalia merged commit 3d2677b into main May 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant