Fancybox for Waymark Maps #38
Replies: 3 comments 1 reply
-
Hi @selcukdere, Thanks for reaching out :) Improving the handling of images and the Image Gallery are both on my list, as I know there is room for improvement here! Could you provide some more details about what you are hoping to achieve?...
Thanks again for your input, this has been on my to-do list for a while! Joe |
Beta Was this translation helpful? Give feedback.
-
Hi @morehawes, existing image gallery works great for centering the pin on the map and It will be good if direct link of image to be displayed in fancybox window. And also I cannot attach the waymark-js.min.js to the page. Wordpress using waymark-js.min.js?ver=1.1.4 file but I cannot edit this attached file When I change the waymark-js.min.js file it doesnt apply to the site. Can you give any solution for this. By the way adding data-fancybox="gallery" to the waymark-js.min.js file makes the fancybox working in maps
Thanks for your help. |
Beta Was this translation helpful? Give feedback.
-
Hi @selcukdere,
Thanks for the extra information, so the trigger would be clicking to enlarge the image in the info window, which makes sense to me :) This has been requested before and as there are lots of different lightbox libraries (WordPress even comes bundled with one) I will need to think about the best way to handle this. Currently these images are added dynamically (by JavaScript/Leaflet) when a user clicks an Overlay. This makes them a little tricky to "group" into a lightbox - but I think it wouldn't be too much work to structure things so they are friendlier to lightbox libraries.
If you are looking to modify Waymark you will need to edit the source files and run the build script as described here. I am currently traveling at the moment, but will try to look in to a solution for this once I get more time. Cheers, Joe |
Beta Was this translation helpful? Give feedback.
-
Could anyone tell me how to activate fancybox in Waymark map. Thanks
Beta Was this translation helpful? Give feedback.
All reactions