[OpenLayers-Dev] StyleMap example that uses patch #1120
Andreas Hocevar
andreas.hocevar at gmail.com
Thu Feb 21 14:07:00 EST 2008
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
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
>
More information about the Dev
mailing list