Skip to content
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

Placemark tap listener issue #11

Closed
ToleubekRauan opened this issue May 9, 2018 · 4 comments
Closed

Placemark tap listener issue #11

ToleubekRauan opened this issue May 9, 2018 · 4 comments

Comments

@ToleubekRauan
Copy link

ToleubekRauan commented May 9, 2018

screen shot 2018-05-09 at 17 24 00

I've written code above, where added placemarks, add then tapped on it. In logs I've got Point(43.22710205032152 76.95960232840031), but I've put latitude=43.228027, longitude=76.959441, why it's happened. Thank you

@eberkovich
Copy link
Contributor

point argument contains coordinates of tap, that is why it is not equal to coordinates of placemark.
If you need to get coordinates of placemark, you can cast mapObject to PlacemarkMapObject type and call geometry() method.

@ToleubekRauan
Copy link
Author

@eberkovich Thank you, friend.

@LloveCodeDislikeBug
Copy link

I encountered the same problem during the Android development process.But as you said, I found new problems.java.lang.ClassCastException or java.lang.NullPointerException

@Ulugbe7
Copy link

Ulugbe7 commented Apr 19, 2022

how to create location picker with yandex mapkit
if someone tried can share it

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

No branches or pull requests

4 participants