We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bbbd4d commit 2219323Copy full SHA for 2219323
1 file changed
js/favoritesController.js
@@ -219,6 +219,7 @@ FavoritesController.prototype = {
219
category = category.replace(' ', '-');
220
var label = cluster.getChildCount();
221
return new L.DivIcon(L.extend({
222
+ iconAnchor: [14, 14],
223
className: 'leaflet-marker-favorite-cluster cluster-marker',
224
html: '<div class="favoriteClusterMarker '+category+'CategoryMarker"></div><span class="label">' + label + '</span>'
225
}, this.icon));
@@ -464,7 +465,7 @@ FavoritesController.prototype = {
464
465
466
// icon for markers
467
this.categoryDivIcon[rawName] = L.divIcon({
- iconAnchor: [10, 10],
468
+ iconAnchor: [9, 9],
469
className: 'leaflet-marker-favorite',
470
html: '<div class="favoriteMarker '+name+'CategoryMarker"></div>'
471
});
0 commit comments