addTileOverlay method

Future addTileOverlay(
  1. List<LatLng> optionsList
)

Implementation

Future addTileOverlay(List<LatLng> optionsList) {
  // final _optionsJson = options.toJsonString();

  final _optionsListJson = jsonEncode(optionsList.map((it) => it.toJson()).toList());
  print('addTileOverlay dart端参数: _optionsJson ->');
  return _mapChannel.invokeMethod(
    'map#addTileOverlay',
    {'optionsList': _optionsListJson},
  );
}