1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2025-02-09 13:46:56 +02:00

rounding map icons

This commit is contained in:
Patrik J. Braun 2021-05-04 22:18:27 +02:00
parent 73d820d900
commit 0c2a21145f
2 changed files with 7 additions and 0 deletions

View File

@ -135,5 +135,11 @@
line-height: 39px;
}
::ng-deep img.leaflet-marker-icon.photo-icon {
border-radius: 50%!important;
border: 2px rgba(0, 123, 255, 0.6) solid;
}

View File

@ -262,6 +262,7 @@ export class GalleryMapLightboxComponent implements OnChanges {
mkr.setIcon(icon({
iconUrl: iconTh.Src,
iconSize: this.usedIconSize, // size of the icon
className: 'photo-icon'
}));
mkr.options.alt = p.name;
};