Ticket #1446 (closed bug: duplicate)

Opened 5 years ago

Last modified 5 years ago

Openlayers load layer even if visibility=false

Reported by: filipe Owned by:
Priority: minor Milestone: 2.6 Release
Component: Map Version: 2.5
Keywords: Cc: filipe@…
State: Complete

Description

Openlayers always loads layer (even if visibility=false) if 'scales' array differs from base one. for instance, my base layer has this scales array: [5000000000, 3000000000, 1000000000, 500000000, 100000000, 50000000, 30000000]

All layers that uses this scales array: [1000000000, 500000000, 100000000, 50000000, 30000000]

are always loaded, even if visibility=false . the following patch solves this issue:

Cheers,

filipe

Attachments

map.diff Download (0.9 KB) - added by filipe 5 years ago.
patch

Change History

Changed 5 years ago by filipe

patch

follow-up: ↓ 2   Changed 5 years ago by sderle

  • state set to Review

do we have a CLA from Felipe? if not, Felipe, please submit one.

in reply to: ↑ 1   Changed 5 years ago by filipe

Replying to sderle:

do we have a CLA from Felipe? if not, Felipe, please submit one.

Can I scan it and send through e-mail besides fax?

  Changed 5 years ago by crschmidt

Filipe:

Pleaes feel free to send it to openlayers@… instead of faxing it. Thanks.

  Changed 5 years ago by crschmidt

  • status changed from new to closed
  • state changed from Review to Complete
  • resolution set to duplicate

Filipe:

This bug was fixed in trunk a couple months ago. This is a duplicate of #937. Thanks for the report, and sorry for not investigating earlier.

If you can confirm that this is still happening in trunk, that would be great: please reopen the bug. But I think our earlier changes were meant to do exactly this (though it's far more complex due to other issues for which moveTo needs to be called.)

Note: See TracTickets for help on using tickets.