Hello. Having some issues setting a custom icon. Example here
http://jsfiddle.net/X6RKK/
The array has a pin/location 'type' and this will drive the icon image.
The issue is when I try and set it at icon: iconType
it results in the an error
TypeError: t.icon.createIcon is not a function
Any ideas? If I change this to become
icon: activity
then pins are plotted, so I think LeafIcon declaration is correct.
Thank you
Tom