Leaflet maps multiple icon types in views I have a leaflet map for various attraction types which works fine with using the standard blue icon.

What I'd like is to be able to specify a different icon based on the attraction type field.

I thought this feature existed based on https://drupal.org/node/1882806 but I can't seem to get anything to work.

I've been trying to set it up through the Leaflet settings in views using the POINT ICON Field (html DivIcon) setup. However, whatever I try seems to end up with a page full of errors and no icons.

I can't find any documentation on using this feature so would really appreciated some help.

Thanks,
Chris
Here is what I did. You should be able to tweak it to fit your needs:


I created terms and uploaded images for them.
I created nodes and associated terms with them.
I went ahead and created my leaflet view, using the appropriate
token in Point Icon in leaflet settings.

I hope that helps.