I am using maptiler-geocoding-control in my product together with MapTiler geocoding.
On desktop browsers, the address search works as expected:
The user types an address into the geocoding search input.
The control shows autocomplete suggestions.
When the user clicks/selects one of the suggested addresses, the map zooms/pans to the selected location.
However, on mobile browsers the behavior is different. The autocomplete suggestions are shown correctly, but when the user taps a suggested address, the map does not zoom or pan to the selected location.
Expected behavior:
When a user taps a geocoding autocomplete result on a mobile browser, the map should zoom/pan to the selected address, the same way it does on desktop.
Actual behavior:
On mobile browsers, tapping a suggested address does not move or zoom the map.
Environment:
Library: maptiler-geocoding-control
Platform: Mobile browser
Desktop behavior: Works correctly
Mobile behavior: Autocomplete results appear, but selecting a result does not trigger map movement
Question:
Is this a known issue with touch events or mobile browser interaction in maptiler-geocoding-control? Is there a recommended workaround or configuration option to ensure selected geocoding results trigger the map zoom on mobile?
I am using maptiler-geocoding-control in my product together with MapTiler geocoding.
On desktop browsers, the address search works as expected:
The user types an address into the geocoding search input.
The control shows autocomplete suggestions.
When the user clicks/selects one of the suggested addresses, the map zooms/pans to the selected location.
However, on mobile browsers the behavior is different. The autocomplete suggestions are shown correctly, but when the user taps a suggested address, the map does not zoom or pan to the selected location.
Expected behavior:
When a user taps a geocoding autocomplete result on a mobile browser, the map should zoom/pan to the selected address, the same way it does on desktop.
Actual behavior:
On mobile browsers, tapping a suggested address does not move or zoom the map.
Environment:
Library: maptiler-geocoding-control
Platform: Mobile browser
Desktop behavior: Works correctly
Mobile behavior: Autocomplete results appear, but selecting a result does not trigger map movement
Question:
Is this a known issue with touch events or mobile browser interaction in maptiler-geocoding-control? Is there a recommended workaround or configuration option to ensure selected geocoding results trigger the map zoom on mobile?