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

19 lines
572 B
HTML
Raw Normal View History

2017-02-05 18:27:58 +02:00
<gallery-map-lightbox [photos]="photos"></gallery-map-lightbox>
<div id="map" #map>
2017-05-27 10:15:57 +02:00
<agm-map
2017-02-05 18:27:58 +02:00
(click)="click()"
2017-01-23 22:29:07 +02:00
[disableDefaultUI]="true"
[zoomControl]="false"
[streetViewControl]="false"
2017-02-05 18:27:58 +02:00
[usePanning]="false"
[draggable]="false"
2017-01-23 22:29:07 +02:00
[zoom]="0"
[latitude]="mapCenter.latitude"
[longitude]="mapCenter.longitude">
2017-05-27 10:15:57 +02:00
<agm-marker
*ngFor="let photo of mapPhotos"
[latitude]="photo.latitude"
2017-02-05 18:27:58 +02:00
[longitude]="photo.longitude">
2017-05-27 10:15:57 +02:00
</agm-marker>
</agm-map>
2017-02-05 18:27:58 +02:00
</div>