[ Web Proxy ]
URL:
Viewing: https://developers.google.com/maps/documentation/javascript/libraries-open-source [Back]  [Original]

Open source libraries  |  Maps JavaScript API  |  Google for Developers Skip to main content
Send feedback

Open source libraries Stay organized with collections Save and categorize content based on your preferences.

outlined_flag

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 Components

Use 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.

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-library

Loading the API

Modern web applications may benefit from using the following libraries to load the Maps JavaScript API.

Using TypeScript

TypeScript users can get started with the following packages. Check out the using TypeScript guide for additional information.

Using React

React users can get started with the following packages.

Extending markers and overlays

The following libraries extend classes such as Marker and OverlayView.

Testing and linting

Use these libraries to ensure best practices and make testing easier for the Maps JavaScript API.

Node.js Libraries

Note: The following libraries do not work in browser environments and are implemented for Node.js and server environments.
Send feedback

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 2026-08-19 UTC.

Need to tell us more? [[["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 2026-08-19 UTC."],[],["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"]]

Web Proxy Viewer  |  New URL  |  Original Page