all files / lib/ yaga.module.js

92.11% Statements 35/38
36.36% Branches 8/22
66.67% Functions 2/3
97.14% Lines 34/35
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108                                                                                                                                                   
"use strict";
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;
    Eif (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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var core_1 = require("@angular/core");
var attribution_control_directive_1 = require("./attribution-control.directive");
var base_layer_directive_1 = require("./base-layer.directive");
var circle_marker_directive_1 = require("./circle-marker.directive");
var circle_directive_1 = require("./circle.directive");
var div_icon_directive_1 = require("./div-icon.directive");
var feature_group_directive_1 = require("./feature-group.directive");
var geojson_directive_1 = require("./geojson.directive");
var icon_directive_1 = require("./icon.directive");
var image_overlay_directive_1 = require("./image-overlay.directive");
var layer_group_directive_1 = require("./layer-group.directive");
var layers_control_directive_1 = require("./layers-control.directive");
var map_component_1 = require("./map.component");
var marker_directive_1 = require("./marker.directive");
var overlay_layer_directive_1 = require("./overlay-layer.directive");
var polygon_directive_1 = require("./polygon.directive");
var polyline_directive_1 = require("./polyline.directive");
var popup_directive_1 = require("./popup.directive");
var rectangle_directive_1 = require("./rectangle.directive");
var scale_control_directive_1 = require("./scale-control.directive");
var tile_layer_directive_1 = require("./tile-layer.directive");
var tooltip_directive_1 = require("./tooltip.directive");
var wms_layer_directive_1 = require("./wms-layer.directive");
var zoom_control_directive_1 = require("./zoom-control.directive");
/**
 * Angular 2++ module that you can use to import all directives of YAGA"s leaflet-ng2 into your Angular application.
 *
 * ```
 * import { NgModule } from "@angular/core";
 * import { YagaModule } from "@yaga/leaflet-ng2";
 *
 * ; @NgModule({
 *     imports: [
 *         YagaModule,
 *     ],
 * })
 * export class AppModule {}
 * ```
 */
var YagaModule = /** @class */ (function () {
    function YagaModule() {
    }
    YagaModule = __decorate([
        core_1.NgModule({
            declarations: [
                attribution_control_directive_1.AttributionControlDirective,
                circle_marker_directive_1.CircleMarkerDirective,
                circle_directive_1.CircleDirective,
                div_icon_directive_1.DivIconDirective,
                feature_group_directive_1.FeatureGroupDirective,
                geojson_directive_1.GeoJSONDirective,
                icon_directive_1.IconDirective,
                image_overlay_directive_1.ImageOverlayDirective,
                layer_group_directive_1.LayerGroupDirective,
                layers_control_directive_1.LayersControlDirective,
                map_component_1.MapComponent,
                marker_directive_1.MarkerDirective,
                overlay_layer_directive_1.OverlayLayerDirective,
                polygon_directive_1.PolygonDirective,
                polyline_directive_1.PolylineDirective,
                popup_directive_1.PopupDirective,
                rectangle_directive_1.RectangleDirective,
                scale_control_directive_1.ScaleControlDirective,
                tile_layer_directive_1.TileLayerDirective,
                tooltip_directive_1.TooltipDirective,
                wms_layer_directive_1.WmsLayerDirective,
                zoom_control_directive_1.ZoomControlDirective,
                base_layer_directive_1.BaseLayerDirective,
            ],
            exports: [
                attribution_control_directive_1.AttributionControlDirective,
                circle_marker_directive_1.CircleMarkerDirective,
                circle_directive_1.CircleDirective,
                div_icon_directive_1.DivIconDirective,
                feature_group_directive_1.FeatureGroupDirective,
                geojson_directive_1.GeoJSONDirective,
                icon_directive_1.IconDirective,
                image_overlay_directive_1.ImageOverlayDirective,
                layer_group_directive_1.LayerGroupDirective,
                layers_control_directive_1.LayersControlDirective,
                map_component_1.MapComponent,
                marker_directive_1.MarkerDirective,
                overlay_layer_directive_1.OverlayLayerDirective,
                polygon_directive_1.PolygonDirective,
                polyline_directive_1.PolylineDirective,
                popup_directive_1.PopupDirective,
                rectangle_directive_1.RectangleDirective,
                scale_control_directive_1.ScaleControlDirective,
                tile_layer_directive_1.TileLayerDirective,
                tooltip_directive_1.TooltipDirective,
                wms_layer_directive_1.WmsLayerDirective,
                zoom_control_directive_1.ZoomControlDirective,
                base_layer_directive_1.BaseLayerDirective,
            ],
        })
    ], YagaModule);
    return YagaModule;
}());
exports.YagaModule = YagaModule;
//# sourceMappingURL=yaga.module.js.map