We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello I'm plaing with ymaps beta now. Thanks for building it !
I need to capture coords on some event, say a double click. As per docs, I can do that with :
myMap.events.add('click', function (e) { // Получение координат щелчка var coords = e.get('coords'); alert(coords.join(', ')); });
And here's my component:
<StaticDotsComponent :pos="pos" @dblclick="onDblClick" />
When I print that event, I'm getting this:
onDblClick called: {"isTrusted":true,"_vts":1665844024878}
How do I capture coords? I don't see any @created or @initialized events yet
@created
@initialized
Thanks !
The text was updated successfully, but these errors were encountered:
Please create repo with your code and publish link. Don't understand what you mean
Sorry, something went wrong.
Hi Fixed my issue with the following:
<template> <yandex-map :settings="settings" :coordinates="center" :zoom="zoom" @click="onMapClick" > <yandex-marker :marker-id="123" :coordinates="center" @click="onMarkerClick" > <template #component> <TaggedBalloon :name="name" /> </template> </yandex-marker> </yandex-map> </template>
No branches or pull requests
Hello I'm plaing with ymaps beta now. Thanks for building it !
I need to capture coords on some event, say a double click. As per docs, I can do that with :
And here's my component:
When I print that event, I'm getting this:
How do I capture coords? I don't see any
@created
or@initialized
events yetThanks !
The text was updated successfully, but these errors were encountered: