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

Seems yOrdering is culprit here:
'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?



trapper7’s picture

Image link didn't work. Please see my example here:

trapper7’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


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

Pol’s picture

Status:Needs work» Fixed

Fixed, yOrdering to TRUE by default.

trapper7’s picture

Great news, thanks heaps for all your work!

trapper7’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


Could you try now ?

Thank you very much !

trapper7’s picture

Still no luck unfortunately

Pol’s picture

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


Pol’s picture

Status:Needs review» Fixed

Status:Fixed» Closed (fixed)

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