Hi,
This is my first post and I wanna congratulate for your project.
I'm creating a layer based in geojson output.
var geojson_format = new OpenLayers.Format.GeoJSON();
var gs = geojson_format.read( my_output ,"FeatureCollection");
And in this output I have some propierties I wanna read in my code for
styling the features.
I tried to use filter parameter in read function but It doesn't works to
me. Something like that:
var gs = geojson_format.read( my_output
,"FeatureCollection",function(a){alert('hello'););
vector_layer.addFeatures(gs);
Can somebody help me?
Thanks,
Pedro
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users