Just created a patch which allows you to set the icon settings (like in the field formatter settings) for the Views style plugin.

Comments

yannickoo’s picture

Status: Active » Needs review
StatusFileSize
new4.49 KB
yannickoo’s picture

Project: Leaflet Google Maps » Leaflet

Sorry, wrong project :)

pvhee’s picture

Status: Needs review » Fixed

Thanks for the patch! I've fixed an issue with not having icons (which would not show up the original icon), and added support for shadowAnchor.

Note that there is now also support to add icons via code, in the map definition (see leaflet.api.php for an example). Configuring via code is still the "cleanest" way, but Leaflet now also supports adding custom icons via Views or via formatters.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.