Compare commits
	
		
			2 Commits
		
	
	
		
			d02da8f334
			...
			8f958e33f1
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 8f958e33f1 | |||
| aa2f305b27 | 
| @@ -209,7 +209,7 @@ export class MapComponent implements OnInit, OnDestroy,AfterViewInit { | ||||
|    if(component && component.hasOwnProperty('clickedFeature')) { | ||||
|      (component as IClickedFeature).clickedFeature = this.clickedFeature; | ||||
|    } | ||||
|    if(component && component.hasOwnProperty('extraWide')) { | ||||
|    if(component && component.hasOwnProperty('extrawide')) { | ||||
|     this.store.dispatch(new mapActions.SetPanelExtraWide(true)); | ||||
|   } | ||||
|  } | ||||
| @@ -218,6 +218,9 @@ export class MapComponent implements OnInit, OnDestroy,AfterViewInit { | ||||
|     if(component && component.hasOwnProperty('clickedFeature')) { | ||||
|       (component as IClickedFeature).clickedFeature = null; | ||||
|     } | ||||
|     if(component && component.hasOwnProperty('extrawide')) { | ||||
|       this.store.dispatch(new mapActions.SetPanelExtraWide(false)); | ||||
|     } | ||||
|   } | ||||
|  | ||||
|   handlePrerender(event:any) { | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| <div class="side-panel hidden" [ngClass]="{'hidden':!visible,'collapsed':collapsed,'resizeable':(resizeable && mobile),'resizing':resizing,'left':left,'extrawide':extraWide}" [ngStyle]="{'top':top}"> | ||||
| <div class="side-panel hidden" [ngClass]="{'hidden':!visible,'collapsed':collapsed,'resizeable':(resizeable && mobile),'resizing':resizing,'left':left,'extrawide':extrawide}" [ngStyle]="{'top':top}"> | ||||
|   <div *ngIf="collapsable" class="arrow rounded-end p-2" (click)="handleToggleClick($event)"> | ||||
|     <i class="fal fa-chevron-left" aria-hidden="true"></i> | ||||
|   </div> | ||||
|   | ||||
| @@ -98,7 +98,7 @@ div.resizegrip > span { | ||||
|     top: 0px; | ||||
|   } | ||||
|    | ||||
|   .side-panel.extra-wide { | ||||
|   .side-panel.extrawide { | ||||
|     top:0px; | ||||
|     width: 44rem; | ||||
|     height:100%; | ||||
|   | ||||
| @@ -13,7 +13,7 @@ export class SidePanelComponent  implements OnChanges { | ||||
|   @Input() public collapsable: boolean; | ||||
|   @Input() public resizeable = false; | ||||
|   @Input() public left = false; | ||||
|   @Input() public extraWide = false; | ||||
|   @Input() public extrawide = false; | ||||
|   @Output() onResize: EventEmitter<number> = new EventEmitter<number>(); | ||||
|   @ViewChild("resizeGrip") elementView: ElementRef; | ||||
|   public mobile = true; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user