-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
queryPlaceId parameter doesn't work #51
Comments
Ultimately, it looks like this param isn't used in link creation: https://github.com/brh55/react-native-open-maps/blob/main/index.js#L200-L251. I'm facing the same issue, and will spend some time investigating how easy this would be to PR Edit: it is used, but still investigating why it doesn't work |
@hasfoug it turns out this is completely the correct behavior. From the docs:
So, if you want to search, you have to supply the For my app, I'll use the |
This issue, per my comment above, can probably be closed |
I am currently working on integrating this into my application. I am specifying latitude and longitude along with the queryPlaceId parameter, as a result, I am getting navigated to the coordinates, but the place is not being selected (I need to tap on it manually).
My code is:
I've tried without latitude and longitude, but it just opens the map with my current location in this case. The only working way for me to have the place preselected was to only query by name (without specifying the coordinates), but this leads to an issue that some places are not unique by name and I might get several results.
Thanks in advance!
The text was updated successfully, but these errors were encountered: