1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/frontend/app/gallery/map/map.gallery.component.html

28 lines
901 B
HTML
Raw Normal View History

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