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.

Files: 
CommentFileSizeAuthor
#2 openlayers-popup-feature-cluster-first-last-class-1559852-2.patch952 bytesanniegreens
PASSED: [[SimpleTest]]: [MySQL] 238 pass(es).
[ View ]
#1 openlayers-popup-feature-cluster-first-last-class-1559852-1.patch854 bytesanniegreens
PASSED: [[SimpleTest]]: [MySQL] 238 pass(es).
[ View ]

Comments

Status:Active» Needs review
StatusFileSize
new854 bytes
PASSED: [[SimpleTest]]: [MySQL] 238 pass(es).
[ View ]

Patch attached that provides simple 'first' and 'last' class on popup features in a cluster.

StatusFileSize
new952 bytes
PASSED: [[SimpleTest]]: [MySQL] 238 pass(es).
[ View ]

New patch accommodates one feature in a cluster, giving it both 'first' and 'last' classes.

Status:Needs review» Fixed

I changed the code a bit, it's now committed.

http://drupalcode.org/project/openlayers.git/commit/cf6ab2a

Thanks.

Status:Fixed» Closed (fixed)

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