- Added settings management for Overpass API, custom tile URLs, and Nominatim search endpoints, allowing users to customize their experience.
- Implemented responsive design adjustments for mobile views, including a modal for location search.
- Improved camera selection and measurement features with enhanced visual feedback and distance labeling.
- Updated footer behavior to persist user preferences and improve usability.
- Implemented Svelte stores to manage user preferences for Overpass API endpoints, custom tile URLs, Nominatim search endpoints, basemap selection, and footer visibility.
- Integrated localStorage for persistent settings across sessions, enhancing user experience and customization options.
- Introduced dynamic endpoint selection for Overpass API based on user preferences.
- Updated Nominatim API URL construction to utilize a configurable base URL from settings.
- Enhanced the fetchOverpassWithFallback function to improve reliability by using preferred endpoints.
- Introduced validation functions for Overpass and Nominatim API responses to ensure correct data structure.
- Added latitude, longitude, and bounds validation functions in the Svelte component to enhance input handling.
- Updated the map state restoration logic to utilize these validation checks, improving robustness and error handling.
- Improved box selection mode logic by ensuring proper state checks and event handling.
- Added conditions to prevent actions when the selection mode is not active or when necessary elements are missing.
- Updated the UI to include a tooltip for better user guidance during box selection.
- Refactored code for clarity and maintainability, ensuring a smoother user experience.
- Introduced a tooltip that guides users to draw a box for camera searches, displayed conditionally based on local storage state.
- Implemented tooltip positioning logic and dismiss functionality.
- Updated the Svelte component to enhance user interaction and experience.
- Removed the font-face definition from app.css to streamline styles.
- Reformatted imports and code structure in +page.svelte for better readability.
- Enhanced status message formatting and layout consistency across components.
- Changed NominatimResponse from an interface to a type alias for better clarity and simplicity.
- Updated font definition in the clusterStyle function to remove the specific font family, enhancing compatibility.
- Implemented a new location search feature in the Svelte component, allowing users to search for locations using the Nominatim API.
- Added relevant state management for search input, results, and loading indicators.
- Enhanced the UI with new styles for the search input and results dropdown.
- Updated toolbar and footer styles for better visual consistency.