Active
Project:
Leaflet Markercluster
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Dec 2012 at 11:33 UTC
Updated:
2 Jan 2013 at 22:55 UTC
Ideally, the user is able to select (or via the hook_leaflet_map_info) the icon for the clusters. All other options for markercluster are currently changeable via the map_info hook, but icons are not.
Comments
Comment #1
rdeboerFrom memory,... so I may be wrong... but the cluster "icons" are in fact HTML elements with rounded corners to make them appear like discs, right?
Doesn't mean there shouldn't be a UI for it...
Comment #2
pvhee commentedIndeed, these are the DivIcons, but the icons can also be png's and work just like these for Leaflet I've already committed support for image icons here: http://drupalcode.org/project/leaflet_markercluster.git/commit/9cf90c7, but I think it would be good to think of a UI, or easy JS overrides, for DivIcon.