Hi list,

question about the Format.WMC code.

When it reads a scale from a WMC doc, it is stored in the options array of
the layer.

But when it writes, it uses the minScale or maxScale property of the layer.

Why is this? I would expect when writing to also use the options.minScale
and options.maxScale.

In my situation options.minScale is 35000 (the correct value) and
layer.minScale is 10000000.999999998, don't ask me why :-). So when
serializing the WMC the wrong information is written.

Best regards,
Bart

_______________________________________________
Dev mailing list
[email protected]
http://openlayers.org/mailman/listinfo/dev

Reply via email to