[OpenLayers-Users] how to know if there is some feature inside a OpenLayers.Layer.GML

2009-06-05 Thread lortiz
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 :

[OpenLayers-Users] how to know if there is some feature inside a OpenLayers.Layer.GML

2009-06-04 Thread Luis Ortiz --CompeGPS Team--
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, styleMa