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
Leaflet javaScript library
- Steve Harpin
- Observer
- Posts: 48
- Joined: Wed Dec 13, 2017 7:08 pm
- Location: York England
- Station model: Fine Offset WH1080
- Software: Cumulus
- Jachym
- Site Admin
- Posts: 1686
- Joined: Fri Aug 18, 2017 10:12 pm
- Location: Brno, Czech Republic
- Station model: WH1080
- Software: Meteobridge
- Contact:
Re: Leaflet javaScript library
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.
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.
- Steve Harpin
- Observer
- Posts: 48
- Joined: Wed Dec 13, 2017 7:08 pm
- Location: York England
- Station model: Fine Offset WH1080
- Software: Cumulus
Re: Leaflet javaScript library
So you think there is no advantage to be gained by enabling Leaflet actually on my site?
- Jachym
- Site Admin
- Posts: 1686
- Joined: Fri Aug 18, 2017 10:12 pm
- Location: Brno, Czech Republic
- Station model: WH1080
- Software: Meteobridge
- Contact:
Re: Leaflet javaScript library
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