2017-02-05 17:27:58 +01:00
|
|
|
<div [hidden]="!visible" #root>
|
|
|
|
|
2017-07-23 22:36:53 +02:00
|
|
|
<div class="lightbox"
|
|
|
|
[style.width.px]="lightboxDimension.width"
|
|
|
|
[style.height.px]="lightboxDimension.height"
|
|
|
|
[style.top.px]="lightboxDimension.top"
|
|
|
|
[style.left.px]="lightboxDimension.left"
|
|
|
|
[style.opacity]="opacity">
|
2018-12-07 22:06:13 +01:00
|
|
|
|
|
|
|
<yaga-map #yagaMap
|
|
|
|
[style.width.px]="mapDimension.width"
|
|
|
|
[style.height.px]="mapDimension.height">
|
|
|
|
<yaga-polyline *ngFor="let path of paths"
|
|
|
|
[latLngs]="path">
|
|
|
|
</yaga-polyline>
|
|
|
|
<yaga-marker
|
2018-11-26 00:26:29 +01:00
|
|
|
*ngFor="let path of paths"
|
2018-12-07 22:06:13 +01:00
|
|
|
[lat]="path[0].lat"
|
|
|
|
[lng]="path[1].lng">
|
|
|
|
</yaga-marker>
|
|
|
|
<yaga-marker
|
2017-07-23 22:36:53 +02:00
|
|
|
*ngFor="let photo of mapPhotos"
|
2018-12-07 22:06:13 +01:00
|
|
|
[lat]="photo.lat"
|
|
|
|
[lng]="photo.lng">
|
|
|
|
<yaga-icon
|
|
|
|
*ngIf="photo.iconUrl"
|
|
|
|
[iconUrl]="photo.iconUrl"
|
|
|
|
[iconSize]="iconSize"
|
|
|
|
></yaga-icon>
|
|
|
|
<yaga-popup
|
|
|
|
(open)="loadPreview(photo)"
|
|
|
|
[minWidth]="photo.preview.width">
|
2017-07-23 22:36:53 +02:00
|
|
|
<img *ngIf="photo.preview.thumbnail.Src"
|
|
|
|
[style.width.px]="photo.preview.width"
|
|
|
|
[style.height.px]="photo.preview.height"
|
2018-11-02 10:40:09 +01:00
|
|
|
[src]="photo.preview.thumbnail.Src | fixOrientation:photo.orientation | async">
|
2017-07-23 22:36:53 +02:00
|
|
|
<div class="preview-loading"
|
2018-12-07 22:06:13 +01:00
|
|
|
*ngIf="!photo.preview.thumbnail.Src"
|
2017-07-23 22:36:53 +02:00
|
|
|
[style.width.px]="photo.preview.width"
|
2018-12-07 22:06:13 +01:00
|
|
|
[style.height.px]="photo.preview.height">
|
2018-05-13 16:59:57 -04:00
|
|
|
<span class="oi"
|
|
|
|
[ngClass]="photo.preview.thumbnail.Error ? 'oi-warning' : 'oi-picture'"
|
2017-07-23 22:36:53 +02:00
|
|
|
aria-hidden="true">
|
|
|
|
</span>
|
|
|
|
</div>
|
2018-12-07 22:06:13 +01:00
|
|
|
</yaga-popup>
|
|
|
|
</yaga-marker>
|
|
|
|
<yaga-attribution-control
|
2018-12-08 11:28:56 +01:00
|
|
|
prefix=""
|
|
|
|
[attributions]="mapService.Attributions">
|
|
|
|
</yaga-attribution-control>
|
2018-12-07 22:06:13 +01:00
|
|
|
<yaga-tile-layer [url]="mapService.MapLayer"></yaga-tile-layer>
|
|
|
|
</yaga-map>
|
2017-07-23 22:36:53 +02:00
|
|
|
</div>
|
2017-02-05 17:27:58 +01:00
|
|
|
|
|
|
|
|
2018-05-27 12:04:35 -04:00
|
|
|
<div id="controllers-container" *ngIf="controllersVisible">
|
2017-07-23 22:36:53 +02:00
|
|
|
<div id="controls">
|
2017-02-05 17:27:58 +01:00
|
|
|
<span>
|
2018-05-13 16:59:57 -04:00
|
|
|
<span class="oi oi-fullscreen-exit highlight"
|
2017-02-05 17:27:58 +01:00
|
|
|
*ngIf="fullScreenService.isFullScreenEnabled()"
|
|
|
|
(click)="fullScreenService.exitFullScreen()" title="toggle fullscreen"></span>
|
|
|
|
</span>
|
2017-07-23 22:36:53 +02:00
|
|
|
<span>
|
2018-05-13 16:59:57 -04:00
|
|
|
<span class="oi oi-fullscreen-enter highlight"
|
2017-02-05 17:27:58 +01:00
|
|
|
*ngIf="!fullScreenService.isFullScreenEnabled()"
|
|
|
|
(click)="fullScreenService.showFullScreen(root)" title="toggle fullscreen"></span>
|
|
|
|
</span>
|
2017-07-23 22:36:53 +02:00
|
|
|
<span>
|
2018-05-13 16:59:57 -04:00
|
|
|
<span class="oi oi-x highlight" (click)="hide()" title="close"></span>
|
2017-02-05 17:27:58 +01:00
|
|
|
</span>
|
|
|
|
</div>
|
2017-07-23 22:36:53 +02:00
|
|
|
|
|
|
|
</div>
|
2017-02-05 17:27:58 +01:00
|
|
|
</div>
|