Change on-map home icon

This commit is contained in:
Pieter Vander Vennet 2020-11-15 16:54:41 +01:00
commit c1490267e6
12 changed files with 73 additions and 95 deletions

View file

@ -96,11 +96,11 @@ export class UserBadge extends UIElement {
if (user.home !== undefined) {
const icon = L.icon({
iconUrl: Img.AsData(Svg.home),
iconSize: [20, 20],
iconAnchor: [10, 10]
iconUrl: Img.AsData(Svg.home_white_bg),
iconSize: [30, 30],
iconAnchor: [15, 15]
});
L.marker([user.home.lat, user.home.lon], {icon: icon}).addTo(State.state.bm.map);
L.marker([user.home.lat, user.home.lon], {icon: icon}).addTo(State.state.bm.map)
}
const settings =