onRemoveFeatureChannelResponse method
Implementation
void onRemoveFeatureChannelResponse(
AbstractAGMLFeatureLayer layer,
String response
) {
if(response == AGMLChannelStatusResponseEnum.success.name) {
if(layer.runtimeType == AGMLLocalFeatureLayer) {
_mapServiceLayers.remove(layer);
_onChangedMapServiceLayersStreamController.add(_mapServiceLayers);
} else {
_mapLocalLayers.remove(layer);
_onChangedMapLocalLayersStreamController.add(_mapLocalLayers);
}
}
}