onLoadServiceFeatureChannelResponse method

void onLoadServiceFeatureChannelResponse(
  1. AGMLFeatureServiceLayer layer,
  2. String response
)

Implementation

void onLoadServiceFeatureChannelResponse(
  AGMLFeatureServiceLayer layer,
  String response
) {
  if(response != AGMLChannelStatusResponseEnum.failure.name) {
    _mapServiceLayers.add(AGMLFeatureServiceLayer(
      id: response,
      url: layer.url,
      viewPoint: layer.viewPoint
    ));
    _onChangedMapServiceLayersStreamController.add(_mapServiceLayers);
  }
}