Angular service

GoogleMapsApi source

Description

Load Google Maps API Service

Methods

load (mapsUrl)

Load google maps into document by creating a script tag

Example

GoogleMapsApi.load(myUrl).then(function() {
    console.log('google map has been loaded')
  });

Parameters

NameTypeDescription
mapsUrl string