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

有轨迹经过和结束的事件吗? #30

Open
chenshuqun opened this issue Apr 13, 2023 · 1 comment
Open

有轨迹经过和结束的事件吗? #30

chenshuqun opened this issue Apr 13, 2023 · 1 comment

Comments

@chenshuqun
Copy link

如何监听轨迹经过事件以及轨迹运行结束的事件,比如我需要在轨迹经过时添加一个弹窗,需要获取实时经过的经纬度,并且在结束时触发一个事件

How to listen for trajectory passing events and trajectory ending events, such as adding a pop-up window when the trajectory passes, obtaining real-time longitude and latitude, and triggering an event at the end

@chenshuqun chenshuqun changed the title 有轨迹经过和结束的事件? 有轨迹经过和结束的事件吗? Apr 13, 2023
@Igor-Vladyka
Copy link
Owner

Each end shoud throw event: https://github.com/Igor-Vladyka/leaflet.motion#motion-events

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

2 participants