Trending
NCDC urges states to step up Lassa fever preparedness – FRCN HQ is trending now Prof. Kruger helps shape the first hypertension guidelines for Africa is trending now Lagos Records Six Confirmed Diphtheria Cases In 2026 is trending now Natural clay reveals a new way to control ion transport at the angstrom scale is trending now Beryllium signal identifies stars that have swallowed rocky planets is trending now Artemis II moonshot commander and pilot are hanging up their astronaut suits at NASA is trending now Where Estevao fits into Chelsea's all-star attack is trending now PSG Possible Lineup Against Slovan Bratislava in the Champions League is trending now Chaos at the Stamford Bridge! Cole Palmer inspires incredible Chelsea comeback as Leeds c… is trending now Barcelona player ratings vs Feyenoord: Lamine Yamal makes history as Hansi Flick's men ru… is trending now Carter Efe Loses TikTok Account With Over 5.6 Million Followers, Fans React is trending now Mohbad's Dad Returns Online, Shares Clip from Studio Days Before Singer's 3rd Remembrance is trending now NCDC urges states to step up Lassa fever preparedness – FRCN HQ is trending now Prof. Kruger helps shape the first hypertension guidelines for Africa is trending now Lagos Records Six Confirmed Diphtheria Cases In 2026 is trending now Natural clay reveals a new way to control ion transport at the angstrom scale is trending now Beryllium signal identifies stars that have swallowed rocky planets is trending now Artemis II moonshot commander and pilot are hanging up their astronaut suits at NASA is trending now Where Estevao fits into Chelsea's all-star attack is trending now PSG Possible Lineup Against Slovan Bratislava in the Champions League is trending now Chaos at the Stamford Bridge! Cole Palmer inspires incredible Chelsea comeback as Leeds c… is trending now Barcelona player ratings vs Feyenoord: Lamine Yamal makes history as Hansi Flick's men ru… is trending now Carter Efe Loses TikTok Account With Over 5.6 Million Followers, Fans React is trending now Mohbad's Dad Returns Online, Shares Clip from Studio Days Before Singer's 3rd Remembrance is trending now
Transport

Leaflet 2.0 Alpha

Link: https://leafletjs.com/2025/05/18/leaflet-2.0.0-alpha.html The first alpha release of the forthcoming major version of LeafletJS is out. This release marks a major modernization of the Leaflet codebase. We’ve dropped support for Internet Explorer, removed legacy methods and polyfills, adopted modern standards like Pointer Events, and now publish Leaflet as an ESM module. The global L is no longer part of the core package (though it’s still available in the bundled version leaflet-global.js for backward compatibility). While the release doesn’t include any significant new features (not that there’s anything wrong with that), some breaking changes will be relevant to the majority of Leaflet developers: The removal of factory methods; instead of L.Map("map"), you will directly import and instantiate the Map class with new Map("map"). Mouse and touch events have been replaced with Pointer events, making it easier to build web maps for devices with varying input methods. Leaflet is now published as an ESM module, you can now import Leaflet components with import { Map } from "leaflet";. There’s no timeline for the final release yet. Currently, the version milestone only has one open ticket, so this is a good time to upgrade your apps and plugins. There is the Leaflet V1 Polyfill for those who want to upgrade to Leaflet 2 but don’t want to fix breaking changes in their applications.

View original source →

Related