Skip to content

Commit 8660340

Browse files
committed
emphasize stroke on marker, also tune the marker configuration in JavaScript source
1 parent d6f5bdf commit 8660340

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

users/static/img/marker.png

85 Bytes
Loading

users/static/js/user-map-component.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ function createIconMarkerBase(shadow_icon_path) {
3232
IconMarkerBase = L.Icon.extend({
3333
options: {
3434
shadowUrl: shadow_icon_path,
35-
iconSize: [19, 32],
36-
shadowSize: [42, 35],
37-
iconAnchor: [12, 32],
35+
iconSize: [20, 20],
36+
shadowSize: [28, 28],
37+
iconAnchor: [16, 24],
3838
shadowAnchor: [12, 32],
39-
popupAnchor: [-2, -32]
39+
popupAnchor: [-5, -28]
4040
}
4141
});
4242
return IconMarkerBase;

0 commit comments

Comments
 (0)