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:
parent
73d820d900
commit
0c2a21145f
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -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;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user