loadGeoDatabase method

Future<void> loadGeoDatabase(
  1. AGMLGeodatabase agmlGeodatabase
)

Implementation

Future<void> loadGeoDatabase(AGMLGeodatabase agmlGeodatabase) async {
  const method = '/loadGeoDatabaseFeatureLayer';

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