I am trying to get the list of feature layers on GeoServer and then user can add layers into map at anytime they want. my question is:
OpenLayers.Protocol.WFS loading a layer, is "geometryName" required?
since from the response of "WFSGetCapabilities" request to Geoserver, for each featureType, there are only "name, title, srsName, and featureNS". If “geometryName” is required, I have to retrive this from "DescribeFeatureType" request by enumerating the feature's properties . however, these two requests are asynchronous, I am not sure how to load this layer without user's interaction input.
anybody helps? appreciated!!