如何在MapBoxMapController

时间:2019-06-26 12:37:40

标签: flutter mapbox

我正在研究一个项目,正在使用Flutter,我选择mapbox在其上添加一个Map。 我找到了解决方案,但现在的问题是我不知道如何使用图标和标题添加标记 请大家帮忙 我的代码显示在下面

...         卡(           孩子:填充(             填充:const EdgeInsets.symmetric(vertical:30.0),             子:列(               儿童:[                 const Padding(                   填充:EdgeInsets.only(底部:12.0),                   子级:Text('这是一张地图。'),                 ),                 中央(                   子代:SizedBox(                     宽度:300.0,                     高度:300.0,                     子级:MapboxMap(                       onMapCreated:onMapCreated,                       initialCameraPosition:CameraPosition(                         目标:中心                         变焦:11.0,                       ),                       手势识别器:                           > [                         厂(                           ()=> EagerGestureRecognizer(),                         ),                       ]。设置(),                     ),                   ),                 ),               ],             ),           ),         ),

0 个答案:

没有答案