I'd like each feature on my map to have a custom icon. Ideally, the icon to use would be a field on the node itself, so you could upload the icon. I've already got a custom style, but I don't see how to have the icon to show decided based on data in the feature itself. Any tips would be appreciated. Thanks!

Comments

zzolo’s picture

Component: Behaviors » OL API

Please see variable styling. http://drupal.org/node/754480

nod_’s picture

Status: Active » Fixed

Looks fixed to me.

pol’s picture

This will be possible out of the box the patch #1351786: Support Drupal image styles in Openlayers Styles will be reviewed.

Status: Fixed » Closed (fixed)

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