如何在google_maps_flutter图标上应用onpress属性?

时间:2019-01-16 09:15:04

标签: flutter-dependencies

我想在地图标记显示时显示警告框。                 谷歌地图(                     onMapCreated :( GoogleMapController控制器){                       position.forEach((item){                         InkWell(onTap:(){                           getCall();                           controller.addMarker(                             MarkerOptions(                               abuseTapEvents:是的,                               infoWindowText:InfoWindowText('title','description'),                               位置:LatLng(item ['lat'] item ['long']),                             ),                           );                         });                       });                     },                   ),                 );

我有多个标记。但是我没有得到如何缩放以及如何在标记上应用onpress的信息。

0 个答案:

没有答案