loadGeoPackageFeatureLayer method

Future<void> loadGeoPackageFeatureLayer(
  1. AGMLLocalGeopackage agmlLocalGeodatabase
)

Implementation

Future<void> loadGeoPackageFeatureLayer(AGMLLocalGeopackage agmlLocalGeodatabase) async {
  const method = '/loadGeoPackageFeatureLayer';

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