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.
Problem/Motivation
When popup features are clustered, there is no distinctive class applied to each result, making basic styling difficult.
Proposed resolution
Provide simple classes that are typically included in standard Drupal practice when multiples of an item are output, such as rows.
Remaining tasks
Patch to be supplied, reviewed and tested.
Comment | File | Size | Author |
---|---|---|---|
#2 | openlayers-popup-feature-cluster-first-last-class-1559852-2.patch | 952 bytes | anniegreens |
#1 | openlayers-popup-feature-cluster-first-last-class-1559852-1.patch | 854 bytes | anniegreens |
Comments
Comment #1
anniegreens CreditAttribution: anniegreens commentedPatch attached that provides simple 'first' and 'last' class on popup features in a cluster.
Comment #2
anniegreens CreditAttribution: anniegreens commentedNew patch accommodates one feature in a cluster, giving it both 'first' and 'last' classes.
Comment #3
PolI changed the code a bit, it's now committed.
http://drupalcode.org/project/openlayers.git/commit/cf6ab2a
Thanks.