ng2-bingmaps
Version:
Angular 2 components for Bing Maps
42 lines • 2.06 kB
JavaScript
;
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var core_1 = require('@angular/core');
var directives_1 = require('../../dist/directives');
var Ng2BingmapsDemoAppComponent = (function () {
function Ng2BingmapsDemoAppComponent() {
this.title = 'ng2-bingmaps-demo works!';
this.lat = -41.2865;
this.lng = 174.7762;
this.latMarker = -40.2865;
this.lngMarker = 173.7762;
this.infoWindowTitle = 'Title info';
this.infoWindowDescription = 'Info description';
}
Ng2BingmapsDemoAppComponent.prototype.actionClicked = function () {
alert('CLICK!');
};
Ng2BingmapsDemoAppComponent.prototype.actionClicked2 = function () {
alert('CLICK 2!');
};
Ng2BingmapsDemoAppComponent = __decorate([
core_1.Component({
moduleId: module.id,
selector: 'ng2-bingmaps-demo-app',
templateUrl: 'ng2-bingmaps-demo.component.html',
styleUrls: ['ng2-bingmaps-demo.component.css'],
directives: [directives_1.NG2_BINGMAPS_DIRECTIVES]
}),
__metadata('design:paramtypes', [])
], Ng2BingmapsDemoAppComponent);
return Ng2BingmapsDemoAppComponent;
}());
exports.Ng2BingmapsDemoAppComponent = Ng2BingmapsDemoAppComponent;
//# sourceMappingURL=../../demo/app/ng2-bingmaps-demo.component.js.map