OpenLayers OpenLayers

Ticket #335 (closed feature: fixed)

Opened 3 years ago

Last modified 3 years ago

Document setOptions

Reported by: crschmidt Assigned to:
Priority: major Milestone: 2.2 Release
Component: general Version:
Keywords: Cc:
State:

Description

Currently:

l = new OpenLayers.Layer.WMS("foo", "url"); l.resolutions = [1, .5, .25]; map.addLayer();

l will now have a resolutions array which is not the same as the one on the object, since only layer.options and map.options are checked on line 329 of layer.js, in initResolutions.

Evaluate this before 2.2.

Change History

10/09/06 19:35:35 changed by crschmidt

  • summary changed from Evaluate initResolutions function to Document setOptions.

Setting options in this manner is no longer supported. Instead, options should be set via setOptions or set on object creation.

10/09/06 20:49:17 changed by crschmidt

  • status changed from new to closed.
  • resolution set to fixed.