On Mon, Oct 10, 2011 at 7:12 AM, Jachym Cepicky <jachym.cepi...@gmail.com> wrote: > 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.
Read "viewpoint" here :) >> > 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. Please show how the addLayer fonction would create the layer instance. -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 96 Mail : eric.lemo...@camptocamp.com http://www.camptocamp.com _______________________________________________ Dev mailing list d...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-dev