loadMobileMapPackage method

Future<void> loadMobileMapPackage(
  1. AGMLMobileMapPackage agmlGeodatabase
)

Implementation

Future<void> loadMobileMapPackage(AGMLMobileMapPackage agmlGeodatabase) async {
  const method = '/loadMobileMapPackage';

  try {
    final channelResponse = await _channel.invokeMethod(method, agmlGeodatabase.toJson()) as String;
    onLoadLocalFeatureChannelResponse(AGMLLocalFeatureLayer(path: agmlGeodatabase.path!), channelResponse);
  } catch(e) {
    if(kDebugMode) print(e);
  }
}