loadShapefileFeatureLayer method

Future<void> loadShapefileFeatureLayer(
  1. AGMLLocalShapefile agmlLocalShapefile
)

Implementation

Future<void> loadShapefileFeatureLayer(AGMLLocalShapefile agmlLocalShapefile) async {
  const method = '/loadShapefileFeatureLayer';

  try {
    final channelResponse = await _channel.invokeMethod(method, agmlLocalShapefile.toJson()) as String;
    onLoadLocalFeatureChannelResponse(agmlLocalShapefile, channelResponse);
  } on PlatformException catch(e) {
    if(kDebugMode) print(e);
  }
}