sanjb
Forum Replies Created
-
Forum: Plugins
In reply to: [Extensions for Leaflet Map] Arrow head on a lineHi !
That’s just perfect ! Sure i can’t buy you a drink ?
Forum: Plugins
In reply to: [Extensions for Leaflet Map] Arrow head on a lineHi !
Thanks for your work, that’s perfect.
I still have a last question. When I used the “leaflet-line” short code to have the bleu/red lines, I could hide or show them with the leaflet-featuregroup as you explained to me above : https://prnt.sc/FBWVOTovFNL2 and https://prnt.sc/wHCXjf3Bn0LKBut since I changed the “leaflet-line” to “leaflet-arrowheads” to match your new code, the hide/display function isn’t working anymore (see on the page https://www.msv-lumieres.fr/plan-interactif/).
Am I missing something?Take care !
PS : sorry for the delay of my answer.
Forum: Plugins
In reply to: [Extensions for Leaflet Map] Arrow head on a lineDo you plan do add it to your code? If so, I can wait, no worries, there’s no rush.
I’ll writte a reveiw.
Thanks !
Forum: Plugins
In reply to: [Extensions for Leaflet Map] Arrow head on a lineThanks !
But it doesn’t go all the coordonate I indicated :
[leaflet-arrowheads latlngs=”46.618695,4.474029;46.618952,4.474477;46.620278,4.476009;46.620438,4.476156;46.621267,4.476419;46.622367,4.477527;46.622594,4.477940;46.622739,4.478264;46.623093,4.478755;46.623476,4.479085;46.623981,4.478879;46.624152,4.478669;46.624228,4.478527;46.624950,4.475639;”]If possibile, I would lie the blue line to have arrows all the long. I can recreate the line if need with all the coordonates
Like this : https://prnt.sc/8k4xKXDY8w_y
The module indicates we can do it, but i’m not sure if you implemented this. If no, then no worries. If yes, how can I do?
Thansk !
PS :don’t forget to tell me where to make a donation !
Forum: Plugins
In reply to: [Extensions for Leaflet Map] Arrow head on a lineNo, i would like to have something like that : https://raw.githubusercontent.com/slutske22/leaflet-arrowheads/master/images/frequency-1.PNG
On the blue line, to have the arrows.
Forum: Plugins
In reply to: [Extensions for Leaflet Map] Arrow head on a lineHi again !
I’m not sure how to do a Polyline.Do I need to add the code “L.polyline([coords]).arrowheads({ frequency: 20 });” to your WPcode script?
The idea would be to have some arrows (as on their exemple) on the bleu and red lines here https://www.msv-lumieres.fr/plan-interactif/
Thanks
PS : where can I make a donation for your work?
Forum: Plugins
In reply to: [Extensions for Leaflet Map] Arrow head on a lineReally sorry about that.
Thanks again for your time, your work.Take care
Forum: Plugins
In reply to: [Extensions for Leaflet Map] Arrow head on a lineThis explains that π
Sorry to bother you (again), but I do have a question : i did what you explain in the link but the arrow isn’t showing. It seems the leaflet-arrowheads.js is not loaded (I uploaded it in the folder you indicate : msv-lumieres.fr/wp-content/uploads/leaflet-plugins/leaflet-arrowheads). But in the source code of the page https://www.msv-lumieres.fr/plan-interactif/, it is not visible
i set up the WPCode plugin with this : https://prnt.sc/FdiMQgltkxuE and the shortcode is : https://prnt.sc/YZBd8sOujHpD
Any idea why?
Thanks again !
Forum: Plugins
In reply to: [Extensions for Leaflet Map] Arrow head on a lineHi !
Thanks, that’s perfect. Sorry i didn’t see that before.
Take care.
- This reply was modified 9 months, 2 weeks ago by sanjb.
Forum: Plugins
In reply to: [Extensions for Leaflet Map] How to group line?Thanks a lot hupe13 for your quick answer!
It’s working just fine now.
Take care !
- This reply was modified 9 months, 3 weeks ago by sanjb.