onLoadLocalFeatureChannelResponse method

void onLoadLocalFeatureChannelResponse(
  1. AGMLLocalFeatureLayer layer,
  2. String response
)

Implementation

void onLoadLocalFeatureChannelResponse(
  AGMLLocalFeatureLayer layer,
  String response
) {
  if(response != AGMLChannelStatusResponseEnum.failure.name) {
    _mapLocalLayers.add(AGMLLocalFeatureLayer(
      id: response,
      path: layer.path,
      viewPoint: layer.viewPoint
    ));
    _onChangedMapLocalLayersStreamController.add(_mapLocalLayers);
  }
}