Right after a cvs update, while testing for the fix for http://drupal.org/node/825098 I noticed a weird
behaviour on editing a MULTIPOINT geometry.

To reproduce:
Manually type MULTIPOINT(0 0, 10 10) in the WKT field, save.
Go to EDIT again, use the 'move feature' tool to move one of the features.
Result: the feature being moved is NOT highlitghed, the other IS
Expected behaviour: the feature being moved is highligthed.

Comments

tmcw’s picture

From a cursory glance, isn't this an upstream OpenLayers bug, rather than a module bug?

zzolo’s picture

I can confirm this behavior.

This does not happen if you do not use MULTIPOINT, so I would assume this has to do handling arrays created from the GEOMETRYCOLLECTION. I still don't think we should support different data formats (#801108: Address Manual WKT CCK Input)

tmcw’s picture

Status: Active » Closed (duplicate)

Duplicate of #801108: Address Manual WKT CCK Input: somewhere down the line we need to make this work with all kinds of WKT input, despite the sad amount of javascript creep this will involve.