From 0239c1776632ee6d89c4536fc9eab4b25c7277a6 Mon Sep 17 00:00:00 2001 From: nixa <4dmitr@gmail.com> Date: Fri, 6 May 2016 19:48:48 +0300 Subject: [PATCH] TODO for google maps --- src/app/pages/maps/components/googleMaps/googleMaps.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/pages/maps/components/googleMaps/googleMaps.component.ts b/src/app/pages/maps/components/googleMaps/googleMaps.component.ts index 833c7502..f86836d3 100644 --- a/src/app/pages/maps/components/googleMaps/googleMaps.component.ts +++ b/src/app/pages/maps/components/googleMaps/googleMaps.component.ts @@ -18,6 +18,7 @@ export class GoogleMaps { ngAfterViewInit() { let el = DOM.querySelector(this._elementRef.nativeElement, '.google-maps'); + // TODO: do not load this each time as we already have the library after first attempt GoogleMapsLoader.load((google) => { new google.maps.Map(el, { center: new google.maps.LatLng(44.5403, -78.5463),