diff --git a/static/js/map.js b/static/js/map.js index d55694a..302c831 100644 --- a/static/js/map.js +++ b/static/js/map.js @@ -1,8 +1,11 @@ function emoji_icon(emoji) { + var iconStyle = "
" + emoji + "
"; + return L.divIcon({ className: 'custom-div-icon', - html: "
" + emoji + "
", - iconSize: [30, 42], + html: iconStyle, + iconSize: [60, 60], + iconAnchor: [15, 15], }); }