mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08: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>
|