Waiting for 2 seconds to lazy load the maps API via map-lazy-load

Lazy Load Activated: the map should be visible

This screen demonstrates the lazy loading of the google maps api. Check the network tab of the dev tools and the maps api should start loading 2 seconds after the page is loaded. This demo also shows the use of the map-lazy-load-params attribute to allow specification of map API key via an angular/javascript variable.

Lat/Lng: {{anchor.getPosition().lat()}}/ {{anchor.getPosition().lng()}}
  • {{item}}
Lat: {{anchor.getPosition().lat()}}
Lng: {{anchor.getPosition().lng()}}