如何在使用颤振地图时在颤振中获取地理服务器 GetFeatureInfo 所需的单击区域的边界框?

问题描述

我已经使用 wms 自定义图块创建了地图,现在当我想获取特定纬度经度的数据时,我需要在地理服务器层的 getfeatureinfo 中传递边界框参数,我在 Flutter Gis 中很新,我如何实现它?我在 Google 和 stackoverflow 中查找了答案,但找不到任何相关内容。我的代码如下

FlutterMap(
            options: MapOptions(
              center: LatLng(18.5204,73.8567),zoom: 12.0,onTap: (point) {
                Alert(
                  context: context,// type: AlertType.success,title: "@R_655_4045@ion List",desc: "Pipe Diameter : 900",buttons: [
                    DialogButton(
                      child: Text(
                        "Completed",style: TextStyle(color: Colors.white,fontSize: 15),),onpressed: () => Navigator.pop(context),width: 120,DialogButton(
                      child: Text(
                        "Incompleted",// onpressed: () => Navigator.of(context).push(new MaterialPageRoute(builder: (context) => Home())),],).show();
              },// swPanBoundary: LatLng(56.6877,11.5089),// nePanBoundary: LatLng(56.7378,11.6644),layers: [
              TileLayerOptions(
                urlTemplate:
                    "http://www.google.cn/maps/vt?lyrs=m@189&gl=cn&x={x}&y={y}&z={z}",maxZoom: 50,subdomains: ['a','b','c'],TileLayerOptions(
                wmsOptions: WMSTileLayerOptions(
                  baseUrl:
                      'http://103.224.247.79:8181/geoserver/pmc_drain_work/wms/?',layers: ['pmc_drain_work:chAmbers_zone_$zone'],backgroundColor: Colors.transparent,)

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)