草庐IT

lastMapPosition

全部标签

dart - 如何在 Google Maps Flutter 插件上添加折线?

我用的是官方GoogleMapsFlutterplugin显示map,它工作得很好,但现在我想在map上显示一条路线,所以我使用thispackage为我提供路线,我只需添加Polylines. 最佳答案 我用这个插件解决了同样的问题google_maps_flutter:^0.5.19import'package:google_maps_flutter/google_maps_flutter.dart';staticconstLatLng_center=constLatLng(33.738045,73.084488);finalS

dart - 如何在 Google Maps Flutter 插件上添加折线?

我用的是官方GoogleMapsFlutterplugin显示map,它工作得很好,但现在我想在map上显示一条路线,所以我使用thispackage为我提供路线,我只需添加Polylines. 最佳答案 我用这个插件解决了同样的问题google_maps_flutter:^0.5.19import'package:google_maps_flutter/google_maps_flutter.dart';staticconstLatLng_center=constLatLng(33.738045,73.084488);finalS