Open shrikantkunte opened 5 years ago
In my app I want to send a feature request to WMS server. In openlayer I found a solution
MyLayer.getSource() .getGetFeatureInfoUrl( evt.coordinate, map.getView().getResolution(), map.getView().getProjection(), { 'INFO_FORMAT': 'application/json', 'propertyName': 'OBJECTID,HOUSE_NUM' } );
This creates an URL of feature request. Is there any alternative method for "getGetFeatureInfoUrl" in mapbox-gl. Example will be very helpful.
In my app I want to send a feature request to WMS server. In openlayer I found a solution
This creates an URL of feature request. Is there any alternative method for "getGetFeatureInfoUrl" in mapbox-gl. Example will be very helpful.