setMyLocationStyle method

Future setMyLocationStyle(
  1. MyLocationStyle style
)

Implementation

Future setMyLocationStyle(MyLocationStyle style) {
  final _styleJson = jsonEncode(style?.toJson() ?? MyLocationStyle().toJson());

  L.p('方法setMyLocationStyle dart端参数: styleJson -> $_styleJson');
  return _mapChannel.invokeMethod(
    'map#setMyLocationStyle',
    {'myLocationStyle': _styleJson},
  );
}