Opened 11 years ago

Closed 11 years ago

#649 closed defect (fixed)

Maplint layer is old Osma lowzoom at scales <12

Reported by: Thomas Wood Owned by: Tom Hughes
Priority: major Milestone:
Component: osmarender Version:
Keywords: Cc:


This seems to be an issue with the t@h server - should probably return transparent at such low zoom levels for maplint.

Attachments (1)

Maplint.patch (826 bytes) - added by Thomas Wood 11 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 11 years ago by Thomas Wood

Owner: changed from Jochen Topf to Tom Hughes

comment:2 Changed 11 years ago by Tom Hughes

So where exactly did that magic number come from? Is there no easier way of specifying a minimum zoom level? What happened to the idea of fixing the server not to be so stupid?

comment:3 Changed 11 years ago by Thomas Wood

I don't think so, looking at the OL docs, I got the magic number by checking which resolution the minimum zoom level responded too.

It could be possible to refer to the scale array directly.

Changed 11 years ago by Thomas Wood

Attachment: Maplint.patch added

comment:4 Changed 11 years ago by Thomas Wood

Change to numZoomLevels also fixes grey maplint tiles at resolutions >16

In #openlayers, three suggestions alternative to minScale were suggested, minResolution, setting the resolutions array or setting the scales array.

Each of these also involves magic numbers, the resolutions and scales arrays being most hackish. I had tried minResolution, but it didn't seem to work.

comment:5 Changed 11 years ago by Knut Arne Bjørndal

Resolution: fixed
Status: newclosed

This seems to work fine now

Note: See TracTickets for help on using tickets.