I get errors when in call to my server for features for some box where has no items to show.


link = "getmap.php?Id=196439&bbox=1.120605,60.489704,17.95166,64.158531"
gml_new = new OpenLayers.Layer.GML("ZONE", link, {format: OpenLayers.Format.GeoJSON, projection: map.displayProjection, styleMap : aStyleMap });

Is there any way to know if var = gml_new loaded or not something?

For example something like gml_new.features.count()  if result = 0 do nothing


Thankyou

-


_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to