Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is it possible to add text label overlays to individual vector features? Perhaps set them as the title the same way as tooltips? I see that there's a label field and various text styling options within the layer style creation dialog, but this necessarily applies the same label to every feature on a layer.
I know OpenLayers is capable of doing this, but I can't figure out how to accomplish it with the Drupal module.
Comments
Comment #1
strk CreditAttribution: strk commentedYou reference attribute values with ${syntax}.
Like, for the title which is displayed by tooltip you'd use ${name}
The list of fields available for view-driven layers is printed in the view display configuration page.
Comment #2
zzolo CreditAttribution: zzolo commentedThis might be helpful: http://drupal.org/node/754480
Comment #3
tmcw CreditAttribution: tmcw commentedClosing: more information would be needed.