1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2025-01-14 14:43:17 +08:00
pigallery2/frontend/app/ui/gallery/map/map.gallery.component.html

28 lines
901 B
HTML
Raw Normal View History

2017-06-21 13:47:21 +02:00
<ng-template [ngIf]="mapPhotos.length>0">
2018-11-26 00:26:29 +01:00
<app-gallery-map-lightbox [photos]="photos" [gpxFiles]="metaFiles"></app-gallery-map-lightbox>
2017-06-21 13:47:21 +02:00
<div id="map" #map>
<yaga-map #yagaMap
[draggingEnabled]="false"
[keyboardEnabled]="false"
[tapEnabled]="false"
[boxZoomEnabled]="false"
[doubleClickZoomEnabled]="false">
<yaga-marker
2017-06-21 13:47:21 +02:00
*ngFor="let photo of mapPhotos"
[lat]="photo.lat"
[lng]="photo.lng">
</yaga-marker>
<yaga-attribution-control
2018-12-08 11:28:56 +01:00
prefix=""
[attributions]="mapService.ShortAttributions">
</yaga-attribution-control>
<yaga-tile-layer [url]="mapService.MapLayer"></yaga-tile-layer>
</yaga-map>
2018-05-27 12:04:35 -04:00
<div class="overlay" (click)="click()"
[style.margin-top.px]="-height"
[style.height.px]="height">
</div>
2017-06-21 13:47:21 +02:00
</div>
</ng-template>