Giter Site home page Giter Site logo

leaflet / leaflet Goto Github PK

View Code? Open in Web Editor NEW
40.0K 892.0 5.7K 57.05 MB

πŸƒ JavaScript library for mobile-friendly interactive maps πŸ‡ΊπŸ‡¦

Home Page: https://leafletjs.com

License: BSD 2-Clause "Simplified" License

JavaScript 88.03% HTML 11.18% CSS 0.01% Handlebars 0.78%
javascript leaflet maps hacktoberfest

leaflet's Introduction

Leaflet was created 11 years ago by Volodymyr Agafonkin, a Ukrainian citizen living in Kyiv.

Russian bombs are now falling over Volodymyr's hometown. His family, his friends, his neighbours, thousands and thousands of absolutely wonderful people, are either seeking refuge or fighting for their lives.

Russian soldiers have already killed tens of thousands of civilians, including women and children, and are committing mass war crimes like gang rapes, executions, looting, and targeted bombings of civilian shelters and places of cultural significance. The death toll keeps rising, and Ukraine needs your help.

As Volodymyr expressed a few days before the invasion:

If you want to help, educate yourself and others on the Russian threat, follow reputable journalists, demand severe Russian sanctions and Ukrainian support from your leaders, protest the war, reach out to Ukrainian friends, donate to Ukrainian charities. Just don't be silent.

Ukrainians are recommending the Come Back Alive charity. For other options, see StandWithUkraine.

If an appeal to humanity doesn't work for you, I'll appeal to your egoism: the future of Ukrainian citizens is the future of Leaflet.

It is chilling to see Leaflet being used for documenting Russia's war crimes, factual reporting of the war and for coordination of humanitarian efforts across Europe. We commend these uses of Leaflet.

If you support the actions of the Russian government (even after reading all this), do everyone else a favour and carry some seeds in your pocket.

Yours truly,
Leaflet maintainers.


Leaflet

Leaflet is the leading open-source JavaScript library for mobile-friendly interactive maps. Weighing just about 42 KB of gzipped JS plus 4 KB of gzipped CSS code, it has all the mapping features most developers ever need.

Leaflet is designed with simplicity, performance and usability in mind. It works efficiently across all major desktop and mobile platforms out of the box, taking advantage of modern browser features while being accessible on older ones too. It can be extended with a huge amount of plugins, has a beautiful, easy to use and well-documented API and a simple, readable source code that is a joy to contribute to.

For more info, docs and tutorials, check out the official website.
For Leaflet downloads (including the built main version), check out the download page.

We're happy to meet new contributors. If you want to get involved with Leaflet development, check out the contribution guide. Let's make the best mapping library that will ever exist, and push the limits of what's possible with online maps!

CI

leaflet's People

Contributors

andriiheonia avatar brunob avatar cherniavskii avatar danzel avatar dependabot[bot] avatar dravnic avatar falke-design avatar ghybs avatar hyperknot avatar ivansanchez avatar jacobtoye avatar jasonsanford avatar jfirebaugh avatar jieter avatar jjimenezshaw avatar jonkoops avatar leplatrem avatar malvoz avatar mortenbekditlevsen avatar mourner avatar nathancahill avatar patrickarlt avatar perliedman avatar rowanhogan avatar simon04 avatar snkashis avatar stefanocudini avatar theel0ja avatar tmcw avatar yohanboniface avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

leaflet's Issues

Additional tile layers flicker after zoom animation

When you zoom in, the animation goes fine with several layers, but in the end, after the first layer is loaded, other layers scaled from previous zoom disappear under it, which is seen as an annoying layer flickering.

ImageOverlay with GIF Not Loading on iOS

When loading an image on desktop Safari browser it works fine, but will not load on the iOS webview (or in the iOS Safari browser).

It generates a "Malformed GIF" error message in the console log window.

Example:

var wxImageBounds = new L.LatLngBounds(new L.LatLng(21.65,-127.62), new L.LatLng(50.4,-65.89));
var wxImage = new L.ImageOverlay("http://radar.weather.gov/Conus/RadarImg/latest_radaronly.gif", wxImageBounds);
map.addLayer(wxImage);

Marker dragend event

Could you implement marker dragend event (triggered when the dragging has ended)? What I personally need it for (and I think others would use it) is to save in the database the resulting LatLng values, after the dragging has ended.

Don't hide markers while zooming

Markers disappear during zooming, it would be nice if were always visible

I don't know if this is even possible (or at least possible with out killing frame rate) as google maps does the same thing

Zooming breaks down

Zooming breaks down sometimes. Especially often with the quick zooming by mousewheel.

Seen in Firefox and Opera.
Firebug prints "f is undefined".

Canvas Path fallback

Android doesn't support SVG, so implement a Canvas fallback for Path drawing (circles, polylines, polygons).

Additionally, certain types of data will perform much better on Canvas vs SVG - for example, many thousands of circle markers.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.