setCoordType method

void setCoordType (
  1. BMF_COORD_TYPE coordType
)

设置地图坐标类型

coordType 坐标类型,目前不支持将全局坐标类型设置为WGS84

Implementation

static void setCoordType(BMF_COORD_TYPE coordType) async {
  try {
    await MethodChannel('flutter_bmfbase')
        .invokeMethod(kSetAPIKey, {'BMF_COORD_TYPE': coordType.index});
  } on PlatformException catch (e) {
    print(e.toString());
  }
}