[OpenLayers-Users] OpenLayers.Format.WMC.v1 in 2.8 vs. 2.9
Bart van den Eijnden
bartvde at osgis.nl
Mon May 10 14:33:04 EDT 2010
Hi,
most of the changes are descirbed here,
http://trac.openlayers.org/ticket/2251
however there should not be any *API* changes, but it seems your usage was the internal structures and not the API right?
Best regards,
Bart
On May 10, 2010, at 8:02 PM, myOpenLayersUName wrote:
>
> There seems to be some pretty significant differences between the hierarchy
> of the context that is returned after the read_wmc_Layer function is run in
> OpenLayers 2.8 vs. 2.9.
>
> In 2.8, there is actually a layer created with params and options attached.
> In 2.9, there seems to be only an associative array added to a
> "layersContext" object that doesn't have a layer in it at all.
>
> Can someone point me to some documentation that discusses the changes
> between the two versions? Perhaps a mapping chart to tell me where I will
> find the pieces of information imported now? For example, in 2.8, a lot of
> the layer's Server information was placed in the params object under
> layerInfo. In our code, we needed used the Server's title attribute from our
> WMCs as well, and extended the Format read to read that title attribute and
> append it to the layerInfo.params object as well. Now, it's looking like I'm
> just appending title to the layerContext object and I'm uncertain what other
> things are found in that object. Is the layer's title already in there?
>
> Also, how does the layer itself get created now if the Format read isn't
> doing so?
>
> Basically, 2.9 appears so completely different from 2.8, I can't get it to
> work for our application anymore and am facing a pretty significant re-write
> to adjust. The fact that I can't find anything in any documentation (release
> notes even) that mentions that it is happening is a little frightening.
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/OpenLayers-Format-WMC-v1-in-2-8-vs-2-9-tp5032030p5032030.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
More information about the Users
mailing list