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

25 lines
718 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>
2017-05-27 10:15:57 +02:00
<agm-map
2017-06-21 13:47:21 +02:00
[disableDefaultUI]="true"
[zoomControl]="false"
[streetViewControl]="false"
[usePanning]="false"
[draggable]="false"
[zoom]="0"
[fitBounds]="true">
2017-06-21 13:47:21 +02:00
<agm-marker
*ngFor="let photo of mapPhotos"
[latitude]="photo.latitude"
[longitude]="photo.longitude"
[agmFitBounds]="true">
2017-06-21 13:47:21 +02:00
</agm-marker>
2017-05-27 10:15:57 +02:00
</agm-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>