Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ambl-on/lcu-ambl-on-common

Package Overview
Dependencies
Maintainers
2
Versions
420
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ambl-on/lcu-ambl-on-common - npm Package Compare versions

Comparing version 0.1.35-landing-page to 0.1.36-google-map

esm2015/lib/services/map.service.js

1

ambl-on-lcu-ambl-on-common.d.ts

@@ -5,1 +5,2 @@ /**

export * from './lcu.api';
export { MapService as ɵa } from './lib/services/map.service';

2

ambl-on-lcu-ambl-on-common.metadata.json

@@ -1,1 +0,1 @@

{"__symbolic":"module","version":4,"metadata":{"UsersStateManagerContext":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@lcu-ide/common","name":"StateManagerContext","line":7,"character":46},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":14,"character":34}]}],"SetActive":[{"__symbolic":"method"}],"defaultValue":[{"__symbolic":"method"}],"loadStateKey":[{"__symbolic":"method"}],"loadStateName":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"UsersState":{"__symbolic":"class","members":{}},"HamburgerMenuComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"lcu-hamburger-menu","template":"<!-- <nav class=\"hamburger-nav\"> -->\r\n <button class=\"hamburger-menu\" mat-icon-button [matMenuTriggerFor]=\"menu\">\r\n <mat-icon [inline]=\"true\">menu</mat-icon>\r\n </button>\r\n <!-- Builds the hamburger menu from the item in the constants.ts file-->\r\n <mat-menu #menu=\"matMenu\">\r\n <button class=\"item-button\" mat-menu-item *ngFor= \"let item of MenuItems\" [disabled]= item.Disabled routerLink={{item.Url}}>\r\n <mat-icon>{{ item.Icon }}</mat-icon>\r\n <span>{{ item.Label }}</span>\r\n </button>\r\n </mat-menu>\r\n<!-- </nav> -->","styles":[".hamburger-menu{background-color:transparent;border-width:0;outline:0;font-size:30px}"]}]}],"members":{"ngOnInit":[{"__symbolic":"method"}]}},"LandingPageComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"lcu-landing-page","template":" <div class=\"landing-page-image\">\r\n <div class=\"container\" fxFlex=\"100%\"\r\n fxLayout=\"column\" fxLayoutAlign=\"center start\"\r\n fxLayout.sm=\"column\" fxLayoutAlign.sm=\"center center\"\r\n fxLayout.xs=\"column\" fxLayoutAlign.xs=\"center center\">\r\n <div class=\"title\">\r\n <h1>\r\n {{ Title }}\r\n </h1>\r\n </div>\r\n <div class=\"slogan\">\r\n <h3>\r\n {{ Slogan }}\r\n </h3>\r\n </div>\r\n </div>\r\n</div>","styles":[".landing-page-image{background:url(../assets/Angkor-sunrise.jpg) center center/cover no-repeat fixed;height:100vh}.landing-page-image .container{margin-top:14em;margin-left:1em;text-align:center}.landing-page-image .container h1{margin:0}.landing-page-image .container .slogan,.landing-page-image .container .title{color:#fff}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}},"Constants":{"__symbolic":"class","members":{},"statics":{"VAR_NAMES_MENU":[{"Label":"Home","Icon":"home","Url":"/home","Disabled":"false"},{"Label":"My Atlas","Icon":"public","Url":"/map","Disabled":"false"},{"Label":"My Itenerarries","Icon":"map","Url":"www","Disabled":"true"},{"Label":"My Top Lists","Icon":"sort","Url":"www","Disabled":"true"},{"Label":"My Albums","Icon":"photo_library","Url":"www","Disabled":"true"},{"Label":"My Friends","Icon":"group","Url":"www","Disabled":"true"},{"Label":"My Profile","Icon":"person","Url":"www","Disabled":"true"}]}},"HamburgerMenuModel":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"}]}]}},"LcuAmblOnModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":17,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"LandingPageComponent"},{"__symbolic":"reference","name":"HamburgerMenuComponent"},{"__symbolic":"reference","name":"MapComponent"},{"__symbolic":"reference","name":"AddMapMarkerComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":20,"character":4},{"__symbolic":"reference","module":"@angular/flex-layout","name":"FlexLayoutModule","line":21,"character":4},{"__symbolic":"reference","module":"@angular/platform-browser/animations","name":"BrowserAnimationsModule","line":22,"character":4},{"__symbolic":"reference","module":"@angular/material/menu","name":"MatMenuModule","line":23,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatIconModule","line":24,"character":4},{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@agm/core","name":"AgmCoreModule","line":25,"character":4},"member":"forRoot"},"arguments":[{"apiKey":"AIzaSyCvvqYY9pMUpRSKl721rPEiN4KlKIpCImg"}]},{"__symbolic":"reference","module":"@angular/material","name":"MatIconModule","line":26,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatSelectModule","line":27,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatDialogModule","line":28,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatButtonModule","line":29,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":30,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatInputModule","line":31,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatFormFieldModule","line":32,"character":4},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":33,"character":4}],"exports":[{"__symbolic":"reference","name":"LandingPageComponent"},{"__symbolic":"reference","name":"HamburgerMenuComponent"},{"__symbolic":"reference","name":"MapComponent"},{"__symbolic":"reference","name":"AddMapMarkerComponent"},{"__symbolic":"reference","module":"@angular/material","name":"MatIconModule","line":35,"character":95}],"entryComponents":[{"__symbolic":"reference","name":"LandingPageComponent"},{"__symbolic":"reference","name":"HamburgerMenuComponent"},{"__symbolic":"reference","name":"AddMapMarkerComponent"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":[],"value":{"ngModule":{"__symbolic":"reference","name":"LcuAmblOnModule"},"providers":[{"__symbolic":"reference","name":"UsersStateManagerContext"}]}}}},"IndividualMap":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"IndividualMap"}]}]}},"MapMarker":{"__symbolic":"class","members":{}},"MapComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"lcu-map","template":"<div class=\"icon-list\">\r\n <div>\r\n <div class=\"top-icon-set\">\r\n <mat-icon class=\"hamburger-icon\">menu</mat-icon>\r\n <mat-icon class=\"chevron-icon\">chevron_left</mat-icon>\r\n </div>\r\n <div class=\"bottom-icon-set\" fxLayoutAlign.lt-sm=\"flex-start\" fxLayoutAlign=\"space-around\" fxLayoutGap.lt-sm=\"50px\">\r\n <mat-icon>search</mat-icon>\r\n <mat-icon >add</mat-icon>\r\n <mat-icon>layers</mat-icon>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<agm-map [latitude]=\"CurrentMapModel.origin.lat\" [longitude]=\"CurrentMapModel.origin.lng\" [title]=\"CurrentMapModel.title\" [zoom]=\"CurrentMapModel.zoom\"\r\n (mapClick)=\"OnChoseLocation($event)\">\r\n <div *ngFor=\"let marker of CurrentMapModel.locationList\">\r\n <agm-marker [latitude]=\"marker.lat\" [longitude]=\"marker.lng\" [title]=\"marker.title\" [iconUrl]=\"marker.icon\"></agm-marker>\r\n </div>\r\n</agm-map>\r\n\r\n","styles":["mat-icon{font-size:30px}.icon-list{padding:5px}.hamburger-icon{position:absolute;left:10px}@media (max-width:600px){.hamburger-icon{position:relative}}.chevron-icon{position:absolute;right:10px}.bottom-icon-set{width:80%;margin:auto}@media (max-width:600px){.bottom-icon-set{margin-left:10px}}agm-map{height:700px}"]}]}],"members":{"mapModel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/material","name":"MatDialog","line":36,"character":30}]}],"ngOnInit":[{"__symbolic":"method"}],"OnChoseLocation":[{"__symbolic":"method"}],"convertMarkerUrls":[{"__symbolic":"method"}]}},"AddMapMarkerComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"selector":"lcu-add-map-marker","template":"<h1 mat-dialog-title>Add a marker here?</h1>\r\n\r\n\r\n<mat-dialog-content>\r\n <form fxLayout=\"column\" fxLayoutAlign=\"center center\" [formGroup]=\"NewMarkerForm\" fxLayoutGap=\"30px\">\r\n <h4>Marker Title:</h4>\r\n <mat-form-field>\r\n <input type=\"text\" matInput formControlName=\"title\">\r\n <mat-hint>The title for the map marker</mat-hint>\r\n <mat-error>Invalid or missing title</mat-error>\r\n </mat-form-field>\r\n\r\n <h4>Choose Icon:</h4>\r\n <mat-form-field>\r\n <mat-label>Icon</mat-label>\r\n <mat-select formControlName=\"icon\">\r\n <mat-option *ngFor=\"let icon of IconList\" [value]=\"icon\">{{icon}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n </form>\r\n</mat-dialog-content>\r\n\r\n\r\n<button mat-raised-button color=\"primary\" [mat-dialog-close]=\"NewMarker\" (click)=\"SetMarkerData()\"\r\n [disabled]=\"NewMarkerForm.invalid\">Add Marker</button>\r\n<button mat-raised-button color=\"accent\" [mat-dialog-close]=\"false\">Cancel</button>","styles":[""]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":31,"character":15},"arguments":[{"__symbolic":"reference","module":"@angular/material","name":"MAT_DIALOG_DATA","line":31,"character":22}]}]],"parameters":[{"__symbolic":"reference","name":"any"}]}],"ngOnInit":[{"__symbolic":"method"}],"SetMarkerData":[{"__symbolic":"method"}],"convertIconUrl":[{"__symbolic":"method"}]}}},"origins":{"UsersStateManagerContext":"./lib/state/users/users-state-manager.context","UsersState":"./lib/state/users/users-state.model","HamburgerMenuComponent":"./lib/controls/hamburger-menu/hamburger-menu.component","LandingPageComponent":"./lib/controls/landing-page/landing-page.component","Constants":"./lib/utils/constants/constants","HamburgerMenuModel":"./lib/models/hamburger-menu.model","LcuAmblOnModule":"./lib/lcu-ambl-on.module","IndividualMap":"./lib/models/individual-map.model","MapMarker":"./lib/models/map-marker.model","MapComponent":"./lib/controls/map/map.component","AddMapMarkerComponent":"./lib/controls/map/add-map-marker/add-map-marker.component"},"importAs":"@ambl-on/lcu-ambl-on-common"}
{"__symbolic":"module","version":4,"metadata":{"UsersStateManagerContext":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@lcu-ide/common","name":"StateManagerContext","line":7,"character":46},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":14,"character":34}]}],"SetActive":[{"__symbolic":"method"}],"defaultValue":[{"__symbolic":"method"}],"loadStateKey":[{"__symbolic":"method"}],"loadStateName":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"UsersState":{"__symbolic":"class","members":{}},"HamburgerMenuComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"lcu-hamburger-menu","template":"<nav class=\"hamburger-nav\">\r\n <button class=\"hamburger-menu\" mat-icon-button [matMenuTriggerFor]=\"menu\">\r\n <mat-icon>menu</mat-icon>\r\n </button>\r\n <!-- Builds the hamburger menu from the item in the constants.ts file-->\r\n <mat-menu #menu=\"matMenu\">\r\n <button class=\"item-button\" mat-menu-item *ngFor= \"let item of MenuItems\" [disabled]= item.Disabled routerLink={{item.Url}}>\r\n <mat-icon>{{ item.Icon }}</mat-icon>\r\n <span>{{ item.Label }}</span>\r\n </button>\r\n </mat-menu>\r\n</nav>","styles":[".hamburger-menu{background-color:transparent;border-width:0;outline:0}"]}]}],"members":{"ngOnInit":[{"__symbolic":"method"}]}},"LandingPageComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"lcu-landing-page","template":" <div class=\"container\" fxFlex=\"100%\"\r\n fxLayout=\"column\" fxLayoutAlign=\"center start\"\r\n fxLayout.sm=\"column\" fxLayoutAlign.sm=\"center center\"\r\n fxLayout.xs=\"column\" fxLayoutAlign.xs=\"center center\">\r\n <div class=\"title\">\r\n <h1>\r\n {{ Title }}\r\n </h1>\r\n </div>\r\n <div class=\"slogan\">\r\n <h3>\r\n {{ Slogan }}\r\n </h3>\r\n </div>\r\n </div>\r\n","styles":[".container{margin-top:19em;margin-left:1em;text-align:center}.container h1{margin:0}.container .slogan,.container .title{color:#fff}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}},"Constants":{"__symbolic":"class","members":{},"statics":{"VAR_NAMES_MENU":[{"Label":"My Atlas","Icon":"public","Url":"/map","Disabled":"false"},{"Label":"My Itenerarries","Icon":"map","Url":"www","Disabled":"true"},{"Label":"My Top Lists","Icon":"sort","Url":"www","Disabled":"true"},{"Label":"My Albums","Icon":"photo_library","Url":"www","Disabled":"true"},{"Label":"My Friends","Icon":"group","Url":"www","Disabled":"true"},{"Label":"My Profile","Icon":"person","Url":"www","Disabled":"true"}]}},"HamburgerMenuModel":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"}]}]}},"LcuAmblOnModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":17,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"LandingPageComponent"},{"__symbolic":"reference","name":"HamburgerMenuComponent"},{"__symbolic":"reference","name":"MapComponent"},{"__symbolic":"reference","name":"AddMapMarkerComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":20,"character":4},{"__symbolic":"reference","module":"@angular/flex-layout","name":"FlexLayoutModule","line":21,"character":4},{"__symbolic":"reference","module":"@angular/platform-browser/animations","name":"BrowserAnimationsModule","line":22,"character":4},{"__symbolic":"reference","module":"@angular/material/menu","name":"MatMenuModule","line":23,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatIconModule","line":24,"character":4},{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@agm/core","name":"AgmCoreModule","line":25,"character":4},"member":"forRoot"},"arguments":[{"apiKey":"AIzaSyCvvqYY9pMUpRSKl721rPEiN4KlKIpCImg"}]},{"__symbolic":"reference","module":"@angular/material","name":"MatIconModule","line":26,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatSelectModule","line":27,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatDialogModule","line":28,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatButtonModule","line":29,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":30,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatInputModule","line":31,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatFormFieldModule","line":32,"character":4},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":33,"character":4}],"exports":[{"__symbolic":"reference","name":"LandingPageComponent"},{"__symbolic":"reference","name":"HamburgerMenuComponent"},{"__symbolic":"reference","name":"MapComponent"},{"__symbolic":"reference","name":"AddMapMarkerComponent"},{"__symbolic":"reference","module":"@angular/material","name":"MatIconModule","line":35,"character":95}],"entryComponents":[{"__symbolic":"reference","name":"LandingPageComponent"},{"__symbolic":"reference","name":"HamburgerMenuComponent"},{"__symbolic":"reference","name":"AddMapMarkerComponent"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":[],"value":{"ngModule":{"__symbolic":"reference","name":"LcuAmblOnModule"},"providers":[{"__symbolic":"reference","name":"UsersStateManagerContext"}]}}}},"IndividualMap":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"IndividualMap"}]}]}},"MapMarker":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"MapMarker"}]}]}},"MapComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"selector":"lcu-map","template":"<div class=\"icon-list\">\r\n <div>\r\n <div class=\"top-icon-set\">\r\n <mat-icon class=\"hamburger-icon\">menu</mat-icon>\r\n <mat-icon class=\"chevron-icon\">chevron_left</mat-icon>\r\n </div>\r\n <div class=\"bottom-icon-set\" fxLayoutAlign.lt-sm=\"flex-start\" fxLayoutAlign=\"space-around\" fxLayoutGap.lt-sm=\"50px\">\r\n <mat-icon>search</mat-icon>\r\n <mat-icon >add</mat-icon>\r\n <mat-icon>layers</mat-icon>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<agm-map [latitude]=\"CurrentMapModel.origin.lat\" [longitude]=\"CurrentMapModel.origin.lng\" [title]=\"CurrentMapModel.title\" [zoom]=\"CurrentMapModel.zoom\"\r\n (mapClick)=\"OnChoseLocation($event)\">\r\n <div *ngFor=\"let marker of CurrentMapModel.locationList\">\r\n <agm-marker [latitude]=\"marker.lat\" [longitude]=\"marker.lng\" [title]=\"marker.title\" [iconUrl]=\"marker.icon\"></agm-marker>\r\n </div>\r\n</agm-map>\r\n\r\n","styles":["mat-icon{font-size:30px}.icon-list{padding:5px}.hamburger-icon{position:absolute;left:10px}@media (max-width:600px){.hamburger-icon{position:relative}}.chevron-icon{position:absolute;right:10px}.bottom-icon-set{width:80%;margin:auto}@media (max-width:600px){.bottom-icon-set{margin-left:10px}}agm-map{height:700px}"]}]}],"members":{"mapModel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/material","name":"MatDialog","line":45,"character":30},{"__symbolic":"reference","name":"ɵa"}]}],"ngOnInit":[{"__symbolic":"method"}],"OnChoseLocation":[{"__symbolic":"method"}]}},"AddMapMarkerComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"lcu-add-map-marker","template":"<h1 mat-dialog-title>Add a marker here?</h1>\r\n\r\n\r\n<mat-dialog-content>\r\n <form fxLayout=\"column\" fxLayoutAlign=\"center center\" [formGroup]=\"NewMarkerForm\" fxLayoutGap=\"30px\">\r\n <h4>Marker Title:</h4>\r\n <mat-form-field>\r\n <input type=\"text\" matInput formControlName=\"title\">\r\n <mat-hint>The title for the map marker</mat-hint>\r\n <mat-error>Invalid or missing title</mat-error>\r\n </mat-form-field>\r\n\r\n <h4>Choose Icon:</h4>\r\n <mat-form-field>\r\n <mat-label>Icon</mat-label>\r\n <mat-select formControlName=\"icon\">\r\n <mat-option *ngFor=\"let icon of IconList\" [value]=\"icon\">{{icon}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n </form>\r\n</mat-dialog-content>\r\n\r\n\r\n<button mat-raised-button color=\"primary\" [mat-dialog-close]=\"NewMarker\" (click)=\"SetMarkerData()\"\r\n [disabled]=\"NewMarkerForm.invalid\">Add Marker</button>\r\n<button mat-raised-button color=\"accent\" [mat-dialog-close]=\"false\">Cancel</button>","styles":[""]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":32,"character":15},"arguments":[{"__symbolic":"reference","module":"@angular/material","name":"MAT_DIALOG_DATA","line":32,"character":22}]}],null],"parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"ɵa"}]}],"ngOnInit":[{"__symbolic":"method"}],"SetMarkerData":[{"__symbolic":"method"}]}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":2,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"ConvertIconUrl":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}}},"origins":{"UsersStateManagerContext":"./lib/state/users/users-state-manager.context","UsersState":"./lib/state/users/users-state.model","HamburgerMenuComponent":"./lib/controls/hamburger-menu/hamburger-menu.component","LandingPageComponent":"./lib/controls/landing-page/landing-page.component","Constants":"./lib/utils/constants/constants","HamburgerMenuModel":"./lib/models/hamburger-menu.model","LcuAmblOnModule":"./lib/lcu-ambl-on.module","IndividualMap":"./lib/models/individual-map.model","MapMarker":"./lib/models/map-marker.model","MapComponent":"./lib/controls/map/map.component","AddMapMarkerComponent":"./lib/controls/map/add-map-marker/add-map-marker.component","ɵa":"./lib/services/map.service"},"importAs":"@ambl-on/lcu-ambl-on-common"}
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@lcu-ide/common'), require('@angular/common'), require('@angular/material/menu'), require('@angular/flex-layout'), require('@angular/platform-browser/animations'), require('@agm/core'), require('@angular/core'), require('@angular/material'), require('@angular/forms'), require('@angular/router')) :
typeof define === 'function' && define.amd ? define('@ambl-on/lcu-ambl-on-common', ['exports', '@lcu-ide/common', '@angular/common', '@angular/material/menu', '@angular/flex-layout', '@angular/platform-browser/animations', '@agm/core', '@angular/core', '@angular/material', '@angular/forms', '@angular/router'], factory) :
(factory((global['ambl-on'] = global['ambl-on'] || {}, global['ambl-on']['lcu-ambl-on-common'] = {}),global.common,global.ng.common,global.ng.material.menu,global.ng['flex-layout'],global.ng.platformBrowser.animations,global.core,global.ng.core,global.ng.material,global.ng.forms,global.ng.router));
}(this, (function (exports,common,common$1,menu,flexLayout,animations,core,i0,material,forms,router) { 'use strict';
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@lcu-ide/common'), require('@angular/common'), require('@angular/material/menu'), require('@angular/flex-layout'), require('@angular/platform-browser/animations'), require('@agm/core'), require('@angular/material'), require('@angular/forms'), require('@angular/core'), require('@angular/router')) :
typeof define === 'function' && define.amd ? define('@ambl-on/lcu-ambl-on-common', ['exports', '@lcu-ide/common', '@angular/common', '@angular/material/menu', '@angular/flex-layout', '@angular/platform-browser/animations', '@agm/core', '@angular/material', '@angular/forms', '@angular/core', '@angular/router'], factory) :
(factory((global['ambl-on'] = global['ambl-on'] || {}, global['ambl-on']['lcu-ambl-on-common'] = {}),global.common,global.ng.common,global.ng.material.menu,global.ng['flex-layout'],global.ng.platformBrowser.animations,global.core,global.ng.material,global.ng.forms,global.ng.core,global.ng.router));
}(this, (function (exports,common,common$1,menu,flexLayout,animations,core,material,forms,i0,router) { 'use strict';

@@ -241,3 +241,2 @@ /*! *****************************************************************************

Constants.VAR_NAMES_MENU = [
{ Label: 'Home', Icon: 'home', Url: '/home', Disabled: 'false' },
{ Label: 'My Atlas', Icon: 'public', Url: '/map', Disabled: 'false' },

@@ -272,4 +271,4 @@ { Label: 'My Itenerarries', Icon: 'map', Url: 'www', Disabled: 'true' },

selector: 'lcu-hamburger-menu',
template: "<!-- <nav class=\"hamburger-nav\"> -->\r\n <button class=\"hamburger-menu\" mat-icon-button [matMenuTriggerFor]=\"menu\">\r\n <mat-icon [inline]=\"true\">menu</mat-icon>\r\n </button>\r\n <!-- Builds the hamburger menu from the item in the constants.ts file-->\r\n <mat-menu #menu=\"matMenu\">\r\n <button class=\"item-button\" mat-menu-item *ngFor= \"let item of MenuItems\" [disabled]= item.Disabled routerLink={{item.Url}}>\r\n <mat-icon>{{ item.Icon }}</mat-icon>\r\n <span>{{ item.Label }}</span>\r\n </button>\r\n </mat-menu>\r\n<!-- </nav> -->",
styles: [".hamburger-menu{background-color:transparent;border-width:0;outline:0;font-size:30px}"]
template: "<nav class=\"hamburger-nav\">\r\n <button class=\"hamburger-menu\" mat-icon-button [matMenuTriggerFor]=\"menu\">\r\n <mat-icon>menu</mat-icon>\r\n </button>\r\n <!-- Builds the hamburger menu from the item in the constants.ts file-->\r\n <mat-menu #menu=\"matMenu\">\r\n <button class=\"item-button\" mat-menu-item *ngFor= \"let item of MenuItems\" [disabled]= item.Disabled routerLink={{item.Url}}>\r\n <mat-icon>{{ item.Icon }}</mat-icon>\r\n <span>{{ item.Label }}</span>\r\n </button>\r\n </mat-menu>\r\n</nav>",
styles: [".hamburger-menu{background-color:transparent;border-width:0;outline:0}"]
}] }

@@ -300,4 +299,4 @@ ];

selector: 'lcu-landing-page',
template: " <div class=\"landing-page-image\">\r\n <div class=\"container\" fxFlex=\"100%\"\r\n fxLayout=\"column\" fxLayoutAlign=\"center start\"\r\n fxLayout.sm=\"column\" fxLayoutAlign.sm=\"center center\"\r\n fxLayout.xs=\"column\" fxLayoutAlign.xs=\"center center\">\r\n <div class=\"title\">\r\n <h1>\r\n {{ Title }}\r\n </h1>\r\n </div>\r\n <div class=\"slogan\">\r\n <h3>\r\n {{ Slogan }}\r\n </h3>\r\n </div>\r\n </div>\r\n</div>",
styles: [".landing-page-image{background:url(../assets/Angkor-sunrise.jpg) center center/cover no-repeat fixed;height:100vh}.landing-page-image .container{margin-top:14em;margin-left:1em;text-align:center}.landing-page-image .container h1{margin:0}.landing-page-image .container .slogan,.landing-page-image .container .title{color:#fff}"]
template: " <div class=\"container\" fxFlex=\"100%\"\r\n fxLayout=\"column\" fxLayoutAlign=\"center start\"\r\n fxLayout.sm=\"column\" fxLayoutAlign.sm=\"center center\"\r\n fxLayout.xs=\"column\" fxLayoutAlign.xs=\"center center\">\r\n <div class=\"title\">\r\n <h1>\r\n {{ Title }}\r\n </h1>\r\n </div>\r\n <div class=\"slogan\">\r\n <h3>\r\n {{ Slogan }}\r\n </h3>\r\n </div>\r\n </div>\r\n",
styles: [".container{margin-top:19em;margin-left:1em;text-align:center}.container h1{margin:0}.container .slogan,.container .title{color:#fff}"]
}] }

@@ -338,7 +337,53 @@ ];

*/
var MapService = /** @class */ (function () {
function MapService() {
}
/**
*
* @param icon The icon to be converted to a path
*
* Converts icon to path for use in displaying custom icon as map location marker
*/
/**
*
* @param {?} icon The icon to be converted to a path
*
* Converts icon to path for use in displaying custom icon as map location marker
* @return {?}
*/
MapService.prototype.ConvertIconUrl = /**
*
* @param {?} icon The icon to be converted to a path
*
* Converts icon to path for use in displaying custom icon as map location marker
* @return {?}
*/
function (icon) {
/** @type {?} */
var orig = icon;
/** @type {?} */
var iconUrl = "./assets/" + orig + ".png";
return { url: iconUrl, scaledSize: { width: 40, height: 60 } };
};
MapService.decorators = [
{ type: i0.Injectable, args: [{
providedIn: 'root'
},] }
];
/** @nocollapse */
MapService.ctorParameters = function () { return []; };
/** @nocollapse */ MapService.ngInjectableDef = i0.defineInjectable({ factory: function MapService_Factory() { return new MapService(); }, token: MapService, providedIn: "root" });
return MapService;
}());
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
var AddMapMarkerComponent = /** @class */ (function () {
// PROPERTIES
// CONSTRUCTORS
function AddMapMarkerComponent(passedData) {
function AddMapMarkerComponent(passedData, mapService) {
this.passedData = passedData;
this.mapService = mapService;
}

@@ -389,42 +434,4 @@ // LIFE CYCLE

this.NewMarker.lng = this.passedData.lng;
this.NewMarker.icon = this.convertIconUrl(this.NewMarker.icon);
console.log(this.NewMarker.icon);
this.NewMarker.icon = this.mapService.ConvertIconUrl(this.NewMarker.icon);
};
// HELPERS
/**
*
* @param icon The icon to be converted to a path
*
* Converts icon to path for use in displaying custom icon as map location marker
* Best to find a more abstract way of doing this for re-usability (service?)
*/
// HELPERS
/**
*
* @private
* @param {?} icon The icon to be converted to a path
*
* Converts icon to path for use in displaying custom icon as map location marker
* Best to find a more abstract way of doing this for re-usability (service?)
* @return {?}
*/
AddMapMarkerComponent.prototype.convertIconUrl =
// HELPERS
/**
*
* @private
* @param {?} icon The icon to be converted to a path
*
* Converts icon to path for use in displaying custom icon as map location marker
* Best to find a more abstract way of doing this for re-usability (service?)
* @return {?}
*/
function (icon) {
// later - turn this into service because it's also being done in map.component.ts
/** @type {?} */
var orig = icon;
/** @type {?} */
var iconUrl = "./assets/" + orig + ".png";
return { url: iconUrl, scaledSize: { width: 40, height: 60 } };
};
AddMapMarkerComponent.decorators = [

@@ -440,3 +447,4 @@ { type: i0.Component, args: [{

return [
{ type: undefined, decorators: [{ type: i0.Inject, args: [material.MAT_DIALOG_DATA,] }] }
{ type: undefined, decorators: [{ type: i0.Inject, args: [material.MAT_DIALOG_DATA,] }] },
{ type: MapService }
];

@@ -453,4 +461,5 @@ };

// CONSTRUCTORS
function MapComponent(dialog) {
function MapComponent(dialog, mapService) {
this.dialog = dialog;
this.mapService = mapService;
// PROPERTIES

@@ -461,7 +470,17 @@ /**

this.mapModel = {
title: 'Default Title',
title: 'Default Map',
origin: { lat: 40.037757, lng: -105.278324 },
zoom: 13,
locationList: [],
thumbnailUrl: "https://maps.googleapis.com/maps/api/staticmap?center=63.259591,-144.667969&zoom=6&size=400x400\n &markers=color:blue%7Clabel:S%7C62.107733,-145.541936&markers=size:tiny%7Ccolor:green%7CDelta+Junction,AK\n &markers=size:mid%7Ccolor:0xFFFF00%7Clabel:C%7CTok,AK\"&key=AIzaSyCvvqYY9pMUpRSKl721rPEiN4KlKIpCImg"
locationList: [
{ title: 'Favorite steak house', lat: 40.017557, lng: -105.278199, icon: 'restaurant' },
{ title: 'Favorite UNESCO', lat: 40.027657, lng: -105.288199, icon: 'UNESCO' },
{ title: 'Nice museum', lat: 40.037757, lng: -105.298199, icon: 'museum' },
{ title: 'Good brewery', lat: 40.047857, lng: -105.268199, icon: 'brewery' },
{ title: 'Favorite ski area', lat: 40.057557, lng: -105.288199, icon: 'ski area' },
{ title: 'Favorite vineyard', lat: 40.060657, lng: -105.298199, icon: 'vineyard' },
{ title: 'Nice golf course', lat: 40.037757, lng: -105.258199, icon: 'golf course' },
{ title: 'Good lodging', lat: 40.037757, lng: -105.278199, icon: 'lodging' },
{ title: 'Nice national park', lat: 40.060657, lng: -105.278199, icon: 'national park' },
{ title: 'Good bar', lat: 40.017557, lng: -105.288199, icon: 'bar' }
]
};

@@ -480,4 +499,11 @@ }

function () {
var _this = this;
this.CurrentMapModel = this.mapModel;
this.CurrentMapModel.locationList = this.convertMarkerUrls(this.CurrentMapModel.locationList);
this.CurrentMapModel.locationList.forEach(( /**
* @param {?} loc
* @return {?}
*/function (loc) {
loc.icon = _this.mapService.ConvertIconUrl(loc.icon);
}));
// this.CurrentMapModel.locationList = this.convertMarkerUrls(this.CurrentMapModel.locationList);
};

@@ -526,44 +552,2 @@ // API METHODS

};
// HELPERS
/**
*
* @param list The list of icons to convert to paths
*
* Converts list of icons to paths for use in displaying custom icons as map location markers
* Best to find a more abstract way of doing this for re-usability (service?)
*/
// HELPERS
/**
*
* @private
* @param {?} list The list of icons to convert to paths
*
* Converts list of icons to paths for use in displaying custom icons as map location markers
* Best to find a more abstract way of doing this for re-usability (service?)
* @return {?}
*/
MapComponent.prototype.convertMarkerUrls =
// HELPERS
/**
*
* @private
* @param {?} list The list of icons to convert to paths
*
* Converts list of icons to paths for use in displaying custom icons as map location markers
* Best to find a more abstract way of doing this for re-usability (service?)
* @return {?}
*/
function (list) {
list.forEach(( /**
* @param {?} element
* @return {?}
*/function (element) {
/** @type {?} */
var icon = element.icon;
/** @type {?} */
var iconUrl = "./assets/" + icon + ".png";
element.icon = { url: iconUrl, scaledSize: { width: 40, height: 60 } };
}));
return list;
};
MapComponent.decorators = [

@@ -579,3 +563,4 @@ { type: i0.Component, args: [{

return [
{ type: material.MatDialog }
{ type: material.MatDialog },
{ type: MapService }
];

@@ -639,2 +624,6 @@ };

var IndividualMap = /** @class */ (function () {
/**
*
* @param mapInfo The object containing the necessary data for displaying a map (<agm-map>)
*/
function IndividualMap(mapInfo) {

@@ -645,3 +634,2 @@ this.title = mapInfo.title;

this.locationList = mapInfo.locationList;
this.thumbnailUrl = mapInfo.thumbnailUrl;
}

@@ -656,3 +644,11 @@ return IndividualMap;

var MapMarker = /** @class */ (function () {
function MapMarker() {
/**
*
* @param icon The object containing data for a single point (a map marker) on a map (<agm-map>)
*/
function MapMarker(icon) {
this.title = icon.title;
this.icon = icon.icon;
this.lat = icon.lat;
this.lng = icon.lng;
}

@@ -683,2 +679,3 @@ return MapMarker;

exports.AddMapMarkerComponent = AddMapMarkerComponent;
exports.ɵa = MapService;

@@ -685,0 +682,0 @@ Object.defineProperty(exports, '__esModule', { value: true });

@@ -1,2 +0,2 @@

!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@lcu-ide/common"),require("@angular/common"),require("@angular/material/menu"),require("@angular/flex-layout"),require("@angular/platform-browser/animations"),require("@agm/core"),require("@angular/core"),require("@angular/material"),require("@angular/forms"),require("@angular/router")):"function"==typeof define&&define.amd?define("@ambl-on/lcu-ambl-on-common",["exports","@lcu-ide/common","@angular/common","@angular/material/menu","@angular/flex-layout","@angular/platform-browser/animations","@agm/core","@angular/core","@angular/material","@angular/forms","@angular/router"],e):e((t["ambl-on"]=t["ambl-on"]||{},t["ambl-on"]["lcu-ambl-on-common"]={}),t.common,t.ng.common,t.ng.material.menu,t.ng["flex-layout"],t.ng.platformBrowser.animations,t.core,t.ng.core,t.ng.material,t.ng.forms,t.ng.router)}(this,function(t,e,n,r,o,a,i,l,u,c,s){"use strict";var m=function(t,e){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function p(e,i,l,u){return new(l||(l=Promise))(function(t,n){function r(t){try{a(u.next(t))}catch(e){n(e)}}function o(t){try{a(u["throw"](t))}catch(e){n(e)}}function a(e){e.done?t(e.value):new l(function(t){t(e.value)}).then(r,o)}a((u=u.apply(e,i||[])).next())})}function d(r,o){var a,i,l,t,u={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]};return t={next:e(0),"throw":e(1),"return":e(2)},"function"==typeof Symbol&&(t[Symbol.iterator]=function(){return this}),t;function e(e){return function(t){return function n(t){if(a)throw new TypeError("Generator is already executing.");for(;u;)try{if(a=1,i&&(l=2&t[0]?i["return"]:t[0]?i["throw"]||((l=i["return"])&&l.call(i),0):i.next)&&!(l=l.call(i,t[1])).done)return l;switch(i=0,l&&(t=[2&t[0],l.value]),t[0]){case 0:case 1:l=t;break;case 4:return u.label++,{value:t[1],done:!1};case 5:u.label++,i=t[1],t=[0];continue;case 7:t=u.ops.pop(),u.trys.pop();continue;default:if(!(l=0<(l=u.trys).length&&l[l.length-1])&&(6===t[0]||2===t[0])){u=0;continue}if(3===t[0]&&(!l||t[1]>l[0]&&t[1]<l[3])){u.label=t[1];break}if(6===t[0]&&u.label<l[1]){u.label=l[1],l=t;break}if(l&&u.label<l[2]){u.label=l[2],u.ops.push(t);break}l[2]&&u.ops.pop(),u.trys.pop();continue}t=o.call(r,u)}catch(e){t=[6,e],i=0}finally{a=l=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([e,t])}}}var g,f=(function _(t,e){function n(){this.constructor=t}m(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(h,g=e.StateManagerContext),h.prototype.SetActive=function(){},h.prototype.defaultValue=function(){return{Loading:!0}},h.prototype.loadStateKey=function(){return p(this,void 0,void 0,function(){return d(this,function(t){return[2,"main"]})})},h.prototype.loadStateName=function(){return p(this,void 0,void 0,function(){return d(this,function(t){return[2,"users "]})})},h.decorators=[{type:l.Injectable,args:[{providedIn:"root"}]}],h.ctorParameters=function(){return[{type:l.Injector}]},h.ngInjectableDef=l.defineInjectable({factory:function(){return new h(l.inject(l.INJECTOR))},token:h,providedIn:"root"}),h);function h(t){var e=g.call(this,t)||this;return e.injector=t,e}function M(){}var b=(y.VAR_NAMES_MENU=[{Label:"Home",Icon:"home",Url:"/home",Disabled:"false"},{Label:"My Atlas",Icon:"public",Url:"/map",Disabled:"false"},{Label:"My Itenerarries",Icon:"map",Url:"www",Disabled:"true"},{Label:"My Top Lists",Icon:"sort",Url:"www",Disabled:"true"},{Label:"My Albums",Icon:"photo_library",Url:"www",Disabled:"true"},{Label:"My Friends",Icon:"group",Url:"www",Disabled:"true"},{Label:"My Profile",Icon:"person",Url:"www",Disabled:"true"}],y);function y(){}var v=(w.prototype.ngOnInit=function(){this.MenuItems=b.VAR_NAMES_MENU},w.decorators=[{type:l.Component,args:[{selector:"lcu-hamburger-menu",template:'\x3c!-- <nav class="hamburger-nav"> --\x3e\r\n <button class="hamburger-menu" mat-icon-button [matMenuTriggerFor]="menu">\r\n <mat-icon [inline]="true">menu</mat-icon>\r\n </button>\r\n \x3c!-- Builds the hamburger menu from the item in the constants.ts file--\x3e\r\n <mat-menu #menu="matMenu">\r\n <button class="item-button" mat-menu-item *ngFor= "let item of MenuItems" [disabled]= item.Disabled routerLink={{item.Url}}>\r\n <mat-icon>{{ item.Icon }}</mat-icon>\r\n <span>{{ item.Label }}</span>\r\n </button>\r\n </mat-menu>\r\n\x3c!-- </nav> --\x3e',styles:[".hamburger-menu{background-color:transparent;border-width:0;outline:0;font-size:30px}"]}]}],w);function w(){}var x=(k.prototype.ngOnInit=function(){},k.decorators=[{type:l.Component,args:[{selector:"lcu-landing-page",template:' <div class="landing-page-image">\r\n <div class="container" fxFlex="100%"\r\n fxLayout="column" fxLayoutAlign="center start"\r\n fxLayout.sm="column" fxLayoutAlign.sm="center center"\r\n fxLayout.xs="column" fxLayoutAlign.xs="center center">\r\n <div class="title">\r\n <h1>\r\n {{ Title }}\r\n </h1>\r\n </div>\r\n <div class="slogan">\r\n <h3>\r\n {{ Slogan }}\r\n </h3>\r\n </div>\r\n </div>\r\n</div>',styles:[".landing-page-image{background:url(../assets/Angkor-sunrise.jpg) center center/cover no-repeat fixed;height:100vh}.landing-page-image .container{margin-top:14em;margin-left:1em;text-align:center}.landing-page-image .container h1{margin:0}.landing-page-image .container .slogan,.landing-page-image .container .title{color:#fff}"]}]}],k.ctorParameters=function(){return[]},k);function k(){this.Title="Ambl On",this.Slogan="Down the Road, Around the World!"}function C(t,e,n,r){this.Label=t,this.Icon=e,this.Url=n,this.Disabled=r}var I=(L.prototype.ngOnInit=function(){this.NewMarkerForm=new c.FormGroup({title:new c.FormControl("",{validators:[c.Validators.required]}),icon:new c.FormControl("",{validators:[c.Validators.required]})}),this.NewMarker={title:"",icon:null,lat:40,lng:-100},this.IconList=["bar","brewery","golf course","lodging","museum","national park","restaurant","ski area","UNESCO","vineyard"]},L.prototype.SetMarkerData=function(){this.NewMarker.title=this.NewMarkerForm.value.title,this.NewMarker.icon=this.NewMarkerForm.value.icon,this.NewMarker.lat=this.passedData.lat,this.NewMarker.lng=this.passedData.lng,this.NewMarker.icon=this.convertIconUrl(this.NewMarker.icon),console.log(this.NewMarker.icon)},L.prototype.convertIconUrl=function(t){return{url:"./assets/"+t+".png",scaledSize:{width:40,height:60}}},L.decorators=[{type:l.Component,args:[{selector:"lcu-add-map-marker",template:'<h1 mat-dialog-title>Add a marker here?</h1>\r\n\r\n\r\n<mat-dialog-content>\r\n <form fxLayout="column" fxLayoutAlign="center center" [formGroup]="NewMarkerForm" fxLayoutGap="30px">\r\n <h4>Marker Title:</h4>\r\n <mat-form-field>\r\n <input type="text" matInput formControlName="title">\r\n <mat-hint>The title for the map marker</mat-hint>\r\n <mat-error>Invalid or missing title</mat-error>\r\n </mat-form-field>\r\n\r\n <h4>Choose Icon:</h4>\r\n <mat-form-field>\r\n <mat-label>Icon</mat-label>\r\n <mat-select formControlName="icon">\r\n <mat-option *ngFor="let icon of IconList" [value]="icon">{{icon}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n </form>\r\n</mat-dialog-content>\r\n\r\n\r\n<button mat-raised-button color="primary" [mat-dialog-close]="NewMarker" (click)="SetMarkerData()"\r\n [disabled]="NewMarkerForm.invalid">Add Marker</button>\r\n<button mat-raised-button color="accent" [mat-dialog-close]="false">Cancel</button>',styles:[""]}]}],L.ctorParameters=function(){return[{type:undefined,decorators:[{type:l.Inject,args:[u.MAT_DIALOG_DATA]}]}]},L);function L(t){this.passedData=t}var A=(N.prototype.ngOnInit=function(){this.CurrentMapModel=this.mapModel,this.CurrentMapModel.locationList=this.convertMarkerUrls(this.CurrentMapModel.locationList)},N.prototype.OnChoseLocation=function(t){var e=this;this.dialog.open(I,{data:{lat:t.coords.lat,lng:t.coords.lng}}).afterClosed().subscribe(function(t){t&&e.CurrentMapModel.locationList.push(t)})},N.prototype.convertMarkerUrls=function(t){return t.forEach(function(t){var e="./assets/"+t.icon+".png";t.icon={url:e,scaledSize:{width:40,height:60}}}),t},N.decorators=[{type:l.Component,args:[{selector:"lcu-map",template:'<div class="icon-list">\r\n <div>\r\n <div class="top-icon-set">\r\n <mat-icon class="hamburger-icon">menu</mat-icon>\r\n <mat-icon class="chevron-icon">chevron_left</mat-icon>\r\n </div>\r\n <div class="bottom-icon-set" fxLayoutAlign.lt-sm="flex-start" fxLayoutAlign="space-around" fxLayoutGap.lt-sm="50px">\r\n <mat-icon>search</mat-icon>\r\n <mat-icon >add</mat-icon>\r\n <mat-icon>layers</mat-icon>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<agm-map [latitude]="CurrentMapModel.origin.lat" [longitude]="CurrentMapModel.origin.lng" [title]="CurrentMapModel.title" [zoom]="CurrentMapModel.zoom"\r\n (mapClick)="OnChoseLocation($event)">\r\n <div *ngFor="let marker of CurrentMapModel.locationList">\r\n <agm-marker [latitude]="marker.lat" [longitude]="marker.lng" [title]="marker.title" [iconUrl]="marker.icon"></agm-marker>\r\n </div>\r\n</agm-map>\r\n\r\n',styles:["mat-icon{font-size:30px}.icon-list{padding:5px}.hamburger-icon{position:absolute;left:10px}@media (max-width:600px){.hamburger-icon{position:relative}}.chevron-icon{position:absolute;right:10px}.bottom-icon-set{width:80%;margin:auto}@media (max-width:600px){.bottom-icon-set{margin-left:10px}}agm-map{height:700px}"]}]}],N.ctorParameters=function(){return[{type:u.MatDialog}]},N.propDecorators={mapModel:[{type:l.Input}]},N);function N(t){this.dialog=t,this.mapModel={title:"Default Title",origin:{lat:40.037757,lng:-105.278324},zoom:13,locationList:[],thumbnailUrl:'https://maps.googleapis.com/maps/api/staticmap?center=63.259591,-144.667969&zoom=6&size=400x400\n &markers=color:blue%7Clabel:S%7C62.107733,-145.541936&markers=size:tiny%7Ccolor:green%7CDelta+Junction,AK\n &markers=size:mid%7Ccolor:0xFFFF00%7Clabel:C%7CTok,AK"&key=AIzaSyCvvqYY9pMUpRSKl721rPEiN4KlKIpCImg'}}var U=(D.forRoot=function(){return{ngModule:D,providers:[f]}},D.decorators=[{type:l.NgModule,args:[{declarations:[x,v,A,I],imports:[n.CommonModule,o.FlexLayoutModule,a.BrowserAnimationsModule,r.MatMenuModule,u.MatIconModule,i.AgmCoreModule.forRoot({apiKey:"AIzaSyCvvqYY9pMUpRSKl721rPEiN4KlKIpCImg"}),u.MatIconModule,u.MatSelectModule,u.MatDialogModule,u.MatButtonModule,c.ReactiveFormsModule,u.MatInputModule,u.MatFormFieldModule,s.RouterModule],exports:[x,v,A,I,u.MatIconModule],entryComponents:[x,v,I]}]}],D);function D(){}function S(t){this.title=t.title,this.origin=t.origin,this.zoom=t.zoom,this.locationList=t.locationList,this.thumbnailUrl=t.thumbnailUrl}function F(){}t.UsersStateManagerContext=f,t.UsersState=M,t.HamburgerMenuComponent=v,t.LandingPageComponent=x,t.Constants=b,t.HamburgerMenuModel=C,t.LcuAmblOnModule=U,t.IndividualMap=S,t.MapMarker=F,t.MapComponent=A,t.AddMapMarkerComponent=I,Object.defineProperty(t,"__esModule",{value:!0})});
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@lcu-ide/common"),require("@angular/common"),require("@angular/material/menu"),require("@angular/flex-layout"),require("@angular/platform-browser/animations"),require("@agm/core"),require("@angular/material"),require("@angular/forms"),require("@angular/core"),require("@angular/router")):"function"==typeof define&&define.amd?define("@ambl-on/lcu-ambl-on-common",["exports","@lcu-ide/common","@angular/common","@angular/material/menu","@angular/flex-layout","@angular/platform-browser/animations","@agm/core","@angular/material","@angular/forms","@angular/core","@angular/router"],e):e((t["ambl-on"]=t["ambl-on"]||{},t["ambl-on"]["lcu-ambl-on-common"]={}),t.common,t.ng.common,t.ng.material.menu,t.ng["flex-layout"],t.ng.platformBrowser.animations,t.core,t.ng.material,t.ng.forms,t.ng.core,t.ng.router)}(this,function(t,e,n,r,o,a,i,l,c,u,s){"use strict";var m=function(t,e){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function d(e,i,l,c){return new(l||(l=Promise))(function(t,n){function r(t){try{a(c.next(t))}catch(e){n(e)}}function o(t){try{a(c["throw"](t))}catch(e){n(e)}}function a(e){e.done?t(e.value):new l(function(t){t(e.value)}).then(r,o)}a((c=c.apply(e,i||[])).next())})}function p(r,o){var a,i,l,t,c={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]};return t={next:e(0),"throw":e(1),"return":e(2)},"function"==typeof Symbol&&(t[Symbol.iterator]=function(){return this}),t;function e(e){return function(t){return function n(t){if(a)throw new TypeError("Generator is already executing.");for(;c;)try{if(a=1,i&&(l=2&t[0]?i["return"]:t[0]?i["throw"]||((l=i["return"])&&l.call(i),0):i.next)&&!(l=l.call(i,t[1])).done)return l;switch(i=0,l&&(t=[2&t[0],l.value]),t[0]){case 0:case 1:l=t;break;case 4:return c.label++,{value:t[1],done:!1};case 5:c.label++,i=t[1],t=[0];continue;case 7:t=c.ops.pop(),c.trys.pop();continue;default:if(!(l=0<(l=c.trys).length&&l[l.length-1])&&(6===t[0]||2===t[0])){c=0;continue}if(3===t[0]&&(!l||t[1]>l[0]&&t[1]<l[3])){c.label=t[1];break}if(6===t[0]&&c.label<l[1]){c.label=l[1],l=t;break}if(l&&c.label<l[2]){c.label=l[2],c.ops.push(t);break}l[2]&&c.ops.pop(),c.trys.pop();continue}t=o.call(r,c)}catch(e){t=[6,e],i=0}finally{a=l=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([e,t])}}}var f,g=(function j(t,e){function n(){this.constructor=t}m(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(h,f=e.StateManagerContext),h.prototype.SetActive=function(){},h.prototype.defaultValue=function(){return{Loading:!0}},h.prototype.loadStateKey=function(){return d(this,void 0,void 0,function(){return p(this,function(t){return[2,"main"]})})},h.prototype.loadStateName=function(){return d(this,void 0,void 0,function(){return p(this,function(t){return[2,"users "]})})},h.decorators=[{type:u.Injectable,args:[{providedIn:"root"}]}],h.ctorParameters=function(){return[{type:u.Injector}]},h.ngInjectableDef=u.defineInjectable({factory:function(){return new h(u.inject(u.INJECTOR))},token:h,providedIn:"root"}),h);function h(t){var e=f.call(this,t)||this;return e.injector=t,e}function b(){}var M=(y.VAR_NAMES_MENU=[{Label:"My Atlas",Icon:"public",Url:"/map",Disabled:"false"},{Label:"My Itenerarries",Icon:"map",Url:"www",Disabled:"true"},{Label:"My Top Lists",Icon:"sort",Url:"www",Disabled:"true"},{Label:"My Albums",Icon:"photo_library",Url:"www",Disabled:"true"},{Label:"My Friends",Icon:"group",Url:"www",Disabled:"true"},{Label:"My Profile",Icon:"person",Url:"www",Disabled:"true"}],y);function y(){}var v=(w.prototype.ngOnInit=function(){this.MenuItems=M.VAR_NAMES_MENU},w.decorators=[{type:u.Component,args:[{selector:"lcu-hamburger-menu",template:'<nav class="hamburger-nav">\r\n <button class="hamburger-menu" mat-icon-button [matMenuTriggerFor]="menu">\r\n <mat-icon>menu</mat-icon>\r\n </button>\r\n \x3c!-- Builds the hamburger menu from the item in the constants.ts file--\x3e\r\n <mat-menu #menu="matMenu">\r\n <button class="item-button" mat-menu-item *ngFor= "let item of MenuItems" [disabled]= item.Disabled routerLink={{item.Url}}>\r\n <mat-icon>{{ item.Icon }}</mat-icon>\r\n <span>{{ item.Label }}</span>\r\n </button>\r\n </mat-menu>\r\n</nav>',styles:[".hamburger-menu{background-color:transparent;border-width:0;outline:0}"]}]}],w);function w(){}var x=(I.prototype.ngOnInit=function(){},I.decorators=[{type:u.Component,args:[{selector:"lcu-landing-page",template:' <div class="container" fxFlex="100%"\r\n fxLayout="column" fxLayoutAlign="center start"\r\n fxLayout.sm="column" fxLayoutAlign.sm="center center"\r\n fxLayout.xs="column" fxLayoutAlign.xs="center center">\r\n <div class="title">\r\n <h1>\r\n {{ Title }}\r\n </h1>\r\n </div>\r\n <div class="slogan">\r\n <h3>\r\n {{ Slogan }}\r\n </h3>\r\n </div>\r\n </div>\r\n',styles:[".container{margin-top:19em;margin-left:1em;text-align:center}.container h1{margin:0}.container .slogan,.container .title{color:#fff}"]}]}],I.ctorParameters=function(){return[]},I);function I(){this.Title="Ambl On",this.Slogan="Down the Road, Around the World!"}function k(t,e,n,r){this.Label=t,this.Icon=e,this.Url=n,this.Disabled=r}var C=(L.prototype.ConvertIconUrl=function(t){return{url:"./assets/"+t+".png",scaledSize:{width:40,height:60}}},L.decorators=[{type:u.Injectable,args:[{providedIn:"root"}]}],L.ctorParameters=function(){return[]},L.ngInjectableDef=u.defineInjectable({factory:function(){return new L},token:L,providedIn:"root"}),L);function L(){}var N=(A.prototype.ngOnInit=function(){this.NewMarkerForm=new c.FormGroup({title:new c.FormControl("",{validators:[c.Validators.required]}),icon:new c.FormControl("",{validators:[c.Validators.required]})}),this.NewMarker={title:"",icon:null,lat:40,lng:-100},this.IconList=["bar","brewery","golf course","lodging","museum","national park","restaurant","ski area","UNESCO","vineyard"]},A.prototype.SetMarkerData=function(){this.NewMarker.title=this.NewMarkerForm.value.title,this.NewMarker.icon=this.NewMarkerForm.value.icon,this.NewMarker.lat=this.passedData.lat,this.NewMarker.lng=this.passedData.lng,this.NewMarker.icon=this.mapService.ConvertIconUrl(this.NewMarker.icon)},A.decorators=[{type:u.Component,args:[{selector:"lcu-add-map-marker",template:'<h1 mat-dialog-title>Add a marker here?</h1>\r\n\r\n\r\n<mat-dialog-content>\r\n <form fxLayout="column" fxLayoutAlign="center center" [formGroup]="NewMarkerForm" fxLayoutGap="30px">\r\n <h4>Marker Title:</h4>\r\n <mat-form-field>\r\n <input type="text" matInput formControlName="title">\r\n <mat-hint>The title for the map marker</mat-hint>\r\n <mat-error>Invalid or missing title</mat-error>\r\n </mat-form-field>\r\n\r\n <h4>Choose Icon:</h4>\r\n <mat-form-field>\r\n <mat-label>Icon</mat-label>\r\n <mat-select formControlName="icon">\r\n <mat-option *ngFor="let icon of IconList" [value]="icon">{{icon}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n </form>\r\n</mat-dialog-content>\r\n\r\n\r\n<button mat-raised-button color="primary" [mat-dialog-close]="NewMarker" (click)="SetMarkerData()"\r\n [disabled]="NewMarkerForm.invalid">Add Marker</button>\r\n<button mat-raised-button color="accent" [mat-dialog-close]="false">Cancel</button>',styles:[""]}]}],A.ctorParameters=function(){return[{type:undefined,decorators:[{type:u.Inject,args:[l.MAT_DIALOG_DATA]}]},{type:C}]},A);function A(t,e){this.passedData=t,this.mapService=e}var S=(D.prototype.ngOnInit=function(){var e=this;this.CurrentMapModel=this.mapModel,this.CurrentMapModel.locationList.forEach(function(t){t.icon=e.mapService.ConvertIconUrl(t.icon)})},D.prototype.OnChoseLocation=function(t){var e=this;this.dialog.open(N,{data:{lat:t.coords.lat,lng:t.coords.lng}}).afterClosed().subscribe(function(t){t&&e.CurrentMapModel.locationList.push(t)})},D.decorators=[{type:u.Component,args:[{selector:"lcu-map",template:'<div class="icon-list">\r\n <div>\r\n <div class="top-icon-set">\r\n <mat-icon class="hamburger-icon">menu</mat-icon>\r\n <mat-icon class="chevron-icon">chevron_left</mat-icon>\r\n </div>\r\n <div class="bottom-icon-set" fxLayoutAlign.lt-sm="flex-start" fxLayoutAlign="space-around" fxLayoutGap.lt-sm="50px">\r\n <mat-icon>search</mat-icon>\r\n <mat-icon >add</mat-icon>\r\n <mat-icon>layers</mat-icon>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<agm-map [latitude]="CurrentMapModel.origin.lat" [longitude]="CurrentMapModel.origin.lng" [title]="CurrentMapModel.title" [zoom]="CurrentMapModel.zoom"\r\n (mapClick)="OnChoseLocation($event)">\r\n <div *ngFor="let marker of CurrentMapModel.locationList">\r\n <agm-marker [latitude]="marker.lat" [longitude]="marker.lng" [title]="marker.title" [iconUrl]="marker.icon"></agm-marker>\r\n </div>\r\n</agm-map>\r\n\r\n',styles:["mat-icon{font-size:30px}.icon-list{padding:5px}.hamburger-icon{position:absolute;left:10px}@media (max-width:600px){.hamburger-icon{position:relative}}.chevron-icon{position:absolute;right:10px}.bottom-icon-set{width:80%;margin:auto}@media (max-width:600px){.bottom-icon-set{margin-left:10px}}agm-map{height:700px}"]}]}],D.ctorParameters=function(){return[{type:l.MatDialog},{type:C}]},D.propDecorators={mapModel:[{type:u.Input}]},D);function D(t,e){this.dialog=t,this.mapService=e,this.mapModel={title:"Default Map",origin:{lat:40.037757,lng:-105.278324},zoom:13,locationList:[{title:"Favorite steak house",lat:40.017557,lng:-105.278199,icon:"restaurant"},{title:"Favorite UNESCO",lat:40.027657,lng:-105.288199,icon:"UNESCO"},{title:"Nice museum",lat:40.037757,lng:-105.298199,icon:"museum"},{title:"Good brewery",lat:40.047857,lng:-105.268199,icon:"brewery"},{title:"Favorite ski area",lat:40.057557,lng:-105.288199,icon:"ski area"},{title:"Favorite vineyard",lat:40.060657,lng:-105.298199,icon:"vineyard"},{title:"Nice golf course",lat:40.037757,lng:-105.258199,icon:"golf course"},{title:"Good lodging",lat:40.037757,lng:-105.278199,icon:"lodging"},{title:"Nice national park",lat:40.060657,lng:-105.278199,icon:"national park"},{title:"Good bar",lat:40.017557,lng:-105.288199,icon:"bar"}]}}var F=(U.forRoot=function(){return{ngModule:U,providers:[g]}},U.decorators=[{type:u.NgModule,args:[{declarations:[x,v,S,N],imports:[n.CommonModule,o.FlexLayoutModule,a.BrowserAnimationsModule,r.MatMenuModule,l.MatIconModule,i.AgmCoreModule.forRoot({apiKey:"AIzaSyCvvqYY9pMUpRSKl721rPEiN4KlKIpCImg"}),l.MatIconModule,l.MatSelectModule,l.MatDialogModule,l.MatButtonModule,c.ReactiveFormsModule,l.MatInputModule,l.MatFormFieldModule,s.RouterModule],exports:[x,v,S,N,l.MatIconModule],entryComponents:[x,v,N]}]}],U);function U(){}function O(t){this.title=t.title,this.origin=t.origin,this.zoom=t.zoom,this.locationList=t.locationList}function _(t){this.title=t.title,this.icon=t.icon,this.lat=t.lat,this.lng=t.lng}t.UsersStateManagerContext=g,t.UsersState=b,t.HamburgerMenuComponent=v,t.LandingPageComponent=x,t.Constants=M,t.HamburgerMenuModel=k,t.LcuAmblOnModule=F,t.IndividualMap=O,t.MapMarker=_,t.MapComponent=S,t.AddMapMarkerComponent=N,t.ɵa=C,Object.defineProperty(t,"__esModule",{value:!0})});
//# sourceMappingURL=ambl-on-lcu-ambl-on-common.umd.min.js.map

@@ -9,2 +9,3 @@ /**

export { UsersStateManagerContext, UsersState, HamburgerMenuComponent, LandingPageComponent, Constants, HamburgerMenuModel, LcuAmblOnModule, IndividualMap, MapMarker, MapComponent, AddMapMarkerComponent } from './lcu.api';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW1ibC1vbi1sY3UtYW1ibC1vbi1jb21tb24uanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYW1ibC1vbi9sY3UtYW1ibC1vbi1jb21tb24vIiwic291cmNlcyI6WyJhbWJsLW9uLWxjdS1hbWJsLW9uLWNvbW1vbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsa05BQWMsV0FBVyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2xjdS5hcGknO1xuIl19
export { MapService as ɵa } from './lib/services/map.service';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW1ibC1vbi1sY3UtYW1ibC1vbi1jb21tb24uanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYW1ibC1vbi9sY3UtYW1ibC1vbi1jb21tb24vIiwic291cmNlcyI6WyJhbWJsLW9uLWxjdS1hbWJsLW9uLWNvbW1vbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsa05BQWMsV0FBVyxDQUFDO0FBRTFCLE9BQU8sRUFBQyxVQUFVLElBQUksRUFBRSxFQUFDLE1BQU0sNEJBQTRCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vbGN1LmFwaSc7XG5cbmV4cG9ydCB7TWFwU2VydmljZSBhcyDJtWF9IGZyb20gJy4vbGliL3NlcnZpY2VzL21hcC5zZXJ2aWNlJzsiXX0=

@@ -18,4 +18,4 @@ /**

selector: 'lcu-hamburger-menu',
template: "<!-- <nav class=\"hamburger-nav\"> -->\r\n <button class=\"hamburger-menu\" mat-icon-button [matMenuTriggerFor]=\"menu\">\r\n <mat-icon [inline]=\"true\">menu</mat-icon>\r\n </button>\r\n <!-- Builds the hamburger menu from the item in the constants.ts file-->\r\n <mat-menu #menu=\"matMenu\">\r\n <button class=\"item-button\" mat-menu-item *ngFor= \"let item of MenuItems\" [disabled]= item.Disabled routerLink={{item.Url}}>\r\n <mat-icon>{{ item.Icon }}</mat-icon>\r\n <span>{{ item.Label }}</span>\r\n </button>\r\n </mat-menu>\r\n<!-- </nav> -->",
styles: [".hamburger-menu{background-color:transparent;border-width:0;outline:0;font-size:30px}"]
template: "<nav class=\"hamburger-nav\">\r\n <button class=\"hamburger-menu\" mat-icon-button [matMenuTriggerFor]=\"menu\">\r\n <mat-icon>menu</mat-icon>\r\n </button>\r\n <!-- Builds the hamburger menu from the item in the constants.ts file-->\r\n <mat-menu #menu=\"matMenu\">\r\n <button class=\"item-button\" mat-menu-item *ngFor= \"let item of MenuItems\" [disabled]= item.Disabled routerLink={{item.Url}}>\r\n <mat-icon>{{ item.Icon }}</mat-icon>\r\n <span>{{ item.Label }}</span>\r\n </button>\r\n </mat-menu>\r\n</nav>",
styles: [".hamburger-menu{background-color:transparent;border-width:0;outline:0}"]
}] }

@@ -27,2 +27,2 @@ ];

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGFtYnVyZ2VyLW1lbnUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFtYmwtb24vbGN1LWFtYmwtb24tY29tbW9uLyIsInNvdXJjZXMiOlsibGliL2NvbnRyb2xzL2hhbWJ1cmdlci1tZW51L2hhbWJ1cmdlci1tZW51LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBaUIsTUFBTSxlQUF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FueTtcclxuLy8gICBASW5wdXQoKVxyXG4vLyBzZXQgTWVudUl0ZW1zKHZhbDogYW55KSB7XHJcbi8vICBpZiAoIXZhbCkge1xyXG4vLyAgICByZXR1cm47XHJcbi8vICB9XHJcblxyXG4vLyAgdGhpcy5fbWVudUl0ZW1zID0gdmFsO1xyXG5cclxuLy8gIC8vIHdoZW4gdGhpbmdzIGFyZSBpbml0aWFsaXplZFxyXG4gXHJcbi8vIH1cclxuXHJcbi8vIGdldCBDb25maWcoKTogYW55IHtcclxuXHJcbi8vICBpZiAoIXRoaXMuX21lbnVJdGVtcykge1xyXG4vLyAgICByZXR1cm47XHJcbi8vICB9XHJcbi8vICByZXR1cm4gdGhpcy5fbWVudUl0ZW1zO1xyXG4vLyB9XHJcbi8vICAgLy8gcHVibGljIE1lbnVJdGVtczogQXJyYXk8SGFtYnVyZ2VyTWVudU1vZGVsPjtcclxuLy8gICBjb25zdHJ1Y3RvcigpIHsgfVxyXG5cclxuIFxyXG4iXX0=

@@ -20,4 +20,4 @@ /**

selector: 'lcu-landing-page',
template: " <div class=\"landing-page-image\">\r\n <div class=\"container\" fxFlex=\"100%\"\r\n fxLayout=\"column\" fxLayoutAlign=\"center start\"\r\n fxLayout.sm=\"column\" fxLayoutAlign.sm=\"center center\"\r\n fxLayout.xs=\"column\" fxLayoutAlign.xs=\"center center\">\r\n <div class=\"title\">\r\n <h1>\r\n {{ Title }}\r\n </h1>\r\n </div>\r\n <div class=\"slogan\">\r\n <h3>\r\n {{ Slogan }}\r\n </h3>\r\n </div>\r\n </div>\r\n</div>",
styles: [".landing-page-image{background:url(../assets/Angkor-sunrise.jpg) center center/cover no-repeat fixed;height:100vh}.landing-page-image .container{margin-top:14em;margin-left:1em;text-align:center}.landing-page-image .container h1{margin:0}.landing-page-image .container .slogan,.landing-page-image .container .title{color:#fff}"]
template: " <div class=\"container\" fxFlex=\"100%\"\r\n fxLayout=\"column\" fxLayoutAlign=\"center start\"\r\n fxLayout.sm=\"column\" fxLayoutAlign.sm=\"center center\"\r\n fxLayout.xs=\"column\" fxLayoutAlign.xs=\"center center\">\r\n <div class=\"title\">\r\n <h1>\r\n {{ Title }}\r\n </h1>\r\n </div>\r\n <div class=\"slogan\">\r\n <h3>\r\n {{ Slogan }}\r\n </h3>\r\n </div>\r\n </div>\r\n",
styles: [".container{margin-top:19em;margin-left:1em;text-align:center}.container h1{margin:0}.container .slogan,.container .title{color:#fff}"]
}] }

@@ -33,2 +33,2 @@ ];

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGFuZGluZy1wYWdlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhbWJsLW9uL2xjdS1hbWJsLW9uLWNvbW1vbi8iLCJzb3VyY2VzIjpbImxpYi9jb250cm9scy9sYW5kaW5nLXBhZ2UvbGFuZGluZy1wYWdlLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxNQUFNLGVBQWUsQ0FBQztBQU9sRCxNQUFNLE9BQU8sb0JBQW9CO0lBSS9CO1FBSE8sVUFBSyxHQUFXLFNBQVMsQ0FBQztRQUMxQixXQUFNLEdBQVcsa0NBQWtDLENBQUM7SUFFM0MsQ0FBQzs7OztJQUVqQixRQUFRO0lBQ1IsQ0FBQzs7O1lBWkYsU0FBUyxTQUFDO2dCQUNULFFBQVEsRUFBRSxrQkFBa0I7Z0JBQzVCLGloQkFBNEM7O2FBRTdDOzs7Ozs7SUFFQyxxQ0FBaUM7O0lBQ2pDLHNDQUEyRCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCwgT25Jbml0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcblxyXG5AQ29tcG9uZW50KHtcclxuICBzZWxlY3RvcjogJ2xjdS1sYW5kaW5nLXBhZ2UnLFxyXG4gIHRlbXBsYXRlVXJsOi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iaW1wb3J0IHsgQ29tcG9uZW50LCBPbkluaXQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuXHJcbkBDb21wb25lbnQoe1xyXG4gIHNlbGVjdG9yOiAnbGN1LWxhbmRpbmctcGFnZScsXHJcbiAgdGVtcGxhdGVVcmw6ICcuL2xhbmRpbmctcGFnZS5jb21wb25lbnQuaHRtbCcsXHJcbiAgc3R5bGVVcmxzOiBbJy4vbGFuZGluZy1wYWdlLmNvbXBvbmVudC5zY3NzJ11cclxufSlcclxuZXhwb3J0IGNsYXNzIExhbmRpbmdQYWdlQ29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcclxuICBwdWJsaWMgVGl0bGU6IHN0cmluZyA9ICdBbWJsIE9uJztcclxuICBwdWJsaWMgU2xvZ2FuOiBzdHJpbmcgPSAnRG93biB0aGUgUm9hZCwgQXJvdW5kIHRoZSBXb3JsZCEnO1xyXG5cclxuICBjb25zdHJ1Y3RvcigpIHsgfVxyXG5cclxuICBuZ09uSW5pdCgpIHtcclxuICB9XHJcblxyXG59XHJcbiJdfQ==

@@ -8,2 +8,3 @@ /**

import { FormGroup, FormControl, Validators } from '@angular/forms';
import { MapService } from '../../../services/map.service';
export class AddMapMarkerComponent {

@@ -14,5 +15,7 @@ // PROPERTIES

* @param {?} passedData
* @param {?} mapService
*/
constructor(passedData) {
constructor(passedData, mapService) {
this.passedData = passedData;
this.mapService = mapService;
}

@@ -47,23 +50,4 @@ // LIFE CYCLE

this.NewMarker.lng = this.passedData.lng;
this.NewMarker.icon = this.convertIconUrl(this.NewMarker.icon);
console.log(this.NewMarker.icon);
this.NewMarker.icon = this.mapService.ConvertIconUrl(this.NewMarker.icon);
}
// HELPERS
/**
*
* @private
* @param {?} icon The icon to be converted to a path
*
* Converts icon to path for use in displaying custom icon as map location marker
* Best to find a more abstract way of doing this for re-usability (service?)
* @return {?}
*/
convertIconUrl(icon) {
// later - turn this into service because it's also being done in map.component.ts
/** @type {?} */
let orig = icon;
/** @type {?} */
let iconUrl = `./assets/${orig}.png`;
return { url: iconUrl, scaledSize: { width: 40, height: 60 } };
}
}

@@ -79,3 +63,4 @@ AddMapMarkerComponent.decorators = [

AddMapMarkerComponent.ctorParameters = () => [
{ type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] }
{ type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] },
{ type: MapService }
];

@@ -100,3 +85,8 @@ if (false) {

AddMapMarkerComponent.prototype.passedData;
/**
* @type {?}
* @private
*/
AddMapMarkerComponent.prototype.mapService;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRkLW1hcC1tYXJrZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFtYmwtb24vbGN1LWFtYmwtb24tY29tbW9uLyIsInNvdXJjZXMiOlsibGliL2NvbnRyb2xzL21hcC9hZGQtbWFwLW1hcmtlci9hZGQtbWFwLW1hcmtlci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFELE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUNwRCxPQUFPLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxVQUFVLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQVFwRSxNQUFNLE9BQU8scUJBQXFCOzs7Ozs7SUFxQmhDLFlBQTRDLFVBQWU7UUFBZixlQUFVLEdBQVYsVUFBVSxDQUFLO0lBQUksQ0FBQzs7Ozs7SUFHaEUsUUFBUTtRQUNOLElBQUksQ0FBQyxhQUFhLEdBQUcsSUFBSSxTQUFTLENBQUM7WUFDakMsS0FBSyxFQUFFLElBQUksV0FBVyxDQUFDLEVBQUUsRUFBRSxFQUFFLFVBQVUsRUFBR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aXMuTmV3TWFya2VyLmljb24gPSB0aGlzLmNvbnZlcnRJY29uVXJsKHRoaXMuTmV3TWFya2VyLmljb24pO1xyXG4gICAgY29uc29sZS5sb2codGhpcy5OZXdNYXJrZXIuaWNvbik7XHJcbiAgfVxyXG4gIC8vIEhFTFBFUlNcclxuXHJcbiAgLyoqXHJcbiAgICogXHJcbiAgICogQHBhcmFtIGljb24gVGhlIGljb24gdG8gYmUgY29udmVydGVkIHRvIGEgcGF0aFxyXG4gICAqIFxyXG4gICAqIENvbnZlcnRzIGljb24gdG8gcGF0aCBmb3IgdXNlIGluIGRpc3BsYXlpbmcgY3VzdG9tIGljb24gYXMgbWFwIGxvY2F0aW9uIG1hcmtlclxyXG4gICAqIEJlc3QgdG8gZmluZCBhIG1vcmUgYWJzdHJhY3Qgd2F5IG9mIGRvaW5nIHRoaXMgZm9yIHJlLXVzYWJpbGl0eSAoc2VydmljZT8pXHJcbiAgICovXHJcbiAgcHJpdmF0ZSBjb252ZXJ0SWNvblVybChpY29uKTogT2JqZWN0IHtcclxuICAgIC8vIGxhdGVyIC0gdHVybiB0aGlzIGludG8gc2VydmljZSBiZWNhdXNlIGl0J3MgYWxzbyBiZWluZyBkb25lIGluIG1hcC5jb21wb25lbnQudHNcclxuICAgIGxldCBvcmlnID0gaWNvbjtcclxuICAgIGxldCBpY29uVXJsID0gYC4vYXNzZXRzLyR7b3JpZ30ucG5nYDtcclxuICAgIHJldHVybiB7IHVybDogaWNvblVybCwgc2NhbGVkU2l6ZTogeyB3aWR0aDogNDAsIGhlaWdodDogNjAgfSB9O1xyXG4gIH1cclxufVxyXG4iXX0=
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRkLW1hcC1tYXJrZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFtYmwtb24vbGN1LWFtYmwtb24tY29tbW9uLyIsInNvdXJjZXMiOlsibGliL2NvbnRyb2xzL21hcC9hZGQtbWFw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xyXG4gIFxyXG4gIC8vIEFQSSBNRVRIT0RTXHJcblxyXG4gIC8qKlxyXG4gICAqIENvbnZlcnRzIGRhdGEgZnJvbSB0aGUgZm9ybSB0byBhbiBpY29uIHRvIGJlIHBsYWNlZCBvbiB0aGUgbWFwXHJcbiAgICovXHJcbiAgcHVibGljIFNldE1hcmtlckRhdGEoKTogdm9pZCB7XHJcbiAgICB0aGlzLk5ld01hcmtlci50aXRsZSA9IHRoaXMuTmV3TWFya2VyRm9ybS52YWx1ZS50aXRsZTtcclxuICAgIHRoaXMuTmV3TWFya2VyLmljb24gPSB0aGlzLk5ld01hcmtlckZvcm0udmFsdWUuaWNvbjtcclxuICAgIHRoaXMuTmV3TWFya2VyLmxhdCA9IHRoaXMucGFzc2VkRGF0YS5sYXQ7XHJcbiAgICB0aGlzLk5ld01hcmtlci5sbmcgPSB0aGlzLnBhc3NlZERhdGEubG5nO1xyXG4gICAgdGhpcy5OZXdNYXJrZXIuaWNvbiA9IHRoaXMubWFwU2VydmljZS5Db252ZXJ0SWNvblVybCh0aGlzLk5ld01hcmtlci5pY29uKTtcclxuICB9XHJcbiAgLy8gSEVMUEVSU1xyXG59XHJcbiJdfQ==

@@ -9,2 +9,3 @@ /**

import { AddMapMarkerComponent } from './add-map-marker/add-map-marker.component';
import { MapService } from '../../services/map.service';
export class MapComponent {

@@ -14,5 +15,7 @@ // CONSTRUCTORS

* @param {?} dialog
* @param {?} mapService
*/
constructor(dialog) {
constructor(dialog, mapService) {
this.dialog = dialog;
this.mapService = mapService;
// PROPERTIES

@@ -23,9 +26,17 @@ /**

this.mapModel = {
title: 'Default Title',
title: 'Default Map',
origin: { lat: 40.037757, lng: -105.278324 },
zoom: 13,
locationList: [],
thumbnailUrl: `https://maps.googleapis.com/maps/api/staticmap?center=63.259591,-144.667969&zoom=6&size=400x400
&markers=color:blue%7Clabel:S%7C62.107733,-145.541936&markers=size:tiny%7Ccolor:green%7CDelta+Junction,AK
&markers=size:mid%7Ccolor:0xFFFF00%7Clabel:C%7CTok,AK"&key=AIzaSyCvvqYY9pMUpRSKl721rPEiN4KlKIpCImg`
locationList: [
{ title: 'Favorite steak house', lat: 40.017557, lng: -105.278199, icon: 'restaurant' },
{ title: 'Favorite UNESCO', lat: 40.027657, lng: -105.288199, icon: 'UNESCO' },
{ title: 'Nice museum', lat: 40.037757, lng: -105.298199, icon: 'museum' },
{ title: 'Good brewery', lat: 40.047857, lng: -105.268199, icon: 'brewery' },
{ title: 'Favorite ski area', lat: 40.057557, lng: -105.288199, icon: 'ski area' },
{ title: 'Favorite vineyard', lat: 40.060657, lng: -105.298199, icon: 'vineyard' },
{ title: 'Nice golf course', lat: 40.037757, lng: -105.258199, icon: 'golf course' },
{ title: 'Good lodging', lat: 40.037757, lng: -105.278199, icon: 'lodging' },
{ title: 'Nice national park', lat: 40.060657, lng: -105.278199, icon: 'national park' },
{ title: 'Good bar', lat: 40.017557, lng: -105.288199, icon: 'bar' }
]
};

@@ -39,3 +50,10 @@ }

this.CurrentMapModel = this.mapModel;
this.CurrentMapModel.locationList = this.convertMarkerUrls(this.CurrentMapModel.locationList);
this.CurrentMapModel.locationList.forEach((/**
* @param {?} loc
* @return {?}
*/
loc => {
loc.icon = this.mapService.ConvertIconUrl(loc.icon);
}));
// this.CurrentMapModel.locationList = this.convertMarkerUrls(this.CurrentMapModel.locationList);
}

@@ -68,26 +86,2 @@ // API METHODS

}
// HELPERS
/**
*
* @private
* @param {?} list The list of icons to convert to paths
*
* Converts list of icons to paths for use in displaying custom icons as map location markers
* Best to find a more abstract way of doing this for re-usability (service?)
* @return {?}
*/
convertMarkerUrls(list) {
list.forEach((/**
* @param {?} element
* @return {?}
*/
element => {
/** @type {?} */
let icon = element.icon;
/** @type {?} */
let iconUrl = `./assets/${icon}.png`;
element.icon = { url: iconUrl, scaledSize: { width: 40, height: 60 } };
}));
return list;
}
}

@@ -103,3 +97,4 @@ MapComponent.decorators = [

MapComponent.ctorParameters = () => [
{ type: MatDialog }
{ type: MatDialog },
{ type: MapService }
];

@@ -125,3 +120,8 @@ MapComponent.propDecorators = {

MapComponent.prototype.dialog;
/**
* @type {?}
* @private
*/
MapComponent.prototype.mapService;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFwLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhbWJsLW9uL2xjdS1hbWJsLW9uLWNvbW1vbi8iLCJzb3VyY2VzIjpbImxpYi9jb250cm9scy9tYXAvbWFwLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekQsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLG1DQUFtQyxDQUFDO0FBRWxFLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUM5QyxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSwyQ0FBMkMsQ0FBQztBQU9sRixNQUFNLE9BQU8sWUFBWTs7Ozs7SUF5QnZCLFlBQW9CLE1BQWlCO1FBQWpCLFdBQU0sR0FBTixNQUFNLENBQVc7Ozs7O1FBWDVCLGFBQVEsR0FBbUI7WUFDaEMsS0FBSyxFQUFFLGVBQWU7WUFDdEIsTUFBTSxFQUFFLEVBQUUsR0FBRyxFQUFFLFNBQVMsRUFBRSxHQUFHLEVBQUUsQ0FBQyxVQUFVLEVBQUU7WUFDNUMsSUFBSSxFQUFFLEVBQUU7WUFDUixZQUFZLEVBQUUsRUFBRTtZQUNoQixZQUFZLEVBQUU7O3lHQUVxRjtTQUNwRyxDQUFDO0lBR3FDLENBQUM7Ozs7O0lBRzFDLFFBQVE7UUFDTixJQUFJLENBQUMsZUFBZSxHQUFHLElBQUksQ0FBQyxRQUFRLENBQUM7UUFDckMsSUFBSSxDQUFDLGVBQWUsQ0FBQyxZQUF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saWNrcyBsb2NhdGlvbiBvbiBtYXAuIE1vZGFsIGRpc3BsYXlzIHByb21wdGluZyB1c2VyIHRvIGVudGVyIGluZm8gYWJvdXQgY3VzdG9tIGxvY2F0aW9uIG1hcmtlclxyXG4gICAqL1xyXG4gIHB1YmxpYyBPbkNob3NlTG9jYXRpb24oZXZlbnQpOiB2b2lkIHtcclxuICAgIGNvbnN0IGRpYWxvZ1JlZiA9IHRoaXMuZGlhbG9nLm9wZW4oQWRkTWFwTWFya2VyQ29tcG9uZW50LCB7XHJcbiAgICAgIGRhdGE6IHtcclxuICAgICAgICBsYXQ6IGV2ZW50LmNvb3Jkcy5sYXQsXHJcbiAgICAgICAgbG5nOiBldmVudC5jb29yZHMubG5nXHJcbiAgICAgIH1cclxuICAgIH0pO1xyXG4gICAgZGlhbG9nUmVmLmFmdGVyQ2xvc2VkKCkuc3Vic2NyaWJlKHJlcyA9PiB7XHJcbiAgICAgIGlmIChyZXMpIHtcclxuICAgICAgICB0aGlzLkN1cnJlbnRNYXBNb2RlbC5sb2NhdGlvbkxpc3QucHVzaChyZXMpO1xyXG4gICAgICB9XHJcbiAgICB9KTtcclxuICB9XHJcbiAgLy8gSEVMUEVSU1xyXG59XHJcbiJdfQ==

@@ -7,3 +7,4 @@ /**

/**
* @param {?} mapInfo
*
* @param {?} mapInfo The object containing the necessary data for displaying a map (<agm-map>)
*/

@@ -15,3 +16,2 @@ constructor(mapInfo) {

this.locationList = mapInfo.locationList;
this.thumbnailUrl = mapInfo.thumbnailUrl;
}

@@ -40,10 +40,3 @@ }

IndividualMap.prototype.locationList;
/**
* The url to the google maps static api image
*
* Move thumbnail out of indiv map model and make a function to generate it in higher component
* @type {?}
*/
IndividualMap.prototype.thumbnailUrl;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kaXZpZHVhbC1tYXAubW9kZWwuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYW1ibC1vbi9sY3UtYW1ibC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cnRpbmcgem9vbSBsZXZlbCBvZiB0aGUgbWFwXHJcbiAgICAgKi9cclxuICAgIHpvb206IG51bWJlcjtcclxuXHJcbiAgICAvKipcclxuICAgICAqIFRoZSBhcnJheSBvZiBtYXAgbWFya2VycyB0aGF0IGFyZSBpbmNsdWRlZCBpbiB0aGUgbWFwXHJcbiAgICAgKi9cclxuICAgIGxvY2F0aW9uTGlzdDogTWFwTWFya2VyW107XHJcblxyXG4gICAgLyoqXHJcbiAgICAgKiBcclxuICAgICAqIEBwYXJhbSBtYXBJbmZvIFRoZSBvYmplY3QgY29udGFpbmluZyB0aGUgbmVjZXNzYXJ5IGRhdGEgZm9yIGRpc3BsYXlpbmcgYSBtYXAgKDxhZ20tbWFwPilcclxuICAgICAqL1xyXG4gICAgY29uc3RydWN0b3IobWFwSW5mbzogSW5kaXZpZHVhbE1hcCkge1xyXG4gICAgICAgIHRoaXMudGl0bGUgPSBtYXBJbmZvLnRpdGxlO1xyXG4gICAgICAgIHRoaXMub3JpZ2luID0gbWFwSW5mby5vcmlnaW47XHJcbiAgICAgICAgdGhpcy56b29tID0gbWFwSW5mby56b29tO1xyXG4gICAgICAgIHRoaXMubG9jYXRpb25MaXN0ID0gbWFwSW5mby5sb2NhdGlvbkxpc3Q7XHJcbiAgICB9XHJcbn0iXX0=

@@ -6,2 +6,12 @@ /**

export class MapMarker {
/**
*
* @param {?} icon The object containing data for a single point (a map marker) on a map (<agm-map>)
*/
constructor(icon) {
this.title = icon.title;
this.icon = icon.icon;
this.lat = icon.lat;
this.lng = icon.lng;
}
}

@@ -30,2 +40,2 @@ if (false) {

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFwLW1hcmtlci5tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhbWJsLW9uL2xjdS1hbWJsLW9uLWNvbW1vbi8iLCJzb3VyY2VzIjpbImxpYi9Nb2RlbHMvbWFwLW1hcmtlci5tb2RlbC50cyJdLC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vbmFsIHBhcmsnIHxcclxuICAgICdyZXN0YXVyYW50JyB8XHJcbiAgICAnc2tpIGFyZWEnIHxcclxuICAgICdVTkVTQ08nIHxcclxuICAgICd2aW5leWFyZCcgfFxyXG4gICAgbnVsbCB8IFxyXG4gICAge307XHJcblxyXG4gICAgLyoqXHJcbiAgICAgKiBUaGUgbGF0aXR1ZGUgb2YgdGhlIG1hcCBtYXJrZXJcclxuICAgICAqL1xyXG4gICAgbGF0OiBudW1iZXI7XHJcblxyXG4gICAgLyoqXHJcbiAgICAgKiBUaGUgbG9uZ2l0dWRlIG9mIHRoZSBtYXAgbWFya2VyXHJcbiAgICAgKi9cclxuICAgIGxuZzogbnVtYmVyO1xyXG5cclxuICAgIC8qKlxyXG4gICAgICogXHJcbiAgICAgKiBAcGFyYW0gaWNvbiBUaGUgb2JqZWN0IGNvbnRhaW5pbmcgZGF0YSBmb3IgYSBzaW5nbGUgcG9pbnQgKGEgbWFwIG1hcmtlcikgb24gYSBtYXAgKDxhZ20tbWFwPilcclxuICAgICAqL1xyXG4gICAgY29uc3RydWN0b3IoaWNvbjogTWFwTWFya2VyKSB7XHJcbiAgICAgICAgdGhpcy50aXRsZSA9IGljb24udGl0bGU7XHJcbiAgICAgICAgdGhpcy5pY29uID0gaWNvbi5pY29uO1xyXG4gICAgICAgIHRoaXMubGF0ID0gaWNvbi5sYXQ7XHJcbiAgICAgICAgdGhpcy5sbmcgPSBpY29uLmxuZztcclxuICAgIH1cclxufSJdfQ==

@@ -14,3 +14,2 @@ /**

Constants.VAR_NAMES_MENU = [
{ Label: 'Home', Icon: 'home', Url: '/home', Disabled: 'false' },
{ Label: 'My Atlas', Icon: 'public', Url: '/map', Disabled: 'false' },

@@ -27,2 +26,2 @@ { Label: 'My Itenerarries', Icon: 'map', Url: 'www', Disabled: 'true' },

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uc3RhbnRzLmpzIiwic291cmNlUm9vdCI6Im5nOi8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JywgVXJsOid3d3cnLCBEaXNhYmxlZDondHJ1ZSd9LFxyXG4gICAgICAgIHtMYWJlbDogJ015IFByb2ZpbGUnLCBJY29uOiAncGVyc29uJywgVXJsOid3d3cnLCBEaXNhYmxlZDondHJ1ZSd9XTtcclxufSJdfQ==

@@ -9,2 +9,3 @@ /**

export { UsersStateManagerContext, UsersState, HamburgerMenuComponent, LandingPageComponent, Constants, HamburgerMenuModel, LcuAmblOnModule, IndividualMap, MapMarker, MapComponent, AddMapMarkerComponent } from './lcu.api';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW1ibC1vbi1sY3UtYW1ibC1vbi1jb21tb24uanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYW1ibC1vbi9sY3UtYW1ibC1vbi1jb21tb24vIiwic291cmNlcyI6WyJhbWJsLW9uLWxjdS1hbWJsLW9uLWNvbW1vbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsa05BQWMsV0FBVyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2xjdS5hcGknO1xuIl19
export { MapService as ɵa } from './lib/services/map.service';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW1ibC1vbi1sY3UtYW1ibC1vbi1jb21tb24uanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYW1ibC1vbi9sY3UtYW1ibC1vbi1jb21tb24vIiwic291cmNlcyI6WyJhbWJsLW9uLWxjdS1hbWJsLW9uLWNvbW1vbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsa05BQWMsV0FBVyxDQUFDO0FBRTFCLE9BQU8sRUFBQyxVQUFVLElBQUksRUFBRSxFQUFDLE1BQU0sNEJBQTRCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vbGN1LmFwaSc7XG5cbmV4cG9ydCB7TWFwU2VydmljZSBhcyDJtWF9IGZyb20gJy4vbGliL3NlcnZpY2VzL21hcC5zZXJ2aWNlJzsiXX0=

@@ -22,4 +22,4 @@ /**

selector: 'lcu-hamburger-menu',
template: "<!-- <nav class=\"hamburger-nav\"> -->\r\n <button class=\"hamburger-menu\" mat-icon-button [matMenuTriggerFor]=\"menu\">\r\n <mat-icon [inline]=\"true\">menu</mat-icon>\r\n </button>\r\n <!-- Builds the hamburger menu from the item in the constants.ts file-->\r\n <mat-menu #menu=\"matMenu\">\r\n <button class=\"item-button\" mat-menu-item *ngFor= \"let item of MenuItems\" [disabled]= item.Disabled routerLink={{item.Url}}>\r\n <mat-icon>{{ item.Icon }}</mat-icon>\r\n <span>{{ item.Label }}</span>\r\n </button>\r\n </mat-menu>\r\n<!-- </nav> -->",
styles: [".hamburger-menu{background-color:transparent;border-width:0;outline:0;font-size:30px}"]
template: "<nav class=\"hamburger-nav\">\r\n <button class=\"hamburger-menu\" mat-icon-button [matMenuTriggerFor]=\"menu\">\r\n <mat-icon>menu</mat-icon>\r\n </button>\r\n <!-- Builds the hamburger menu from the item in the constants.ts file-->\r\n <mat-menu #menu=\"matMenu\">\r\n <button class=\"item-button\" mat-menu-item *ngFor= \"let item of MenuItems\" [disabled]= item.Disabled routerLink={{item.Url}}>\r\n <mat-icon>{{ item.Icon }}</mat-icon>\r\n <span>{{ item.Label }}</span>\r\n </button>\r\n </mat-menu>\r\n</nav>",
styles: [".hamburger-menu{background-color:transparent;border-width:0;outline:0}"]
}] }

@@ -34,2 +34,2 @@ ];

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGFtYnVyZ2VyLW1lbnUu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YW1idXJnZXItbWVudS5jb21wb25lbnQuc2NzcyddXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBIYW1idXJnZXJNZW51Q29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcclxuICBwdWJsaWMgTWVudUl0ZW1zOiBBcnJheTxIYW1idXJnZXJNZW51TW9kZWw+O1xyXG4gIG5nT25Jbml0KCkge1xyXG4gICAgdGhpcy5NZW51SXRlbXMgPSBDb25zdGFudHMuVkFSX05BTUVTX01FTlU7XHJcbiAgfVxyXG5cclxuIH1cclxuXHJcbiAgLy9ASW5wdXQoKSBNZW51SXRlbXM6IEFycmF5PEhhbWJ1cmdlck1lbnVNb2RlbD47XHJcbi8vICAgcHJvdGVjdGVkIF9tZW51SXRlbXM6IGFueTtcclxuLy8gICBASW5wdXQoKVxyXG4vLyBzZXQgTWVudUl0ZW1zKHZhbDogYW55KSB7XHJcbi8vICBpZiAoIXZhbCkge1xyXG4vLyAgICByZXR1cm47XHJcbi8vICB9XHJcblxyXG4vLyAgdGhpcy5fbWVudUl0ZW1zID0gdmFsO1xyXG5cclxuLy8gIC8vIHdoZW4gdGhpbmdzIGFyZSBpbml0aWFsaXplZFxyXG4gXHJcbi8vIH1cclxuXHJcbi8vIGdldCBDb25maWcoKTogYW55IHtcclxuXHJcbi8vICBpZiAoIXRoaXMuX21lbnVJdGVtcykge1xyXG4vLyAgICByZXR1cm47XHJcbi8vICB9XHJcbi8vICByZXR1cm4gdGhpcy5fbWVudUl0ZW1zO1xyXG4vLyB9XHJcbi8vICAgLy8gcHVibGljIE1lbnVJdGVtczogQXJyYXk8SGFtYnVyZ2VyTWVudU1vZGVsPjtcclxuLy8gICBjb25zdHJ1Y3RvcigpIHsgfVxyXG5cclxuIFxyXG4iXX0=
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGFtYnVyZ2VyLW1lbnUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFtYmwt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mV4cG9ydCBjbGFzcyBIYW1idXJnZXJNZW51Q29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcclxuICBwdWJsaWMgTWVudUl0ZW1zOiBBcnJheTxIYW1idXJnZXJNZW51TW9kZWw+O1xyXG4gIG5nT25Jbml0KCkge1xyXG4gICAgdGhpcy5NZW51SXRlbXMgPSBDb25zdGFudHMuVkFSX05BTUVTX01FTlU7XHJcbiAgfVxyXG5cclxuIH1cclxuXHJcbiAgLy9ASW5wdXQoKSBNZW51SXRlbXM6IEFycmF5PEhhbWJ1cmdlck1lbnVNb2RlbD47XHJcbi8vICAgcHJvdGVjdGVkIF9tZW51SXRlbXM6IGFueTtcclxuLy8gICBASW5wdXQoKVxyXG4vLyBzZXQgTWVudUl0ZW1zKHZhbDogYW55KSB7XHJcbi8vICBpZiAoIXZhbCkge1xyXG4vLyAgICByZXR1cm47XHJcbi8vICB9XHJcblxyXG4vLyAgdGhpcy5fbWVudUl0ZW1zID0gdmFsO1xyXG5cclxuLy8gIC8vIHdoZW4gdGhpbmdzIGFyZSBpbml0aWFsaXplZFxyXG4gXHJcbi8vIH1cclxuXHJcbi8vIGdldCBDb25maWcoKTogYW55IHtcclxuXHJcbi8vICBpZiAoIXRoaXMuX21lbnVJdGVtcykge1xyXG4vLyAgICByZXR1cm47XHJcbi8vICB9XHJcbi8vICByZXR1cm4gdGhpcy5fbWVudUl0ZW1zO1xyXG4vLyB9XHJcbi8vICAgLy8gcHVibGljIE1lbnVJdGVtczogQXJyYXk8SGFtYnVyZ2VyTWVudU1vZGVsPjtcclxuLy8gICBjb25zdHJ1Y3RvcigpIHsgfVxyXG5cclxuIFxyXG4iXX0=

@@ -22,4 +22,4 @@ /**

selector: 'lcu-landing-page',
template: " <div class=\"landing-page-image\">\r\n <div class=\"container\" fxFlex=\"100%\"\r\n fxLayout=\"column\" fxLayoutAlign=\"center start\"\r\n fxLayout.sm=\"column\" fxLayoutAlign.sm=\"center center\"\r\n fxLayout.xs=\"column\" fxLayoutAlign.xs=\"center center\">\r\n <div class=\"title\">\r\n <h1>\r\n {{ Title }}\r\n </h1>\r\n </div>\r\n <div class=\"slogan\">\r\n <h3>\r\n {{ Slogan }}\r\n </h3>\r\n </div>\r\n </div>\r\n</div>",
styles: [".landing-page-image{background:url(../assets/Angkor-sunrise.jpg) center center/cover no-repeat fixed;height:100vh}.landing-page-image .container{margin-top:14em;margin-left:1em;text-align:center}.landing-page-image .container h1{margin:0}.landing-page-image .container .slogan,.landing-page-image .container .title{color:#fff}"]
template: " <div class=\"container\" fxFlex=\"100%\"\r\n fxLayout=\"column\" fxLayoutAlign=\"center start\"\r\n fxLayout.sm=\"column\" fxLayoutAlign.sm=\"center center\"\r\n fxLayout.xs=\"column\" fxLayoutAlign.xs=\"center center\">\r\n <div class=\"title\">\r\n <h1>\r\n {{ Title }}\r\n </h1>\r\n </div>\r\n <div class=\"slogan\">\r\n <h3>\r\n {{ Slogan }}\r\n </h3>\r\n </div>\r\n </div>\r\n",
styles: [".container{margin-top:19em;margin-left:1em;text-align:center}.container h1{margin:0}.container .slogan,.container .title{color:#fff}"]
}] }

@@ -38,2 +38,2 @@ ];

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGFuZGluZy1wYWdlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhbWJsLW9uL2xjdS1hbWJsLW9uLWNvbW1vbi8iLCJzb3VyY2VzIjpbImxpYi9jb250cm9scy9sYW5kaW5nLXBhZ2UvbGFuZGluZy1wYWdlLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxNQUFNLGVBQWUsQ0FBQztBQUVsRDtJQVNFO1FBSE8sVUFBSyxHQUFXLFNBQVMsQ0FBQztRQUMxQixXQUFNLEdBQVcsa0NBQWtDLENBQUM7SUFFM0MsQ0FBQzs7OztJQUVqQix1Q0F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import { MapService } from '../../../services/map.service';
var AddMapMarkerComponent = /** @class */ (function () {
// PROPERTIES
// CONSTRUCTORS
function AddMapMarkerComponent(passedData) {
function AddMapMarkerComponent(passedData, mapService) {
this.passedData = passedData;
this.mapService = mapService;
}

@@ -59,42 +61,4 @@ // LIFE CYCLE

this.NewMarker.lng = this.passedData.lng;
this.NewMarker.icon = this.convertIconUrl(this.NewMarker.icon);
console.log(this.NewMarker.icon);
this.NewMarker.icon = this.mapService.ConvertIconUrl(this.NewMarker.icon);
};
// HELPERS
/**
*
* @param icon The icon to be converted to a path
*
* Converts icon to path for use in displaying custom icon as map location marker
* Best to find a more abstract way of doing this for re-usability (service?)
*/
// HELPERS
/**
*
* @private
* @param {?} icon The icon to be converted to a path
*
* Converts icon to path for use in displaying custom icon as map location marker
* Best to find a more abstract way of doing this for re-usability (service?)
* @return {?}
*/
AddMapMarkerComponent.prototype.convertIconUrl =
// HELPERS
/**
*
* @private
* @param {?} icon The icon to be converted to a path
*
* Converts icon to path for use in displaying custom icon as map location marker
* Best to find a more abstract way of doing this for re-usability (service?)
* @return {?}
*/
function (icon) {
// later - turn this into service because it's also being done in map.component.ts
/** @type {?} */
var orig = icon;
/** @type {?} */
var iconUrl = "./assets/" + orig + ".png";
return { url: iconUrl, scaledSize: { width: 40, height: 60 } };
};
AddMapMarkerComponent.decorators = [

@@ -109,3 +73,4 @@ { type: Component, args: [{

AddMapMarkerComponent.ctorParameters = function () { return [
{ type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] }
{ type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] },
{ type: MapService }
]; };

@@ -133,3 +98,8 @@ return AddMapMarkerComponent;

AddMapMarkerComponent.prototype.passedData;
/**
* @type {?}
* @private
*/
AddMapMarkerComponent.prototype.mapService;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRkLW1hcC1tYXJrZXIuY29tcG9uZW50LmpzIiwic291c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hIGZyb20gdGhlIGZvcm0gdG8gYW4gaWNvbiB0byBiZSBwbGFjZWQgb24gdGhlIG1hcFxyXG4gICAqL1xyXG4gIHB1YmxpYyBTZXRNYXJrZXJEYXRhKCk6IHZvaWQge1xyXG4gICAgdGhpcy5OZXdNYXJrZXIudGl0bGUgPSB0aGlzLk5ld01hcmtlckZvcm0udmFsdWUudGl0bGU7XHJcbiAgICB0aGlzLk5ld01hcmtlci5pY29uID0gdGhpcy5OZXdNYXJrZXJGb3JtLnZhbHVlLmljb247XHJcbiAgICB0aGlzLk5ld01hcmtlci5sYXQgPSB0aGlzLnBhc3NlZERhdGEubGF0O1xyXG4gICAgdGhpcy5OZXdNYXJrZXIubG5nID0gdGhpcy5wYXNzZWREYXRhLmxuZztcclxuICAgIHRoaXMuTmV3TWFya2VyLmljb24gPSB0aGlzLm1hcFNlcnZpY2UuQ29udmVydEljb25VcmwodGhpcy5OZXdNYXJrZXIuaWNvbik7XHJcbiAgfVxyXG4gIC8vIEhFTFBFUlNcclxufVxyXG4iXX0=

@@ -9,6 +9,8 @@ /**

import { AddMapMarkerComponent } from './add-map-marker/add-map-marker.component';
import { MapService } from '../../services/map.service';
var MapComponent = /** @class */ (function () {
// CONSTRUCTORS
function MapComponent(dialog) {
function MapComponent(dialog, mapService) {
this.dialog = dialog;
this.mapService = mapService;
// PROPERTIES

@@ -19,7 +21,17 @@ /**

this.mapModel = {
title: 'Default Title',
title: 'Default Map',
origin: { lat: 40.037757, lng: -105.278324 },
zoom: 13,
locationList: [],
thumbnailUrl: "https://maps.googleapis.com/maps/api/staticmap?center=63.259591,-144.667969&zoom=6&size=400x400\n &markers=color:blue%7Clabel:S%7C62.107733,-145.541936&markers=size:tiny%7Ccolor:green%7CDelta+Junction,AK\n &markers=size:mid%7Ccolor:0xFFFF00%7Clabel:C%7CTok,AK\"&key=AIzaSyCvvqYY9pMUpRSKl721rPEiN4KlKIpCImg"
locationList: [
{ title: 'Favorite steak house', lat: 40.017557, lng: -105.278199, icon: 'restaurant' },
{ title: 'Favorite UNESCO', lat: 40.027657, lng: -105.288199, icon: 'UNESCO' },
{ title: 'Nice museum', lat: 40.037757, lng: -105.298199, icon: 'museum' },
{ title: 'Good brewery', lat: 40.047857, lng: -105.268199, icon: 'brewery' },
{ title: 'Favorite ski area', lat: 40.057557, lng: -105.288199, icon: 'ski area' },
{ title: 'Favorite vineyard', lat: 40.060657, lng: -105.298199, icon: 'vineyard' },
{ title: 'Nice golf course', lat: 40.037757, lng: -105.258199, icon: 'golf course' },
{ title: 'Good lodging', lat: 40.037757, lng: -105.278199, icon: 'lodging' },
{ title: 'Nice national park', lat: 40.060657, lng: -105.278199, icon: 'national park' },
{ title: 'Good bar', lat: 40.017557, lng: -105.288199, icon: 'bar' }
]
};

@@ -38,4 +50,12 @@ }

function () {
var _this = this;
this.CurrentMapModel = this.mapModel;
this.CurrentMapModel.locationList = this.convertMarkerUrls(this.CurrentMapModel.locationList);
this.CurrentMapModel.locationList.forEach((/**
* @param {?} loc
* @return {?}
*/
function (loc) {
loc.icon = _this.mapService.ConvertIconUrl(loc.icon);
}));
// this.CurrentMapModel.locationList = this.convertMarkerUrls(this.CurrentMapModel.locationList);
};

@@ -85,45 +105,2 @@ // API METHODS

};
// HELPERS
/**
*
* @param list The list of icons to convert to paths
*
* Converts list of icons to paths for use in displaying custom icons as map location markers
* Best to find a more abstract way of doing this for re-usability (service?)
*/
// HELPERS
/**
*
* @private
* @param {?} list The list of icons to convert to paths
*
* Converts list of icons to paths for use in displaying custom icons as map location markers
* Best to find a more abstract way of doing this for re-usability (service?)
* @return {?}
*/
MapComponent.prototype.convertMarkerUrls =
// HELPERS
/**
*
* @private
* @param {?} list The list of icons to convert to paths
*
* Converts list of icons to paths for use in displaying custom icons as map location markers
* Best to find a more abstract way of doing this for re-usability (service?)
* @return {?}
*/
function (list) {
list.forEach((/**
* @param {?} element
* @return {?}
*/
function (element) {
/** @type {?} */
var icon = element.icon;
/** @type {?} */
var iconUrl = "./assets/" + icon + ".png";
element.icon = { url: iconUrl, scaledSize: { width: 40, height: 60 } };
}));
return list;
};
MapComponent.decorators = [

@@ -138,3 +115,4 @@ { type: Component, args: [{

MapComponent.ctorParameters = function () { return [
{ type: MatDialog }
{ type: MatDialog },
{ type: MapService }
]; };

@@ -163,3 +141,8 @@ MapComponent.propDecorators = {

MapComponent.prototype.dialog;
/**
* @type {?}
* @private
*/
MapComponent.prototype.mapService;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFwLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhbWJsLW9uL2xjdS1hbWJsLW9uLWNvbW1vbi8iLCJzb3VyY2VzIjpbImxpYi9jb250cm9scy9tYXAvbWFwLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekQsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLG1DQUFtQyxDQUFDO0FBRWxFLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUM5QyxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSwyQ0FBMkMsQ0FBQztBQUVsRjtJQTZCRSxlQUFlO0lBQ2Ysc0JBQW9CLE1BQWlCO1FBQWpCLFdBQU0sR0FBTixNQUFNLENBQVc7Ozs7O1FBWDVCLGFBQVEsR0FBbUI7WUFDaEMsS0FBSyxFQUFFLGVBQWU7WUFDdEIsTUFBTSxFQUFFLEVBQUUsR0FBRyxFQUFFLFNBQVMsRUFBRSxHQUFHLEVBQUUsQ0FBQyxVQUFVLEVBQUU7WUFDNUMsSUFBSSxFQUFFLEVBQUU7WUFDUixZQUFZLEVBQUUsRUFBRTtZQUNoQixZQUFZLEVBQUUsNlRBRXFGO1NBQ3BHLENBQUM7SUFHcUMsQ0F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GV2ZW50LmNvb3Jkcy5sbmdcclxuICAgICAgfVxyXG4gICAgfSk7XHJcbiAgICBkaWFsb2dSZWYuYWZ0ZXJDbG9zZWQoKS5zdWJzY3JpYmUocmVzID0+IHtcclxuICAgICAgaWYgKHJlcykge1xyXG4gICAgICAgIHRoaXMuQ3VycmVudE1hcE1vZGVsLmxvY2F0aW9uTGlzdC5wdXNoKHJlcyk7XHJcbiAgICAgIH1cclxuICAgIH0pO1xyXG4gIH1cclxuXHJcbiAgLy8gSEVMUEVSU1xyXG5cclxuICAvKipcclxuICAgKiBcclxuICAgKiBAcGFyYW0gbGlzdCBUaGUgbGlzdCBvZiBpY29ucyB0byBjb252ZXJ0IHRvIHBhdGhzXHJcbiAgICogXHJcbiAgICogQ29udmVydHMgbGlzdCBvZiBpY29ucyB0byBwYXRocyBmb3IgdXNlIGluIGRpc3BsYXlpbmcgY3VzdG9tIGljb25zIGFzIG1hcCBsb2NhdGlvbiBtYXJrZXJzXHJcbiAgICogQmVzdCB0byBmaW5kIGEgbW9yZSBhYnN0cmFjdCB3YXkgb2YgZG9pbmcgdGhpcyBmb3IgcmUtdXNhYmlsaXR5IChzZXJ2aWNlPylcclxuICAgKi9cclxuICBwcml2YXRlIGNvbnZlcnRNYXJrZXJVcmxzKGxpc3Q6IE1hcE1hcmtlcltdKTogTWFwTWFya2VyW10ge1xyXG4gICAgbGlzdC5mb3JFYWNoKGVsZW1lbnQgPT4ge1xyXG4gICAgICBsZXQgaWNvbiA9IGVsZW1lbnQuaWNvbjtcclxuICAgICAgbGV0IGljb25VcmwgPSBgLi9hc3NldHMvJHtpY29ufS5wbmdgO1xyXG4gICAgICBlbGVtZW50Lmljb24gPSB7IHVybDogaWNvblVybCwgc2NhbGVkU2l6ZTogeyB3aWR0aDogNDAsIGhlaWdodDogNjAgfSB9O1xyXG4gICAgfSk7XHJcbiAgICByZXR1cm4gbGlzdDtcclxuICB9XHJcbn1cclxuIl19
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJ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=

@@ -6,2 +6,6 @@ /**

var IndividualMap = /** @class */ (function () {
/**
*
* @param mapInfo The object containing the necessary data for displaying a map (<agm-map>)
*/
function IndividualMap(mapInfo) {

@@ -12,3 +16,2 @@ this.title = mapInfo.title;

this.locationList = mapInfo.locationList;
this.thumbnailUrl = mapInfo.thumbnailUrl;
}

@@ -39,10 +42,3 @@ return IndividualMap;

IndividualMap.prototype.locationList;
/**
* The url to the google maps static api image
*
* Move thumbnail out of indiv map model and make a function to generate it in higher component
* @type {?}
*/
IndividualMap.prototype.thumbnailUrl;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kaXZpZHVhbC1tYXAubW9kZWwuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYW1ibC1vbi9sY3UtYW1ibC1vbi1jb21tb24vIiwic291cmNlcyI6WyJsaWIvbW9kZWxzL2luZGl2aWR1YWwtbWFwLm1vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFFQTtJQStCSSx1QkFBWSxPQUFzQjtRQUM5QixJQUFJLENBQUMsS0FBSyxHQUFHLE9BQU8sQ0FBQyxLQUFLLENBQUM7UUFDM0IsSUFBSSxDQUFDLE1BQU0sR0FBRyxPQUFPLENBQUMsTUFBTSxDQUFDO1FBQzdCLElBQUksQ0FBQyxJQUFJLEdBQUcsT0FBTyxDQUFDLElBQUksQ0FBQztRQUN6QixJQUFJLENBQUMsWUFBWSxHQUFHLE9BQU8sQ0FBQyxZQUFZLENBQUM7UUFDekMsSUFBSSxDQUFDLFlBQVksR0FBRyxPQUFPLENBQUMsWUFBWSxDQUFDO0lBQzdDLENBQUM7SUFDTCxvQkFBQztBQUFELENBQUMsQUF0Q0QsSUFzQ0M7Ozs7Ozs7SUFsQ0csOEJBQWM7Ozs7O0lBS2QsK0JBR0U7Ozs7O0lBS0YsNkJBQWE7Ozs7O0lBS2IscUNBQTBCOzs7Ozs7O0lBTzFCLHFDQUF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HRoaXMuem9vbSA9IG1hcEluZm8uem9vbTtcclxuICAgICAgICB0aGlzLmxvY2F0aW9uTGlzdCA9IG1hcEluZm8ubG9jYXRpb25MaXN0O1xyXG4gICAgfVxyXG59Il19

@@ -6,3 +6,11 @@ /**

var MapMarker = /** @class */ (function () {
function MapMarker() {
/**
*
* @param icon The object containing data for a single point (a map marker) on a map (<agm-map>)
*/
function MapMarker(icon) {
this.title = icon.title;
this.icon = icon.icon;
this.lat = icon.lat;
this.lng = icon.lng;
}

@@ -34,2 +42,2 @@ return MapMarker;

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFwLW1hcmtlci5tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhbWJsLW9uL2xjdS1hbWJsLW9uLWNvbW1vbi8iLCJzb3VyY2VzIjpbImxpYi9Nb2RlbHMvbWFwLW1hcmtlci5tb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUE7SUFBQTtJQWlDQSxDQUFDO0lBQUQsZ0JBQUM7QUFBRCxDQUFDLEFBakNELElBaUNDOzs7Ozs7O0lBNUJHLDBCQUFjOzs7OztJQUtkLHlCQVlHOzs7OztJQUtILHdCQUFZOzs7OztJQUtaLHdCQUFZIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNsYXNzIE1hcE1hcmtlciB7XHJcblxyXG4gICAgLyoqXHJcbiAgICAgKiBUaGUgdGl0bGUgb2YgdGhlIG1hcmtlciB3aGljaCB3aWxsIHNob3cgdXBvbiBtb3VzZW92ZXJcclxuICAgICAqL1xyXG4gICAgdGl0bGU6IHN0cmluZztcclxuXHJcbiAgICAvKipcclxuICAgICAqIEEgbGlzdCBvZiBhdmFpbGFibGUgaWNvbnMgdG8gY3VzdG9taXplIG1hcCBsb2NhdGlvbnNcclxuICAgICAqL1xyXG4gICAgaWNvbjogXHJcbiAgICAnYmFyJyB8XHJcbiAgICAnYnJld2Vy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ZXIpIG9uIGEgbWFwICg8YWdtLW1hcD4pXHJcbiAgICAgKi9cclxuICAgIGNvbnN0cnVjdG9yKGljb246IE1hcE1hcmtlcikge1xyXG4gICAgICAgIHRoaXMudGl0bGUgPSBpY29uLnRpdGxlO1xyXG4gICAgICAgIHRoaXMuaWNvbiA9IGljb24uaWNvbjtcclxuICAgICAgICB0aGlzLmxhdCA9IGljb24ubGF0O1xyXG4gICAgICAgIHRoaXMubG5nID0gaWNvbi5sbmc7XHJcbiAgICB9XHJcbn0iXX0=

@@ -15,3 +15,2 @@ /**

Constants.VAR_NAMES_MENU = [
{ Label: 'Home', Icon: 'home', Url: '/home', Disabled: 'false' },
{ Label: 'My Atlas', Icon: 'public', Url: '/map', Disabled: 'false' },

@@ -31,2 +30,2 @@ { Label: 'My Itenerarries', Icon: 'map', Url: 'www', Disabled: 'true' },

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uc3RhbnRzLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFtYmwtb24vbGN1LWFtYmwtb24tY29tbW9uLyIsInNvdXJjZXMiOlsibGliL3V0aWxzL2NvbnN0YW50cy9jb25zdGFudHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQVFBO0lBQUE7SUFTQSxDQUFDO0lBUjBCLHdCQUFjLEdBQThCO1FBQy9ELEVBQUMsS0FBSyxFQUFFLE1BQU0sRUFBRSxJQUFJLEVBQUUsTUFBTSxFQUFFLEdBQUcsRUFBQyxPQUFPLEVBQUUsUUFBUSxFQUFDLE9BQU8sRUFBQztRQUM1RCxFQUFDLEtBQUssRUFBRSxVQUFVLEVBQUUsSUFBSSxFQUFFLFFBQVEsRUFBRSxHQUFHLEVBQUMsTUFBTSxFQUFFLFFBQVEsRUFBQyxPQUFPLEVBQUM7UUFDakUsRUFBQyxLQUFLLEVBQUUsaUJBQWlCLEVBQUUsSUFBSSxFQUFFLEtBQUssRU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Xk8SGFtYnVyZ2VyTWVudU1vZGVsPiA9IFtcclxuICAgICAgICB7TGFiZWw6ICdIb21lJywgSWNvbjogJ2hvbWUnLCBVcmw6Jy9ob21lJywgRGlzYWJsZWQ6J2ZhbHNlJ30sXHJcbiAgICAgICAge0xhYmVsOiAnTXkgQXRsYXMnLCBJY29uOiAncHVibGljJywgVXJsOicvbWFwJywgRGlzYWJsZWQ6J2ZhbHNlJ30sXHJcbiAgICAgICAge0xhYmVsOiAnTXkgSXRlbmVyYXJyaWVzJywgSWNvbjogJ21hcCcsIFVybDond3d3JywgRGlzYWJsZWQ6J3RydWUnfSxcclxuICAgICAgICB7TGFiZWw6ICdNeSBUb3AgTGlzdHMnLCBJY29uOiAnc29ydCcsIFVybDond3d3JywgRGlzYWJsZWQ6J3RydWUnfSxcclxuICAgICAgICB7TGFiZWw6ICdNeSBBbGJ1bXMnLCBJY29uOiAncGhvdG9fbGlicmFyeScsIFVybDond3d3JywgRGlzYWJsZWQ6J3RydWUnfSxcclxuICAgICAgICB7TGFiZWw6ICdNeSBGcmllbmRzJywgSWNvbjogJ2dyb3VwJywgVXJsOid3d3cnLCBEaXNhYmxlZDondHJ1ZSd9LFxyXG4gICAgICAgIHtMYWJlbDogJ015IFByb2ZpbGUnLCBJY29uOiAncGVyc29uJywgVXJsOid3d3cnLCBEaXNhYmxlZDondHJ1ZSd9XTtcclxufSJdfQ==
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uc3RhbnRzLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFtYmwtb24vbGN1LWFtYmwtb24tY29tbW9uLyIsInNvdXJjZXMiOlsibGliL3V0aWxzL2NvbnN0YW50cy9jb25zdGFudHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQVFBO0lBQUE7SUFRQSxDQUFDO0lBUDBCLHdCQUFjLEdBQThCO1FBQy9ELEVBQUMsS0FBSyxFQUFFLFVB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lsZCB0aGUgaXRlbXMgaW4gdGhlIGhhbWJ1cmdlciBtZW51XHJcbiovXHJcbmV4cG9ydCBjbGFzcyBDb25zdGFudHN7XHJcbiAgICBwdWJsaWMgc3RhdGljIHJlYWRvbmx5IFZBUl9OQU1FU19NRU5VOiBBcnJheTxIYW1idXJnZXJNZW51TW9kZWw+ID0gW1xyXG4gICAgICAgIHtMYWJlbDogJ015IEF0bGFzJywgSWNvbjogJ3B1YmxpYycsIFVybDonL21hcCcsIERpc2FibGVkOidmYWxzZSd9LFxyXG4gICAgICAgIHtMYWJlbDogJ015IEl0ZW5lcmFycmllcycsIEljb246ICdtYXAnLCBVcmw6J3d3dycsIERpc2FibGVkOid0cnVlJ30sXHJcbiAgICAgICAge0xhYmVsOiAnTXkgVG9wIExpc3RzJywgSWNvbjogJ3NvcnQnLCBVcmw6J3d3dycsIERpc2FibGVkOid0cnVlJ30sXHJcbiAgICAgICAge0xhYmVsOiAnTXkgQWxidW1zJywgSWNvbjogJ3Bob3RvX2xpYnJhcnknLCBVcmw6J3d3dycsIERpc2FibGVkOid0cnVlJ30sXHJcbiAgICAgICAge0xhYmVsOiAnTXkgRnJpZW5kcycsIEljb246ICdncm91cCcsIFVybDond3d3JywgRGlzYWJsZWQ6J3RydWUnfSxcclxuICAgICAgICB7TGFiZWw6ICdNeSBQcm9maWxlJywgSWNvbjogJ3BlcnNvbicsIFVybDond3d3JywgRGlzYWJsZWQ6J3RydWUnfV07XHJcbn0iXX0=

@@ -8,5 +8,5 @@ import { __awaiter } from 'tslib';

import { AgmCoreModule } from '@agm/core';
import { Injectable, Injector, NgModule, Component, Inject, Input, defineInjectable, inject, INJECTOR } from '@angular/core';
import { MAT_DIALOG_DATA, MatDialog, MatIconModule, MatSelectModule, MatDialogModule, MatButtonModule, MatInputModule, MatFormFieldModule } from '@angular/material';
import { FormGroup, FormControl, Validators, ReactiveFormsModule } from '@angular/forms';
import { Injectable, Injector, NgModule, Component, Input, Inject, defineInjectable, inject, INJECTOR } from '@angular/core';
import { RouterModule } from '@angular/router';

@@ -101,3 +101,2 @@

Constants.VAR_NAMES_MENU = [
{ Label: 'Home', Icon: 'home', Url: '/home', Disabled: 'false' },
{ Label: 'My Atlas', Icon: 'public', Url: '/map', Disabled: 'false' },

@@ -126,4 +125,4 @@ { Label: 'My Itenerarries', Icon: 'map', Url: 'www', Disabled: 'true' },

selector: 'lcu-hamburger-menu',
template: "<!-- <nav class=\"hamburger-nav\"> -->\r\n <button class=\"hamburger-menu\" mat-icon-button [matMenuTriggerFor]=\"menu\">\r\n <mat-icon [inline]=\"true\">menu</mat-icon>\r\n </button>\r\n <!-- Builds the hamburger menu from the item in the constants.ts file-->\r\n <mat-menu #menu=\"matMenu\">\r\n <button class=\"item-button\" mat-menu-item *ngFor= \"let item of MenuItems\" [disabled]= item.Disabled routerLink={{item.Url}}>\r\n <mat-icon>{{ item.Icon }}</mat-icon>\r\n <span>{{ item.Label }}</span>\r\n </button>\r\n </mat-menu>\r\n<!-- </nav> -->",
styles: [".hamburger-menu{background-color:transparent;border-width:0;outline:0;font-size:30px}"]
template: "<nav class=\"hamburger-nav\">\r\n <button class=\"hamburger-menu\" mat-icon-button [matMenuTriggerFor]=\"menu\">\r\n <mat-icon>menu</mat-icon>\r\n </button>\r\n <!-- Builds the hamburger menu from the item in the constants.ts file-->\r\n <mat-menu #menu=\"matMenu\">\r\n <button class=\"item-button\" mat-menu-item *ngFor= \"let item of MenuItems\" [disabled]= item.Disabled routerLink={{item.Url}}>\r\n <mat-icon>{{ item.Icon }}</mat-icon>\r\n <span>{{ item.Label }}</span>\r\n </button>\r\n </mat-menu>\r\n</nav>",
styles: [".hamburger-menu{background-color:transparent;border-width:0;outline:0}"]
}] }

@@ -150,4 +149,4 @@ ];

selector: 'lcu-landing-page',
template: " <div class=\"landing-page-image\">\r\n <div class=\"container\" fxFlex=\"100%\"\r\n fxLayout=\"column\" fxLayoutAlign=\"center start\"\r\n fxLayout.sm=\"column\" fxLayoutAlign.sm=\"center center\"\r\n fxLayout.xs=\"column\" fxLayoutAlign.xs=\"center center\">\r\n <div class=\"title\">\r\n <h1>\r\n {{ Title }}\r\n </h1>\r\n </div>\r\n <div class=\"slogan\">\r\n <h3>\r\n {{ Slogan }}\r\n </h3>\r\n </div>\r\n </div>\r\n</div>",
styles: [".landing-page-image{background:url(../assets/Angkor-sunrise.jpg) center center/cover no-repeat fixed;height:100vh}.landing-page-image .container{margin-top:14em;margin-left:1em;text-align:center}.landing-page-image .container h1{margin:0}.landing-page-image .container .slogan,.landing-page-image .container .title{color:#fff}"]
template: " <div class=\"container\" fxFlex=\"100%\"\r\n fxLayout=\"column\" fxLayoutAlign=\"center start\"\r\n fxLayout.sm=\"column\" fxLayoutAlign.sm=\"center center\"\r\n fxLayout.xs=\"column\" fxLayoutAlign.xs=\"center center\">\r\n <div class=\"title\">\r\n <h1>\r\n {{ Title }}\r\n </h1>\r\n </div>\r\n <div class=\"slogan\">\r\n <h3>\r\n {{ Slogan }}\r\n </h3>\r\n </div>\r\n </div>\r\n",
styles: [".container{margin-top:19em;margin-left:1em;text-align:center}.container h1{margin:0}.container .slogan,.container .title{color:#fff}"]
}] }

@@ -187,3 +186,4 @@ ];

/**
* @param {?} mapInfo
*
* @param {?} mapInfo The object containing the necessary data for displaying a map (<agm-map>)
*/

@@ -195,3 +195,2 @@ constructor(mapInfo) {

this.locationList = mapInfo.locationList;
this.thumbnailUrl = mapInfo.thumbnailUrl;
}

@@ -204,2 +203,32 @@ }

*/
class MapService {
constructor() { }
/**
*
* @param {?} icon The icon to be converted to a path
*
* Converts icon to path for use in displaying custom icon as map location marker
* @return {?}
*/
ConvertIconUrl(icon) {
/** @type {?} */
let orig = icon;
/** @type {?} */
let iconUrl = `./assets/${orig}.png`;
return { url: iconUrl, scaledSize: { width: 40, height: 60 } };
}
}
MapService.decorators = [
{ type: Injectable, args: [{
providedIn: 'root'
},] }
];
/** @nocollapse */
MapService.ctorParameters = () => [];
/** @nocollapse */ MapService.ngInjectableDef = defineInjectable({ factory: function MapService_Factory() { return new MapService(); }, token: MapService, providedIn: "root" });
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
class AddMapMarkerComponent {

@@ -210,5 +239,7 @@ // PROPERTIES

* @param {?} passedData
* @param {?} mapService
*/
constructor(passedData) {
constructor(passedData, mapService) {
this.passedData = passedData;
this.mapService = mapService;
}

@@ -243,23 +274,4 @@ // LIFE CYCLE

this.NewMarker.lng = this.passedData.lng;
this.NewMarker.icon = this.convertIconUrl(this.NewMarker.icon);
console.log(this.NewMarker.icon);
this.NewMarker.icon = this.mapService.ConvertIconUrl(this.NewMarker.icon);
}
// HELPERS
/**
*
* @private
* @param {?} icon The icon to be converted to a path
*
* Converts icon to path for use in displaying custom icon as map location marker
* Best to find a more abstract way of doing this for re-usability (service?)
* @return {?}
*/
convertIconUrl(icon) {
// later - turn this into service because it's also being done in map.component.ts
/** @type {?} */
let orig = icon;
/** @type {?} */
let iconUrl = `./assets/${orig}.png`;
return { url: iconUrl, scaledSize: { width: 40, height: 60 } };
}
}

@@ -275,3 +287,4 @@ AddMapMarkerComponent.decorators = [

AddMapMarkerComponent.ctorParameters = () => [
{ type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] }
{ type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] },
{ type: MapService }
];

@@ -287,5 +300,7 @@

* @param {?} dialog
* @param {?} mapService
*/
constructor(dialog) {
constructor(dialog, mapService) {
this.dialog = dialog;
this.mapService = mapService;
// PROPERTIES

@@ -296,9 +311,17 @@ /**

this.mapModel = {
title: 'Default Title',
title: 'Default Map',
origin: { lat: 40.037757, lng: -105.278324 },
zoom: 13,
locationList: [],
thumbnailUrl: `https://maps.googleapis.com/maps/api/staticmap?center=63.259591,-144.667969&zoom=6&size=400x400
&markers=color:blue%7Clabel:S%7C62.107733,-145.541936&markers=size:tiny%7Ccolor:green%7CDelta+Junction,AK
&markers=size:mid%7Ccolor:0xFFFF00%7Clabel:C%7CTok,AK"&key=AIzaSyCvvqYY9pMUpRSKl721rPEiN4KlKIpCImg`
locationList: [
{ title: 'Favorite steak house', lat: 40.017557, lng: -105.278199, icon: 'restaurant' },
{ title: 'Favorite UNESCO', lat: 40.027657, lng: -105.288199, icon: 'UNESCO' },
{ title: 'Nice museum', lat: 40.037757, lng: -105.298199, icon: 'museum' },
{ title: 'Good brewery', lat: 40.047857, lng: -105.268199, icon: 'brewery' },
{ title: 'Favorite ski area', lat: 40.057557, lng: -105.288199, icon: 'ski area' },
{ title: 'Favorite vineyard', lat: 40.060657, lng: -105.298199, icon: 'vineyard' },
{ title: 'Nice golf course', lat: 40.037757, lng: -105.258199, icon: 'golf course' },
{ title: 'Good lodging', lat: 40.037757, lng: -105.278199, icon: 'lodging' },
{ title: 'Nice national park', lat: 40.060657, lng: -105.278199, icon: 'national park' },
{ title: 'Good bar', lat: 40.017557, lng: -105.288199, icon: 'bar' }
]
};

@@ -312,3 +335,10 @@ }

this.CurrentMapModel = this.mapModel;
this.CurrentMapModel.locationList = this.convertMarkerUrls(this.CurrentMapModel.locationList);
this.CurrentMapModel.locationList.forEach((/**
* @param {?} loc
* @return {?}
*/
loc => {
loc.icon = this.mapService.ConvertIconUrl(loc.icon);
}));
// this.CurrentMapModel.locationList = this.convertMarkerUrls(this.CurrentMapModel.locationList);
}

@@ -341,26 +371,2 @@ // API METHODS

}
// HELPERS
/**
*
* @private
* @param {?} list The list of icons to convert to paths
*
* Converts list of icons to paths for use in displaying custom icons as map location markers
* Best to find a more abstract way of doing this for re-usability (service?)
* @return {?}
*/
convertMarkerUrls(list) {
list.forEach((/**
* @param {?} element
* @return {?}
*/
element => {
/** @type {?} */
let icon = element.icon;
/** @type {?} */
let iconUrl = `./assets/${icon}.png`;
element.icon = { url: iconUrl, scaledSize: { width: 40, height: 60 } };
}));
return list;
}
}

@@ -376,3 +382,4 @@ MapComponent.decorators = [

MapComponent.ctorParameters = () => [
{ type: MatDialog }
{ type: MatDialog },
{ type: MapService }
];

@@ -427,2 +434,12 @@ MapComponent.propDecorators = {

class MapMarker {
/**
*
* @param {?} icon The object containing data for a single point (a map marker) on a map (<agm-map>)
*/
constructor(icon) {
this.title = icon.title;
this.icon = icon.icon;
this.lat = icon.lat;
this.lng = icon.lng;
}
}

@@ -440,4 +457,4 @@

export { UsersStateManagerContext, UsersState, HamburgerMenuComponent, LandingPageComponent, Constants, HamburgerMenuModel, LcuAmblOnModule, IndividualMap, MapMarker, MapComponent, AddMapMarkerComponent };
export { UsersStateManagerContext, UsersState, HamburgerMenuComponent, LandingPageComponent, Constants, HamburgerMenuModel, LcuAmblOnModule, IndividualMap, MapMarker, MapComponent, AddMapMarkerComponent, MapService as ɵa };
//# sourceMappingURL=ambl-on-lcu-ambl-on-common.js.map

@@ -8,5 +8,5 @@ import { __extends, __awaiter, __generator } from 'tslib';

import { AgmCoreModule } from '@agm/core';
import { Injectable, Injector, NgModule, Component, Input, Inject, defineInjectable, inject, INJECTOR } from '@angular/core';
import { MAT_DIALOG_DATA, MatDialog, MatIconModule, MatSelectModule, MatDialogModule, MatButtonModule, MatInputModule, MatFormFieldModule } from '@angular/material';
import { FormGroup, FormControl, Validators, ReactiveFormsModule } from '@angular/forms';
import { Injectable, Injector, NgModule, Component, Input, Inject, defineInjectable, inject, INJECTOR } from '@angular/core';
import { RouterModule } from '@angular/router';

@@ -130,3 +130,2 @@

Constants.VAR_NAMES_MENU = [
{ Label: 'Home', Icon: 'home', Url: '/home', Disabled: 'false' },
{ Label: 'My Atlas', Icon: 'public', Url: '/map', Disabled: 'false' },

@@ -161,4 +160,4 @@ { Label: 'My Itenerarries', Icon: 'map', Url: 'www', Disabled: 'true' },

selector: 'lcu-hamburger-menu',
template: "<!-- <nav class=\"hamburger-nav\"> -->\r\n <button class=\"hamburger-menu\" mat-icon-button [matMenuTriggerFor]=\"menu\">\r\n <mat-icon [inline]=\"true\">menu</mat-icon>\r\n </button>\r\n <!-- Builds the hamburger menu from the item in the constants.ts file-->\r\n <mat-menu #menu=\"matMenu\">\r\n <button class=\"item-button\" mat-menu-item *ngFor= \"let item of MenuItems\" [disabled]= item.Disabled routerLink={{item.Url}}>\r\n <mat-icon>{{ item.Icon }}</mat-icon>\r\n <span>{{ item.Label }}</span>\r\n </button>\r\n </mat-menu>\r\n<!-- </nav> -->",
styles: [".hamburger-menu{background-color:transparent;border-width:0;outline:0;font-size:30px}"]
template: "<nav class=\"hamburger-nav\">\r\n <button class=\"hamburger-menu\" mat-icon-button [matMenuTriggerFor]=\"menu\">\r\n <mat-icon>menu</mat-icon>\r\n </button>\r\n <!-- Builds the hamburger menu from the item in the constants.ts file-->\r\n <mat-menu #menu=\"matMenu\">\r\n <button class=\"item-button\" mat-menu-item *ngFor= \"let item of MenuItems\" [disabled]= item.Disabled routerLink={{item.Url}}>\r\n <mat-icon>{{ item.Icon }}</mat-icon>\r\n <span>{{ item.Label }}</span>\r\n </button>\r\n </mat-menu>\r\n</nav>",
styles: [".hamburger-menu{background-color:transparent;border-width:0;outline:0}"]
}] }

@@ -189,4 +188,4 @@ ];

selector: 'lcu-landing-page',
template: " <div class=\"landing-page-image\">\r\n <div class=\"container\" fxFlex=\"100%\"\r\n fxLayout=\"column\" fxLayoutAlign=\"center start\"\r\n fxLayout.sm=\"column\" fxLayoutAlign.sm=\"center center\"\r\n fxLayout.xs=\"column\" fxLayoutAlign.xs=\"center center\">\r\n <div class=\"title\">\r\n <h1>\r\n {{ Title }}\r\n </h1>\r\n </div>\r\n <div class=\"slogan\">\r\n <h3>\r\n {{ Slogan }}\r\n </h3>\r\n </div>\r\n </div>\r\n</div>",
styles: [".landing-page-image{background:url(../assets/Angkor-sunrise.jpg) center center/cover no-repeat fixed;height:100vh}.landing-page-image .container{margin-top:14em;margin-left:1em;text-align:center}.landing-page-image .container h1{margin:0}.landing-page-image .container .slogan,.landing-page-image .container .title{color:#fff}"]
template: " <div class=\"container\" fxFlex=\"100%\"\r\n fxLayout=\"column\" fxLayoutAlign=\"center start\"\r\n fxLayout.sm=\"column\" fxLayoutAlign.sm=\"center center\"\r\n fxLayout.xs=\"column\" fxLayoutAlign.xs=\"center center\">\r\n <div class=\"title\">\r\n <h1>\r\n {{ Title }}\r\n </h1>\r\n </div>\r\n <div class=\"slogan\">\r\n <h3>\r\n {{ Slogan }}\r\n </h3>\r\n </div>\r\n </div>\r\n",
styles: [".container{margin-top:19em;margin-left:1em;text-align:center}.container h1{margin:0}.container .slogan,.container .title{color:#fff}"]
}] }

@@ -228,2 +227,6 @@ ];

var IndividualMap = /** @class */ (function () {
/**
*
* @param mapInfo The object containing the necessary data for displaying a map (<agm-map>)
*/
function IndividualMap(mapInfo) {

@@ -234,3 +237,2 @@ this.title = mapInfo.title;

this.locationList = mapInfo.locationList;
this.thumbnailUrl = mapInfo.thumbnailUrl;
}

@@ -244,7 +246,53 @@ return IndividualMap;

*/
var MapService = /** @class */ (function () {
function MapService() {
}
/**
*
* @param icon The icon to be converted to a path
*
* Converts icon to path for use in displaying custom icon as map location marker
*/
/**
*
* @param {?} icon The icon to be converted to a path
*
* Converts icon to path for use in displaying custom icon as map location marker
* @return {?}
*/
MapService.prototype.ConvertIconUrl = /**
*
* @param {?} icon The icon to be converted to a path
*
* Converts icon to path for use in displaying custom icon as map location marker
* @return {?}
*/
function (icon) {
/** @type {?} */
var orig = icon;
/** @type {?} */
var iconUrl = "./assets/" + orig + ".png";
return { url: iconUrl, scaledSize: { width: 40, height: 60 } };
};
MapService.decorators = [
{ type: Injectable, args: [{
providedIn: 'root'
},] }
];
/** @nocollapse */
MapService.ctorParameters = function () { return []; };
/** @nocollapse */ MapService.ngInjectableDef = defineInjectable({ factory: function MapService_Factory() { return new MapService(); }, token: MapService, providedIn: "root" });
return MapService;
}());
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
var AddMapMarkerComponent = /** @class */ (function () {
// PROPERTIES
// CONSTRUCTORS
function AddMapMarkerComponent(passedData) {
function AddMapMarkerComponent(passedData, mapService) {
this.passedData = passedData;
this.mapService = mapService;
}

@@ -295,42 +343,4 @@ // LIFE CYCLE

this.NewMarker.lng = this.passedData.lng;
this.NewMarker.icon = this.convertIconUrl(this.NewMarker.icon);
console.log(this.NewMarker.icon);
this.NewMarker.icon = this.mapService.ConvertIconUrl(this.NewMarker.icon);
};
// HELPERS
/**
*
* @param icon The icon to be converted to a path
*
* Converts icon to path for use in displaying custom icon as map location marker
* Best to find a more abstract way of doing this for re-usability (service?)
*/
// HELPERS
/**
*
* @private
* @param {?} icon The icon to be converted to a path
*
* Converts icon to path for use in displaying custom icon as map location marker
* Best to find a more abstract way of doing this for re-usability (service?)
* @return {?}
*/
AddMapMarkerComponent.prototype.convertIconUrl =
// HELPERS
/**
*
* @private
* @param {?} icon The icon to be converted to a path
*
* Converts icon to path for use in displaying custom icon as map location marker
* Best to find a more abstract way of doing this for re-usability (service?)
* @return {?}
*/
function (icon) {
// later - turn this into service because it's also being done in map.component.ts
/** @type {?} */
var orig = icon;
/** @type {?} */
var iconUrl = "./assets/" + orig + ".png";
return { url: iconUrl, scaledSize: { width: 40, height: 60 } };
};
AddMapMarkerComponent.decorators = [

@@ -345,3 +355,4 @@ { type: Component, args: [{

AddMapMarkerComponent.ctorParameters = function () { return [
{ type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] }
{ type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] },
{ type: MapService }
]; };

@@ -357,4 +368,5 @@ return AddMapMarkerComponent;

// CONSTRUCTORS
function MapComponent(dialog) {
function MapComponent(dialog, mapService) {
this.dialog = dialog;
this.mapService = mapService;
// PROPERTIES

@@ -365,7 +377,17 @@ /**

this.mapModel = {
title: 'Default Title',
title: 'Default Map',
origin: { lat: 40.037757, lng: -105.278324 },
zoom: 13,
locationList: [],
thumbnailUrl: "https://maps.googleapis.com/maps/api/staticmap?center=63.259591,-144.667969&zoom=6&size=400x400\n &markers=color:blue%7Clabel:S%7C62.107733,-145.541936&markers=size:tiny%7Ccolor:green%7CDelta+Junction,AK\n &markers=size:mid%7Ccolor:0xFFFF00%7Clabel:C%7CTok,AK\"&key=AIzaSyCvvqYY9pMUpRSKl721rPEiN4KlKIpCImg"
locationList: [
{ title: 'Favorite steak house', lat: 40.017557, lng: -105.278199, icon: 'restaurant' },
{ title: 'Favorite UNESCO', lat: 40.027657, lng: -105.288199, icon: 'UNESCO' },
{ title: 'Nice museum', lat: 40.037757, lng: -105.298199, icon: 'museum' },
{ title: 'Good brewery', lat: 40.047857, lng: -105.268199, icon: 'brewery' },
{ title: 'Favorite ski area', lat: 40.057557, lng: -105.288199, icon: 'ski area' },
{ title: 'Favorite vineyard', lat: 40.060657, lng: -105.298199, icon: 'vineyard' },
{ title: 'Nice golf course', lat: 40.037757, lng: -105.258199, icon: 'golf course' },
{ title: 'Good lodging', lat: 40.037757, lng: -105.278199, icon: 'lodging' },
{ title: 'Nice national park', lat: 40.060657, lng: -105.278199, icon: 'national park' },
{ title: 'Good bar', lat: 40.017557, lng: -105.288199, icon: 'bar' }
]
};

@@ -384,4 +406,12 @@ }

function () {
var _this = this;
this.CurrentMapModel = this.mapModel;
this.CurrentMapModel.locationList = this.convertMarkerUrls(this.CurrentMapModel.locationList);
this.CurrentMapModel.locationList.forEach((/**
* @param {?} loc
* @return {?}
*/
function (loc) {
loc.icon = _this.mapService.ConvertIconUrl(loc.icon);
}));
// this.CurrentMapModel.locationList = this.convertMarkerUrls(this.CurrentMapModel.locationList);
};

@@ -431,45 +461,2 @@ // API METHODS

};
// HELPERS
/**
*
* @param list The list of icons to convert to paths
*
* Converts list of icons to paths for use in displaying custom icons as map location markers
* Best to find a more abstract way of doing this for re-usability (service?)
*/
// HELPERS
/**
*
* @private
* @param {?} list The list of icons to convert to paths
*
* Converts list of icons to paths for use in displaying custom icons as map location markers
* Best to find a more abstract way of doing this for re-usability (service?)
* @return {?}
*/
MapComponent.prototype.convertMarkerUrls =
// HELPERS
/**
*
* @private
* @param {?} list The list of icons to convert to paths
*
* Converts list of icons to paths for use in displaying custom icons as map location markers
* Best to find a more abstract way of doing this for re-usability (service?)
* @return {?}
*/
function (list) {
list.forEach((/**
* @param {?} element
* @return {?}
*/
function (element) {
/** @type {?} */
var icon = element.icon;
/** @type {?} */
var iconUrl = "./assets/" + icon + ".png";
element.icon = { url: iconUrl, scaledSize: { width: 40, height: 60 } };
}));
return list;
};
MapComponent.decorators = [

@@ -484,3 +471,4 @@ { type: Component, args: [{

MapComponent.ctorParameters = function () { return [
{ type: MatDialog }
{ type: MatDialog },
{ type: MapService }
]; };

@@ -543,3 +531,11 @@ MapComponent.propDecorators = {

var MapMarker = /** @class */ (function () {
function MapMarker() {
/**
*
* @param icon The object containing data for a single point (a map marker) on a map (<agm-map>)
*/
function MapMarker(icon) {
this.title = icon.title;
this.icon = icon.icon;
this.lat = icon.lat;
this.lng = icon.lng;
}

@@ -559,4 +555,4 @@ return MapMarker;

export { UsersStateManagerContext, UsersState, HamburgerMenuComponent, LandingPageComponent, Constants, HamburgerMenuModel, LcuAmblOnModule, IndividualMap, MapMarker, MapComponent, AddMapMarkerComponent };
export { UsersStateManagerContext, UsersState, HamburgerMenuComponent, LandingPageComponent, Constants, HamburgerMenuModel, LcuAmblOnModule, IndividualMap, MapMarker, MapComponent, AddMapMarkerComponent, MapService as ɵa };
//# sourceMappingURL=ambl-on-lcu-ambl-on-common.js.map
import { OnInit } from '@angular/core';
import { FormGroup } from '@angular/forms';
import { MapMarker } from '../../../models/map-marker.model';
import { MapService } from '../../../services/map.service';
export declare class AddMapMarkerComponent implements OnInit {
passedData: any;
private mapService;
/**

@@ -18,3 +20,3 @@ * The form used to input data about map marker

IconList: string[];
constructor(passedData: any);
constructor(passedData: any, mapService: MapService);
ngOnInit(): void;

@@ -25,10 +27,2 @@ /**

SetMarkerData(): void;
/**
*
* @param icon The icon to be converted to a path
*
* Converts icon to path for use in displaying custom icon as map location marker
* Best to find a more abstract way of doing this for re-usability (service?)
*/
private convertIconUrl;
}
import { OnInit } from '@angular/core';
import { IndividualMap } from '../../models/individual-map.model';
import { MatDialog } from '@angular/material';
import { MapService } from '../../services/map.service';
export declare class MapComponent implements OnInit {
private dialog;
private mapService;
/**

@@ -14,3 +16,3 @@ * The public map model converted from the passed IndividualMap input

mapModel?: IndividualMap;
constructor(dialog: MatDialog);
constructor(dialog: MatDialog, mapService: MapService);
ngOnInit(): void;

@@ -24,10 +26,2 @@ /**

OnChoseLocation(event: any): void;
/**
*
* @param list The list of icons to convert to paths
*
* Converts list of icons to paths for use in displaying custom icons as map location markers
* Best to find a more abstract way of doing this for re-usability (service?)
*/
private convertMarkerUrls;
}

@@ -23,8 +23,6 @@ import { MapMarker } from '../Models/map-marker.model';

/**
* The url to the google maps static api image
*
* Move thumbnail out of indiv map model and make a function to generate it in higher component
* @param mapInfo The object containing the necessary data for displaying a map (<agm-map>)
*/
thumbnailUrl: string;
constructor(mapInfo: IndividualMap);
}

@@ -18,2 +18,7 @@ export declare class MapMarker {

lng: number;
/**
*
* @param icon The object containing data for a single point (a map marker) on a map (<agm-map>)
*/
constructor(icon: MapMarker);
}
{
"name": "@ambl-on/lcu-ambl-on-common",
"version": "0.1.35-landing-page",
"version": "0.1.36-google-map",
"peerDependencies": {

@@ -5,0 +5,0 @@ "@angular/common": "^7.2.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc