Skip to content

abkr08/angular-maps

 
 

Repository files navigation

Angular Maps

Google Maps JavaScript API in Angular 2+ apps.

Sample app

The sample application implements Google Maps, Markers, Geolocation and Geocoding. Optionally Autocomplete.

Running locally the sample app

Make sure that you have the latest version of npm and Angular CLI:

npm install -g npm@latest
npm install -g @angular/cli

In the command line, go to the root directory:

npm install

ng serve

Note

Starting with Chrome 50, Chrome no longer supports obtaining the user's location using the HTML5 Geolocation API from pages delivered by non-secure connections. This means that the page that's making the Geolocation API call must be served from a secure context such as HTTPS: Geolocation API Removed from Unsecured Origins in Chrome 50.

About

Google Maps JavaScript API in Angular apps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 81.8%
  • HTML 11.7%
  • JavaScript 6.0%
  • CSS 0.5%