1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-16 11:37:13 +02:00
pigallery2/frontend/app/gallery/map/map.gallery.component.html

22 lines
602 B
HTML
Raw Normal View History

2017-06-21 13:47:21 +02:00
<ng-template [ngIf]="mapPhotos.length>0">
<gallery-map-lightbox [photos]="photos"></gallery-map-lightbox>
<div id="map" #map>
2017-05-27 10:15:57 +02:00
<agm-map
2017-06-21 13:47:21 +02:00
(click)="click()"
[disableDefaultUI]="true"
[zoomControl]="false"
[streetViewControl]="false"
[usePanning]="false"
[draggable]="false"
[zoom]="0"
[latitude]="mapCenter.latitude"
[longitude]="mapCenter.longitude">
<agm-marker
*ngFor="let photo of mapPhotos"
[latitude]="photo.latitude"
[longitude]="photo.longitude">
</agm-marker>
2017-05-27 10:15:57 +02:00
</agm-map>
2017-06-21 13:47:21 +02:00
</div>
</ng-template>