Opened 11 years ago

Closed 11 years ago

#623 closed defect (wontfix)

Order of layers added causes old permalinks to show maplint layer incorrectly

Reported by: Thomas Wood Owned by: Tom Hughes
Priority: minor Milestone:
Component: mapnik Version:
Keywords: Cc:

Description

When the maplint layer was added, maplint replaced the position of marker in the permalink layers parameter. Old permalinks that had the markers layer set to show, will cause the maplint layer to show.

One solution is to swap the order in which the maplint and marker layers are added to the map. (see patch)

Old permalink examples: http://www.openstreetmap.org/?lat=48.21162&lon=16.33916&zoom=17&layers=0BT http://osm.ge.pythonmoo.co.uk/?lat=48.21162&lon=16.33916&zoom=17&layers=0BT functions as expected on my patched rails port.

Attachments (1)

map.js.diff (966 bytes) - added by Thomas Wood 11 years ago.
Reorders addition of maplint and marker layers

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by Thomas Wood

Attachment: map.js.diff added

Reorders addition of maplint and marker layers

comment:1 Changed 11 years ago by Tom Hughes

Priority: majorminor

I am aware of this, but it's probably a bit late to do anything about it now as people will have bookmarks both ways round. It's also going to be very hard to guarantee layer ordering permanently. It's a bit of an OpenLayers? limitation really.

comment:2 Changed 11 years ago by Tom Hughes

Resolution: wontfix
Status: newclosed

I'm going to close this - there is not point doing anything about it now anyway.

Note: See TracTickets for help on using tickets.