.png?part=0.1&view=1)
--
---
You received this message because you are subscribed to the Google Groups "Leaflet" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leaflet-js+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/leaflet-js/95b86b43-09d7-4f2a-876f-d538a5ee0192n%40googlegroups.com.
On Jul 25, 2022, at 3:26 PM, Alex <alex...@gmail.com> wrote:
Hey guys! I'm currently making a little project where you can plot flight paths by selecting the markers utilizing Stefano's leaflet-search.
<unknown (1).png>
I've added two search bars, one of which is meant for point A, and the other is meant for point B.Since I'm learning Python, I know very little about JavaScript in general.I do know about event listeners, however I do not know to what should I attach an event listener to, so that when I click on the option as shown in the image, it defines the coordinates of that marker as "Point A", and the same happening to Point B.My second issue that I'm figuring out afterwards is how I'm going to plot an arc given two markers and its coordinates.Can anyone give me some pointers on how to approach this?
--
---
You received this message because you are subscribed to the Google Groups "Leaflet" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leaflet-js+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/leaflet-js/95b86b43-09d7-4f2a-876f-d538a5ee0192n%40googlegroups.com.
<unknown (1).png>