Skip to content
JS
Package category

Maps and geolocation

Interactive maps, geocoding and geospatial calculations.

436 packages1 comparisons

Packages compared

436 packages
PackageWeekly downloads12-month change52 weeksGzipLast releaseModuleTypesCategories
leaflet
JavaScript library for mobile-friendly interactive maps
5.3m+266%-3 years ago
1.9.4
CommonJSNoneMaps and geolocation
@maplibre/maplibre-gl-style-spec
a specification for maplibre styles
5.2m+317%-9 days ago
26.4.4
ESM + CommonJSBundledMaps and geolocation
topojson-client
Manipulate TopoJSON and convert it to GeoJSON.
4.7m+183%-6 years ago
3.1.0
ESM + CommonJSNoneMaps and geolocation
@googlemaps/js-api-loader
Wrapper for the loading of Google Maps JavaScript API script in the browser
4.3m+143%-3 days ago
2.1.3
ESM + CommonJSBundledMaps and geolocation
maplibre-gl
BSD licensed community fork of mapbox-gl, a WebGL interactive maps library
3.7m+379%-today
6.11.2
ESM onlyBundledTypeScript tooling, Maps and geolocation
geojson-vt
Slice GeoJSON data into vector tiles efficiently
3.3m+62%-21 days ago
5.0.2
ESM onlyBundledMaps and geolocation
mapbox-gl
A WebGL interactive maps library
2.9m+93%-7 days ago
3.31.0
ESM onlyBundled3D, WebGL and game engines, Maps and geolocation
react-leaflet
React components for Leaflet maps
2.6m+303%-1 year ago
5.0.0
ESM onlyBundledMaps and geolocation, React
@googlemaps/markerclusterer
Creates and manages per-zoom-level clusters for large amounts of markers.
2.3m+133%-1 year ago
2.6.2
ESM + CommonJSBundledMaps and geolocation
wkx
A WKT/WKB/EWKT/EWKB/TWKB/GeoJSON parser and serializer
2.1m+20%-6 years ago
0.5.0
CommonJSBundledMaps and geolocation
expo-location
Allows reading geolocation information from the device. Your app can poll for the current location or subscribe to location update events.
1.7m+421%-1 day ago
57.0.20
CommonJSBundledMaps and geolocation, React
react-map-gl
React components for MapLibre GL JS and Mapbox GL JS
1.6m+120%-22 days ago
8.1.3
--React, Maps and geolocation
@react-google-maps/api
React.js Google Maps API integration
1.4m---9 months ago
2.20.8
--Maps and geolocation, React
@turf/turf
a JavaScript library for performing geospatial operations with GeoJSON
1.1m---1 month ago
7.4.0
ESM + CommonJSBundledMaps and geolocation
topojson-server
Convert GeoJSON to TopoJSON for smaller files and the power of topology!
1.1m+63%-7 years ago
3.0.1
ESM + CommonJSNoneMaps and geolocation
@turf/tag
Takes a set of points and a set of polygons and/or multipolygons and performs a spatial join.
1.1m---1 month ago
7.4.0
ESM + CommonJSBundledMaps and geolocation
proj4
Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.
1.1m+175%-25 days ago
2.22.0
ESM + CommonJSBundledMaps and geolocation
mgrs
Utility for converting between WGS84 lat/lng and MGRS coordinates
972.4k+171%-2 months ago
2.2.0
ESM + CommonJSBundledMaps and geolocation
@vis.gl/react-mapbox
React components for Mapbox GL JS
960.6k---22 days ago
8.1.3
ESM + CommonJSBundledReact, Maps and geolocation
h3-js
Pure-Javascript version of the H3 library, a hexagon-based geographic grid system
901.5k+154%-2 months ago
4.5.0
ESM + CommonJSBundledMaps and geolocation
react-native-maps
React Native Mapview component for iOS + Android
839.7k+131%-4 days ago
1.29.8
CommonJSBundledMaps and geolocation, React
world-atlas
Pre-built TopoJSON from Natural Earth.
797.8k+5877%-7 years ago
2.0.2
-NoneMaps and geolocation
geojson-equality-ts
Check two valid geojson geometries for equality.
792.5k+117%-2 years ago
1.0.2
ESM + CommonJSBundledMaps and geolocation
geojson-rbush
GeoJSON implementation of RBush
696.9k+10%-5 years ago
3.2.0
CommonJSBundledMaps and geolocation
@googlemaps/google-maps-services-js
Node.js client library for Google Maps API Web Services
679.9k---1 year ago
3.4.2
CommonJSBundledMaps and geolocation, Date and time
leaflet.markercluster
Provides Beautiful Animated Marker Clustering functionality for Leaflet
679.7k+167%-4 years ago
1.5.3
CommonJSNoneMaps and geolocation
@googlemaps/url-signature
Sign a URL for Google Maps Platform requests.
663.1k---1 year ago
1.0.40
ESM + CommonJSBundledMaps and geolocation, URLs and query strings
geojson
Turn your geo data into GeoJSON
627.9k+39%-9 years ago
0.5.0
CommonJSNoneMaps and geolocation
ol
OpenLayers mapping library
555.6k+40%-1 month ago
10.10.0
ESM onlyBundledMaps and geolocation
polybooljs
Boolean operations on polygons (union, intersection, difference, xor)
532.7k+94%-2 years ago
1.2.2
CommonJSNoneMaps and geolocation
@mapbox/mapbox-gl-draw
A drawing component for Mapbox GL JS
492.8k---11 days ago
1.5.2
ESM onlyNone3D, WebGL and game engines, Maps and geolocation
shapefile
An implementation of the shapefile (.shp) spatial data format.
488.8k+143%-9 years ago
0.6.6
ESM + CommonJSNoneMaps and geolocation
@deck.gl/geo-layers
deck.gl layers supporting geospatial use cases and GIS formats
400.4k---19 days ago
9.4.0
ESM + CommonJSBundled3D, WebGL and game engines, Charts and data visualisation
turf-jsts
A JavaScript library of spatial predicates and functions for processing geometry
387.2k-2%-8 years ago
1.2.3
ESM + CommonJSNoneMaps and geolocation
country-state-city
Library for fetching Country, its States and Cities
385.9k+171%-3 years ago
3.2.1
ESM + CommonJSBundledMaps and geolocation
@loaders.gl/wms
Framework-independent loaders for the WMS (Web Map Service) standard
384.7k---4 days ago
4.5.2
ESM + CommonJSBundledMaps and geolocation, Node.js utilities
geojson-equality
Check two valid geojson geometries for equality.
376.4k+11%-2 years ago
0.2.1
CommonJSNoneMaps and geolocation
geolib
Library to provide basic geospatial operations like distance calculation, decoding of sexagesimal coordinates etc.
355.9k+28%-5 months ago
3.3.14
ESM + CommonJSBundledMaps and geolocation
geobuf
Compact binary encoding for geographic data
354.6k+179%-4 months ago
4.0.0
ESM onlyNoneMaps and geolocation
geojson-flatten
transform geojson into single-parts
322.9k+12%-3 days ago
2.0.1
ESM onlyNoneMaps and geolocation
us-atlas
Pre-built TopoJSON from the U.S. Census Bureau.
314.1k+2714%-3 years ago
3.0.1
-NoneMaps and geolocation
@deck.gl/google-maps
Use deck.gl as a custom Google Maps overlay
293.5k---19 days ago
9.4.0
ESM + CommonJSBundled3D, WebGL and game engines, Charts and data visualisation
use-places-autocomplete
React hook for Google Maps Places Autocomplete.
280.2k+85%-3 years ago
4.0.1
ESM + CommonJSBundledReact, Maps and geolocation
@cesium/engine
CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.
269.9k---23 days ago
26.3.0
ESM onlyBundled3D, WebGL and game engines, Maps and geolocation
@mapbox/mapbox-sdk
JS SDK for accessing Mapbox APIs
266.6k---1 year ago
0.16.2
CommonJSNoneMaps and geolocation
@mapbox/parse-mapbox-token
Parse a Mapbox API token, in Node or the browser
264.9k---8 years ago
0.2.0
CommonJSNoneMaps and geolocation
google-map-react
Isomorphic component that allows rendering react components on a google map
263k+5%-1 year ago
2.2.5
ESM + CommonJSNoneMaps and geolocation, React
terra-draw
Frictionless map drawing across mapping provider
262.8k+699%-5 days ago
1.35.0
ESM + CommonJSBundledMaps and geolocation
cesium
CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.
258.2k+261%-23 days ago
1.145.0
ESM + CommonJSBundled3D, WebGL and game engines, Maps and geolocation
@tmcw/togeojson
convert KML and GPX to GeoJSON
253.2k---1 year ago
7.1.2
ESM + CommonJSBundledMaps and geolocation

12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package, as measured by Bundlephobia. "-" means the value has not been fetched.

  • leafletJavaScript library for mobile-friendly interactive maps
  • @maplibre/maplibre-gl-style-speca specification for maplibre styles
  • topojson-clientManipulate TopoJSON and convert it to GeoJSON.
  • @googlemaps/js-api-loaderWrapper for the loading of Google Maps JavaScript API script in the browser
  • maplibre-glBSD licensed community fork of mapbox-gl, a WebGL interactive maps library
  • geojson-vtSlice GeoJSON data into vector tiles efficiently
  • mapbox-glA WebGL interactive maps library
  • react-leafletReact components for Leaflet maps
  • @googlemaps/markerclustererCreates and manages per-zoom-level clusters for large amounts of markers.
  • wkxA WKT/WKB/EWKT/EWKB/TWKB/GeoJSON parser and serializer
  • expo-locationAllows reading geolocation information from the device. Your app can poll for the current location or subscribe to location update events.
  • react-map-glReact components for MapLibre GL JS and Mapbox GL JS
  • @react-google-maps/apiReact.js Google Maps API integration
  • @turf/turfa JavaScript library for performing geospatial operations with GeoJSON
  • topojson-serverConvert GeoJSON to TopoJSON for smaller files and the power of topology!
  • @turf/tagTakes a set of points and a set of polygons and/or multipolygons and performs a spatial join.
  • proj4Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.
  • mgrsUtility for converting between WGS84 lat/lng and MGRS coordinates
  • @vis.gl/react-mapboxReact components for Mapbox GL JS
  • h3-jsPure-Javascript version of the H3 library, a hexagon-based geographic grid system
  • react-native-mapsReact Native Mapview component for iOS + Android
  • world-atlasPre-built TopoJSON from Natural Earth.
  • geojson-equality-tsCheck two valid geojson geometries for equality.
  • geojson-rbushGeoJSON implementation of RBush
  • @googlemaps/google-maps-services-jsNode.js client library for Google Maps API Web Services
  • leaflet.markerclusterProvides Beautiful Animated Marker Clustering functionality for Leaflet
  • @googlemaps/url-signatureSign a URL for Google Maps Platform requests.
  • geojsonTurn your geo data into GeoJSON
  • olOpenLayers mapping library
  • polybooljsBoolean operations on polygons (union, intersection, difference, xor)
  • @mapbox/mapbox-gl-drawA drawing component for Mapbox GL JS
  • shapefileAn implementation of the shapefile (.shp) spatial data format.
  • @deck.gl/geo-layersdeck.gl layers supporting geospatial use cases and GIS formats
  • turf-jstsA JavaScript library of spatial predicates and functions for processing geometry
  • country-state-cityLibrary for fetching Country, its States and Cities
  • @loaders.gl/wmsFramework-independent loaders for the WMS (Web Map Service) standard
  • geojson-equalityCheck two valid geojson geometries for equality.
  • geolibLibrary to provide basic geospatial operations like distance calculation, decoding of sexagesimal coordinates etc.
  • geobufCompact binary encoding for geographic data
  • geojson-flattentransform geojson into single-parts
  • us-atlasPre-built TopoJSON from the U.S. Census Bureau.
  • @deck.gl/google-mapsUse deck.gl as a custom Google Maps overlay
  • use-places-autocompleteReact hook for Google Maps Places Autocomplete.
  • @cesium/engineCesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.
  • @mapbox/mapbox-sdkJS SDK for accessing Mapbox APIs
  • @mapbox/parse-mapbox-tokenParse a Mapbox API token, in Node or the browser
  • google-map-reactIsomorphic component that allows rendering react components on a google map
  • terra-drawFrictionless map drawing across mapping provider
  • cesiumCesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.
  • @tmcw/togeojsonconvert KML and GPX to GeoJSON