@ambl-on/lcu-ambl-on-common
Advanced tools
Comparing version 0.1.379-my-atlas to 0.1.380-map
@@ -23,8 +23,3 @@ /** | ||
this.locLoader = locLoader; | ||
// PROPERTIES | ||
/** | ||
* Curated list of ambl_on location markers | ||
*/ | ||
this.CuratedList = this.locLoader.CreateLayer(Constants.LOCATIONS_TO_LOAD, Constants.MAP_CONFIG_TO_LOAD); | ||
/** | ||
* Subject that emits lat/lng for map panning | ||
@@ -390,2 +385,2 @@ */ | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFwLnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYW1ibC1vbi9sY3UtYW1ibC1vbi1jb21tb24vIiwic291cmNlcyI6WyJsaWIvc2VydmljZXMvbWFwLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsWUFBWSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXpELE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLGdDQUFnQyxDQUFDO0FBQ3BFLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDL0IsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLDhCQUE4QixDQUFDO0FBQ3pELE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQzVELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQzs7OztBQUsxRCxNQUFNLE9BQU8sVUFBVTs7Ozs7O0lBaURyQixZQUFzQixXQUErQixFQUFZLFNBQXlCO1FBQXBFLGdCQUFXLEdBQVgsV0FBVyxDQUFvQjtRQUFZLGNBQVMsR0FBVCxTQUFTLENBQWdCOzs7OztRQTlCbkYsZ0JBQVcsR0FBRyxJQUFJLENBQUMsU0FBUyxDQUFDLFd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1hcnkgbWFwXHJcbiAgICovXHJcbiAgcHJvdGVjdGVkIHNldE1hcHNXaXRoUHJpbWFyeUlkKGlkOiBzdHJpbmcpOiB2b2lkIHtcclxuICAgIHRoaXMudGVtcFN0b3JhZ2UuU2V0TGFzdFVzZWRJZChpZCk7XHJcbiAgICB0aGlzLnByaW1hcnlNYXAgPSB0aGlzLnRlbXBTdG9yYWdlLkdldE1hcEJ5SWQoaWQpO1xyXG4gICAgdGhpcy5tYXBMaXN0ID0gdGhpcy50ZW1wU3RvcmFnZS5HZXRNYXBMaXN0KCkuZmlsdGVyKG1hcCA9PiBtYXAuaWQgIT09IGlkKTtcclxuICAgIHRoaXMuTWFwQ2hhbmdlZC5lbWl0KHRoaXMucHJpbWFyeU1hcCk7XHJcbiAgfVxyXG5cclxufVxyXG4iXX0= |
@@ -20,8 +20,3 @@ /** | ||
this.locLoader = locLoader; | ||
// PROPERTIES | ||
/** | ||
* Curated list of ambl_on location markers | ||
*/ | ||
this.CuratedList = this.locLoader.CreateLayer(Constants.LOCATIONS_TO_LOAD, Constants.MAP_CONFIG_TO_LOAD); | ||
/** | ||
* Subject that emits lat/lng for map panning | ||
@@ -626,2 +621,2 @@ */ | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFwLnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYW1ibC1vbi9sY3UtYW1ibC1vbi1jb21tb24vIiwic291cmNlcyI6WyJsaWIvc2VydmljZXMvbWFwLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsWUFBWSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXpELE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLGdDQUFnQyxDQUFDO0FBQ3BFLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDL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GggdGhlIHBhc3NlZCBpZFxyXG4gICAqXHJcbiAgICogRW1pdHMgdGhlIG5ldyBwcmltYXJ5IG1hcFxyXG4gICAqL1xyXG4gIHByb3RlY3RlZCBzZXRNYXBzV2l0aFByaW1hcnlJZChpZDogc3RyaW5nKTogdm9pZCB7XHJcbiAgICB0aGlzLnRlbXBTdG9yYWdlLlNldExhc3RVc2VkSWQoaWQpO1xyXG4gICAgdGhpcy5wcmltYXJ5TWFwID0gdGhpcy50ZW1wU3RvcmFnZS5HZXRNYXBCeUlkKGlkKTtcclxuICAgIHRoaXMubWFwTGlzdCA9IHRoaXMudGVtcFN0b3JhZ2UuR2V0TWFwTGlzdCgpLmZpbHRlcihtYXAgPT4gbWFwLmlkICE9PSBpZCk7XHJcbiAgICB0aGlzLk1hcENoYW5nZWQuZW1pdCh0aGlzLnByaW1hcnlNYXApO1xyXG4gIH1cclxuXHJcbn1cclxuIl19 |
@@ -21,3 +21,3 @@ import { EventEmitter } from '@angular/core'; | ||
*/ | ||
CuratedList: IndividualMap; | ||
CuratedList: any; | ||
/** | ||
@@ -24,0 +24,0 @@ * Emits new primary map any time the maps (primary and secondary) are changed |
{ | ||
"name": "@ambl-on/lcu-ambl-on-common", | ||
"version": "0.1.379-my-atlas", | ||
"version": "0.1.380-map", | ||
"peerDependencies": { | ||
@@ -5,0 +5,0 @@ "@angular/common": "^7.2.0", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6358406
18503