Page 1 of 1
Leaflet javaScript library
Posted: Sun Feb 04, 2018 3:57 pm
by Steve Harpin
Has anyone any ideas or opinions as to whether Leaflet would enhance or, indeed, conflict with, any aspects of meteotemplate. I noticed a link on the Antarctica plugin which took me to the Leaflet download site. I have unpacked the download and uploaded it to a separate folder inside the root directory. Now I am pondering the advisability of using it in any way.
Steve
Re: Leaflet javaScript library
Posted: Sun Feb 04, 2018 4:15 pm
by Jachym
Hi,
Leaflet is used in many blocks and plugins, I started using it about 1 yr after starting MT. Initially I used Google Maps, but it is slower and less flexible so the newer scripts use Leaflet.
Re: Leaflet javaScript library
Posted: Sun Feb 04, 2018 7:03 pm
by Steve Harpin
So you think there is no advantage to be gained by enabling Leaflet actually on my site?
Re: Leaflet javaScript library
Posted: Sun Feb 04, 2018 9:08 pm
by Jachym
I am not sure I understand. What do you mean by "enabling"? Leaflet is a library that you include like any other Javascript library. It is IMHO better than Google Maps and also open-source