setIncludeMarkers method
设置缩放到显示所有点
Implementation
Future<bool> setIncludeMarkers(List<Map<String, double>> coordinates, bool animated) async {
try {
return await _channel.invokeMethod('setIncludeMarkers', {
'coordinates': coordinates,
'animated': animated,
});
} catch (e) {
print('Failed to set include markers: $e');
return false;
}
}