问题标签 [fluttermap]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
list - 如何使用 Flutter Map 实现标记列表?
我对如何实现标记列表有疑问?还是其他东西?就像,将此代码分成不同的文件以解决此问题。我在我的应用程序上使用 Flutter Map。
这是我的代码,只有两个标记:
代码
看到问题了吗?我必须制作近 20 个标记。而且只有两个这么大。此外,在某些时候,甚至我自己也会感到困惑。你们推荐什么解决方案?提前谢谢回答我的人。
flutter - 使用 flutter_map 包创建没有地理位置的平铺地图
我想平铺一张大图像并在带有 flutter_map 包的 Flutter 应用程序中查看它。即,使用 flutter_map 包作为可缩放的平铺图像的大型位图查看器。
在网络上,我可以使用 Leaflet 实现这一点,并相信这是一个很常见的用例?
在 Leaflet 中,我可以按如下方式平铺图像并创建地图。假设图像大小为 7680x4320,缩放级别为 0 (512x512) 到级别 4(全图像分辨率)。
有没有办法或例子使用flutter_map和CrsSimple在Dart中实现同样的事情?
谢谢,
flutter - Flutter 上的免费自动完成地图
我正在使用 openstreetmap 实现地图,你们知道它是 100% 免费的。因此,我希望使用相同的方法来讨论使用文本字段搜索地址。这可能吗?或者我真的必须为 Google 或 Mapbox 等其他提供商生成 API 密钥?提前致谢
这是我的地图
flutter - 来自http请求的数据将字符串转换为颤振中的LatLng列表
地图数据的示例"[LatLng(12.82879876203614, 80.12908793985844),LatLng(12.83370395257544, 80.1245865225792),LatLng(12.839642030904889, 80.12061484158039),]"
现在是字符串,但我想要 LatLng 格式(不带“”双引号),例如[LatLng(12.82879876203614, 80.12908793985844),LatLng(12.83370395257544, 80.1245865225792),LatLng(12.839642030904889, 80.12061484158039),]
输出错误:type 'String' is not a subtype of type 'LatLng'
flutter - Flutter how to sort and group a map of data
I'm retrieving a map of data from api as follows
My objective is sort and group them with the key 'Chapter'. as given below
Similar to this there are multiple chapters. So how can I group them so that chapter name comes first then all the related values of chapter comes under that group? What is the proper way to get the values as this
** Update : - I'm trying to use for loop to iterate through the data. What i'm trying to do is to if the key exists group the data accordingly else to add the keys
How can i properly iterate and group it??
flutter - Flutter map 从 api 获取数据
我想从我的 django 的 api 中添加标记信息和flutter_map haw can id do it this my map view code 我使用 Flutter 2.5 我需要帮助
我所需要的只是使用flutter_map 构建我的新Flutter 应用程序,并使用Django 构建后端......我需要的是使用flutter_map 构建我的新Flutter 应用程序并使用Django 构建后端......
flutter - 如何添加多个 Gmap (https://pub.dev/packages/google_maps_flutter),如果将选项卡 b/w Gmap 切换到另一个 Gmap,当前不呈现标记
}
当我切换黑白两个谷歌地图标签时,它会给出这些错误
Err home google map : PlatformException(error, Error using newLatLngBounds(LatLngBounds, int): Map size can't be 0. 很可能,地图视图的布局尚未发生。要么等到布局发生,要么使用 newLatLngBounds(LatLngBounds , int, int, int) 允许您指定地图的尺寸。, null, com.google.maps.api.android.lib6.common.apiexception.c: Error using newLatLngBounds(LatLngBounds, int): Map size can' t 为 0。很可能,地图视图的布局尚未发生。要么等到布局发生,要么使用 newLatLngBounds(LatLngBounds, int, int, int) 来指定地图的尺寸。
超出 FrameTime I/chatty (1275) 中的样本计数:uid=11060(com.enbake.entracker) androidmapsapi-相同的 2 行
多次获得这个
MissingPluginException(在通道 plugins.flutter.io/google_maps_5 上找不到方法 polylines#update 的实现)
flutter - 如何在颤动中将标记从 API 动态放置到谷歌地图?
}
// 这是我在模型类的帮助下加载位置的第一个问题。
// 列出位置 = []; 经纬度;
}
我已经附加了我的模型类以及我从 api 获取数据的两个函数。但我无法在地图上放置标记。地图只显示空白。请帮帮我
flutter - 可以在 Flutter 应用中使用 Bing 地图
我想使用所有属性Bing Maps
,Flutter
如当前位置和自定义标记。
可以在 Flutter 应用中使用 Bing 地图吗?我想使用一个支持 android、ios 和 web 的颤振包。例如,通过flutter_map
包我可以使用 Bing 地图吗?有人有什么建议吗?
flutter - 如何使用flutter_map MapEventLongPress?
我正在使用 flutter_map 应用程序,并且我有带有标记的地图设置,但我不知道如何使用 MapEventLongPress 类事件。
基本上我想长按地图并从事件中获取坐标,有人愿意帮助我朝那个方向前进吗?
谷歌上的内容不多,我只能在https://pub.dev/documentation/flutter_map/latest/flutter_map.plugin_api/MapEventLongPress-class.html找到类文档,但我真的需要一些示例代码才能开始.