Is there anyway to get geometry type of wms layer in openlayers? If yes, please tell me how! In my code, i defined a wms layer as following:
layerThuadat = new OpenLayers.Layer.WMS("Thua dat", url + "wms",
{
LAYERS: sLayer, STYLES: '', format: format,transparent : true
},
{
singleTile : true, ratio : 1, isBaseLayer : true, yx : {
sprojection : false
}
});
map.addLayers([layerThuadat]);
Thank.