Leaflet is the more common of the two in our index: it runs on 10,041 websites against 320 for OpenLayers, and 32 sites use both. Counts come from real scans of each site's home page, not vendor claims, and cover the sites in TechLookup.app's index rather than the whole web.
Leaflet is the open-source JavaScript library for mobile-friendly interactive maps.
OpenLayers is an open-source JavaScript library for displaying map data in web browser.
Among sites in the Tranco top 10,000, Leaflet appears on 31 and OpenLayers on 1; across the top million it is 7,040 against 218. Within the maps sites we have indexed, Leaflet holds 23% and OpenLayers 0.7%.
Leaflet: 10,041 sites, on 23% of Maps sites
Indexed sites in the countries where the two are most used. A site's country is read from its domain ending, or from its own server for .com and other generic endings. Sites behind a shared CDN or cloud on a generic ending have no country and are not counted here.
| Country | Leaflet | OpenLayers |
|---|---|---|
| Germany | 1,143 | 76 |
| France | 1,006 | 25 |
| United States | 412 | 13 |
| Poland | 408 | 8 |
| Netherlands | 289 | 15 |
| Italy | 262 | 4 |
| United Kingdom | 216 |
32 sites run both Leaflet and OpenLayers. That is 10% of the sites using OpenLayers, the smaller of the two.
Want to know which one a particular site uses? Look it up and see its whole stack, or compare two sites side by side.
| Russia | 189 | 2 |
|---|
Export all 10,041 Leaflet sites as CSV on the Pro plan, $49 a month. Export on Pro → or download a free 5-row sample CSV.
Export all 320 OpenLayers sites as CSV on the Starter plan, $19 a month. Export on Starter → or download a free 5-row sample CSV.