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

13.63% Statements 3/22
16.66% Branches 1/6
0% Functions 0/2
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 262x                                             1x    
@if (page) {
  @if (emptyMessage && !page.content.length) {
    <p class="no-results">{{ emptyMessage }}</p>
  } @else{
    <mgl-map [mapStyle]="mapStyle"
             (mapError)="onMapError($event)"
             (mapLoad)="mapLoaded($event)"
             appResizeHandle>
      <mgl-control mglNavigation
                   position="top-left"
                   [visualizePitch]="true"
                   [visualizeRoll]="true"
                   [showCompass]="true"
                   [showZoom]="true"></mgl-control>
      <mgl-control mglScale
                   position="bottom-left"
                   unit="imperial"></mgl-control>
    </mgl-map>
    @if (pageControls) {
      <app-page-controls [page]="page"></app-page-controls>
    }
  }
} @else {
  <app-loading></app-loading>
}