On Wed, Apr 29, 2009 at 05:16:50PM +0200, Stefan Lischke wrote:
> Hi,
> 
> I desperatly try to change the style of a OpenLayers.Feature.Vector that i
> parsed with OpenLayers.Format.GeoJSON. Since i cannot not give the style in
> the Feature Constructor i'm searching for another way to do it.
> Is it possible to include the style atrributes within the GeoJSON?
> 
> I tried to use the old style by set the style attribute and redraw the
> feature [1,2] but it did not work. Any other Ideas?

http://docs.openlayers.org/library/feature_styling.html#stylemap

> Thanx in advance
> 
> Stefan
> 
> [1] http://www.mail-archive.com/users@openlayers.org/msg05090.html
> [2]
> http://n2.nabble.com/Change-style-only-for-one-feature-on-a-layer-td1829696.
> html
> 
> 
> _______________________________________________
> Users mailing list
> Users@openlayers.org
> http://openlayers.org/mailman/listinfo/users

-- 
Christopher Schmidt
MetaCarta
_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to