Due to a fundamental architecture conflict with newer versions of Angular, this project is no longer maintained. If you're using Angular 15 or 16, you should look for alternatives like @angular/google-maps or @ng-maps/google.
The last known Angular version that is compatible with this project is Angular 14. Feel free to fork the repository if you wish to continue its development.
Angular components for Google Maps. (Previously known as angular2-google-maps)
Website | Demo | Twitter | Chat | API Documentation
This project is a mono repo and hosts multiple packages:
Package | Downloads |
---|---|
@agm/core | |
@agm/snazzy-info-window | |
@agm/markerclusterer | |
@agm/drawing |
If you just want to play with AGM and don't want to set up a full project, you can use the following Plunker. It has all the dependencies to play with Angular, Typescript and of course AGM
:
» Play with Angular Google Maps on Stackblitz
AGM
gets shipped via the Node Package Manager. So make sure that you have NodeJS installed.
You can install the package with the following command:
npm install @agm/core
You should also checkout the Getting started guide for further information.