[OpenLayers-Users] Changing style of feature parsed by GeoJSON
Stefan Lischke
lischke at novacom.net
Wed Apr 29 11:16:50 EDT 2009
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?
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
More information about the Users
mailing list