The method getFeatureTypeNameFromGetFeatureInfoUrl should be rewritten to become more generic in its usage for other OGC requests or should at least extend the functionality of a generic method. For example it should also possible to pass other requests like an WMS GetMap or an WFS GetFeature to obtain the list of a given parameter, e.g. the LAYERS values. The signature could look like:
getValueFromRequestParameter(request: String, parameter: String)
The method
getFeatureTypeNameFromGetFeatureInfoUrlshould be rewritten to become more generic in its usage for other OGC requests or should at least extend the functionality of a generic method. For example it should also possible to pass other requests like an WMS GetMap or an WFS GetFeature to obtain the list of a given parameter, e.g. theLAYERSvalues. The signature could look like: