Dejung, Dejung Gewissler wrote: > Does anyone have an simple example page that uses the new StyleMap > functionality? My styles are now broken after I tried using the latest > trunk. I assume that is because of the new styling methodology. Anyway > doesn't matter why, but I would like to learn more about it. ... and yes > I do already know about http://trac.openlayers.org/wiki/Styles :) >
An example that might give you an idea is http://www.openlayers.org/dev/examples/georss-flickr.html I will try to add additional documentation on the new syles stuff before OpenLayers 2.6 is out. Also, there will be more convenience functions to make working with StyleMaps easier (but probably too late for 2.6). Were you using OpenLayers.Style objects in your application, or plain old symbolizers (aka style hashes)? In the latter case, you should not have any problems, as long as you do as described in http://trac.openlayers.org/wiki/Release/2.6/Notes Regards, Andreas. > Thanks, > Dejung > > > _______________________________________________ > Dev mailing list > [email protected] > http://openlayers.org/mailman/listinfo/dev > _______________________________________________ Dev mailing list [email protected] http://openlayers.org/mailman/listinfo/dev
