Search bar reads "Zoologischer Garten, Hardenbergstraße, C..."
This happens with different stores that are located in train stations or shopping centers too.
I think the root cause is that tapping the result will
Geocode the result into coordinates and trigger the map to move to that location
This triggers onLocationChanged, which then reverse-geocodes the coordinates back into an address (which can differ from the initial result because of inaccuracies).
So maybe if the result of the search that has been tapped can be re-used in onLocationChanged, this issue could be avoided.
Using version 3.0.1 of this library, tapping a search result in the search bar can sometimes result in a different result being displayed:
Example:
Expected Behavior:
Observed Behaviour:
This happens with different stores that are located in train stations or shopping centers too.
I think the root cause is that tapping the result will
onLocationChanged
, which then reverse-geocodes the coordinates back into an address (which can differ from the initial result because of inaccuracies).So maybe if the result of the search that has been tapped can be re-used in onLocationChanged, this issue could be avoided.