问题描述
嗨,我正在使用flutter的mapbox gl包制作一个PWA项目来显示地图,但是到目前为止,我一直在努力在地图内部添加圆圈,但是我仍然没有弄清楚如何做到这一点。 。,所以这是代码的一部分
void onMapCreated(MapboxMapController controller) {
mapController = controller;
print(mapController);
mapController.addListener(_onMapChanged);
_extractMapInfo();
mapController.getTelemetryEnabled().then((isEnabled) {
setState(() {
_telemetryEnabled = isEnabled;
});
});
// mapController.addCircle(
// CircleOptions(
// geometry: LatLng(xxxx,xxxx),circleColor: "#FF0000",circleRadius: 200),// );
}
是否应该添加一些东西,以便在地图屏幕上添加一个圆或多个圆?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)