mirror of
https://github.com/bpatrik/pigallery2.git
synced 2024-12-16 11:37:13 +02:00
22 lines
602 B
HTML
22 lines
602 B
HTML
<ng-template [ngIf]="mapPhotos.length>0">
|
|
<gallery-map-lightbox [photos]="photos"></gallery-map-lightbox>
|
|
<div id="map" #map>
|
|
<agm-map
|
|
(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>
|
|
</agm-map>
|
|
</div>
|
|
</ng-template>
|