All files / app/component/map map.component.html

15% Statements 3/20
16.66% Branches 1/6
0% Functions 0/4
18.18% Lines 2/11

Press n or j to go to the next uncovered block, b, p or k for the previous block.

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 2814x                                                 7x    
@if (page) {
  <mgl-map [mapStyle]="mapStyle"
           [bounds]="view ? undefined : bounds"
           [center]="view?.center"
           [zoom]="view?.zoom"
           [fitBoundsOptions]="fitBoundsOptions"
           (mapError)="onMapError($event)"
           (styleData)="styleLoaded($event.target)"
           (mapLoad)="mapLoaded($event)"
           (dragstart)="$event.preventDefault()"
           appResizeHandle>
    <mgl-control mglScale
                 position="bottom-left"
                 unit="imperial"></mgl-control>
    <mgl-control mglNavigation
                 position="top-left"
                 [visualizePitch]="true"
                 [visualizeRoll]="true"
                 [showCompass]="true"
                 [showZoom]="true"></mgl-control>
  </mgl-map>
  @if (pageControls) {
    <app-page-controls [page]="page"></app-page-controls>
  }
} @else {
  <app-loading></app-loading>
}