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