My markers aren't ordering as expected.
Only local images are allowed.

Seems yOrdering is culprit here: http://openlayers.org/dev/examples/ordering.html
'You can enable y-ordering by passing the parameter yOrdering: true in the vector layer's options hash.'

Is it possible to set this within the drupal openlayers admin, or will I need to edit code?

thanks

Comments

regan.dawson@gmail.com’s picture

Image link didn't work. Please see my example here: http://i.stack.imgur.com/YiOhY.png

regan.dawson@gmail.com’s picture

Category: support » bug
Priority: Normal » Major

If there is no option to control this then this is quite a bad bug surely, looks ridiculous with the markers randomly ordered.

Pol’s picture

Status: Active » Needs work

Hello,

This is something to do indeed ! A patch is welcome :)

Pol’s picture

Status: Needs work » Fixed

Fixed, yOrdering to TRUE by default.

regan.dawson@gmail.com’s picture

Great news, thanks heaps for all your work!

regan.dawson@gmail.com’s picture

Status: Fixed » Needs review

I have just been testing with the latest revision and unfortunately am still getting incorrect behaviour with the markers ordered incorrectly... :/

Pol’s picture

Assigned: Unassigned » Pol
Pol’s picture

Hi,

Could you try now ?

Thank you very much !

regan.dawson@gmail.com’s picture

Still no luck unfortunately

Pol’s picture

Just committed some code to fix the problem, could you try again ?

thanks!

Pol’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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