Hi,

On 9.10.2011 23:04, Eric Lemoine wrote:
On Wednesday, October 5, 2011, Jachym Cepicky<jachym.cepi...@gmail.com>


The problem is that our layer constructors don't have the same signature.
E.g. Layer.WMS receives four args, while Layer.WMTS receives one arg only.
Until we generalize 1-arg constructors I would personally not bother adding
lazy instantiation. Just my current viewport.

thanks for the answer. I do not see there any problem. Names of the args for each CLASS_NAME are described in the documentation, this method could relay on it.

One reason for this: easier deserialization of various stored map objects (in JSON format).

Jachym
_______________________________________________
Dev mailing list
d...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-dev

Reply via email to