import { Directive , ViewContainerRef , ContentChildren , ContentChild } from '@angular/core' ; import { ComplexBase , ArrayBase , setValue } from '@syncfusion/ej2-angular-base' ; import { InitialShapeSelectionsDirective } from './initialshapeselection.directive' ; import { MarkersDirective } from './markersettings.directive' ; import { BubblesDirective } from './bubblesettings.directive' ; import { NavigationLinesDirective } from './navigationlinesettings.directive' ; let input = [ 'animationDuration' , 'bingMapType' , 'bubbleSettings' , 'dataLabelSettings' , 'dataSource' , 'geometryType' , 'highlightSettings' , 'initialShapeSelection' , 'key' , 'layerType' , 'markerClusterSettings' , 'markerSettings' , 'navigationLineSettings' , 'query' , 'selectionSettings' , 'shapeData' , 'shapeDataPath' , 'shapePropertyPath' , 'shapeSettings' , 'staticMapType' , 'toggleLegendSettings' , 'tooltipSettings' , 'type' , 'urlTemplate' , 'visible' ] ; let outputs = [ ] ; /**
 * Layer Directive
 * ```html
 * <e-layers>
 * <e-layer></e-layer>
 * </e-layers>
 * ```
 */ @ Directive ( { selector : 'e-layers>e-layer' , inputs : input , outputs : outputs , queries : { childInitialShapeSelection : new ContentChild ( InitialShapeSelectionsDirective ) , childMarkerSettings : new ContentChild ( MarkersDirective ) , childBubbleSettings : new ContentChild ( BubblesDirective ) , childNavigationLineSettings : new ContentChild ( NavigationLinesDirective ) } } ) export class LayerDirective extends ComplexBase < LayerDirective > { public directivePropList : any ; public childInitialShapeSelection : any ; public childMarkerSettings : any ; public childBubbleSettings : any ; public childNavigationLineSettings : any ; public tags : string [ ] = [ 'initialShapeSelection' , 'markerSettings' , 'bubbleSettings' , 'navigationLineSettings' ] ; default public type : any ; default public animationDuration : any ; default public bingMapType : any ; /**
     * Sets and gets the options for customizing the bubble in maps.
     */ public bubbleSettings : any ; /**
     * Sets and gets the options for customizing the data-label in maps.
     */ public dataLabelSettings : any ; isobservable default public dataSource : any ; default public geometryType : any ; /**
     * Sets and gets the options for customizing the shapes when the mouse has hovered on maps.
     */ public highlightSettings : any ; /**
     * Sets and gets the settings for shapes that is selected at the time of rendering.
     */ public initialShapeSelection : any ; default public key : any ; default public layerType : any ; /**
     * Sets and gets the options for customizing the cluster of markers in maps.
     */ public markerClusterSettings : any ; /**
     * Sets and gets the options for customizing the marker in maps.
     */ public markerSettings : any ; /**
     * Sets and gets the options for customizing the navigation line in maps.
     */ public navigationLineSettings : any ; default public query : any ; /**
     * Sets and gets the options for customizing the shapes when clicking the shapes in maps.
     */ public selectionSettings : any ; isobservable default public shapeData : any ; default public shapeDataPath : any ; default public shapePropertyPath : any ; /**
     * Sets and gets the options to customize the shape of the maps.
     */ public shapeSettings : any ; default public staticMapType : any ; /**
     * Sets and gets the options for customizing the toggle state of shapes when selecting the legend in maps.
     */ public toggleLegendSettings : any ; /**
     * Sets and gets the options for customizing the tooltip for the layers, markers, and bubbles in maps.
     */ public tooltipSettings : any ; default public urlTemplate : any ; default public visible : any ; constructor ( private viewContainerRef ) { super ( ) ; setValue ( 'currentInstance' , this , this . viewContainerRef ) ; this . registerEvents ( outputs ) ; this . directivePropList = input ; } } private @ Directive ( { selector : 'ej-maps>e-layers' , queries : { children : new ContentChildren ( LayerDirective ) } , } ) export class LayersDirective extends ArrayBase < LayersDirective > { constructor ( ) { super ( 'layers' ) ; } }