Stay organized with collections Save and categorize content based on your preferences.
Many open source libraries are available to provide additional capabilities for Maps JavaScript API. These libraries are versioned on GitHub and published to npm.
Web ComponentsUse Maps JavaScript API Web Components to quickly add maps functionality to your websites. Web Components encapsulate boilerplate code, best practices, and responsive design, reducing complex map UIs into what is effectively a single HTML element.
Extended Component Library (Beta)Google Maps Platform Extended Component Library is a set of Web Components that helps developers build better maps faster, and with less effort.
npm i @googlemaps/extended-component-libraryLoading the API
Modern web applications may benefit from using the following libraries to load the Maps JavaScript API.
JS API loaderDynamically load the Maps JavaScript API with Promises.
npm i @googlemaps/js-api-loaderUsing TypeScript
TypeScript users can get started with the following packages. Check out the using TypeScript guide for additional information.
TypeScript typesTypeScript types for Maps JavaScript API
npm i -D @types/google.mapsTypeScript guards
TypeScript guards to narrow union types.
npm i -D @googlemaps/typescript-guardsUsing React
React users can get started with the following packages.
React Google Maps LibraryComponents and hooks to integrate the Maps JavaScript API into React applications.
npm i -D @vis.gl/react-google-mapsReact wrapper
A wrapper component to declaratively load the Maps JavaScript API.
npm i @googlemaps/react-wrapperExtending markers and overlays
The following libraries extend classes such as Marker and OverlayView.
Marker clustererCreates and manages per-zoom-level clusters for large amounts of markers.
npm i @googlemaps/markerclustererMarker manager
Adds and removes markers based upon map viewport changes.
npm i @googlemaps/markermanagerWeb map service (WMS)
Add Open Geospatial Consortium (OGC) layers such as a Web Map Service (WMS) to a map.
npm i @googlemaps/ogcMarker labels
Add custom HTML labels to markers.
npm i @googlemaps/markerwithlabelThree.js overlays
Use WebGL and ThreeJS for high performance visualizations.
npm i @googlemaps/threeDeck.gl overlays
Use Deck.gl as a custom Google Maps overlay.
npm i @deck.gl/google-mapsTesting and linting
Use these libraries to ensure best practices and make testing easier for the Maps JavaScript API.
ESLint pluginUse custom ESLint rules to lint your code.
npm i -D eslint-plugin-googlemapsJest mocks
Mocks to use with the Jest testing library.
npm i -D @googlemaps/jest-mocksNode.js Libraries Note: The following libraries do not work in browser environments and are implemented for Node.js and server environments. Node.js client library
Node.js client library for making calls from cloud functions or serverside code.
npm i @googlemaps/google-maps-services-jsPolyline encoding
Encode and decode polylines in Node.js.
npm i @googlemaps/polyline-codecURL signing
Sign URLs in Node.js for additional security.
npm i @googlemaps/url-signature
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-09 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-09 UTC."],[[["The Google Maps Platform offers numerous open-source libraries hosted on GitHub and npm to enhance the functionality of the Maps JavaScript API."],["These libraries cater to various needs, including web components, API loading, TypeScript integration, React integration, marker and overlay extensions, testing, linting, and Node.js environments."],["Developers can leverage libraries such as the Extended Component Library for streamlined UI development and the JS API Loader for dynamic API loading."],["Dedicated libraries are available for specific frameworks like React and TypeScript, along with tools for testing, linting, and extending map functionalities with markers, clusters, and overlays."],["Google Maps Platform provides Node.js libraries for server-side operations, such as making API calls and URL signing."]]],["Open-source libraries enhance the Maps JavaScript API, available on GitHub and npm. Web Components simplify map integration via a component library, installable with `npm i @googlemaps/extended-component-library`. The API can be dynamically loaded using `npm i @googlemaps/js-api-loader`. TypeScript support includes types and guards (`npm i -D @types/google.maps`, `npm i -D @googlemaps/typescript-guards`). React users can integrate maps using `@vis.gl/react-google-maps` or `@googlemaps/react-wrapper`. Libraries extend markers, overlays, and there are tools for linting, testing, and Node.js functionality.\n"]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4