setLocation method

Future<void> setLocation(
  1. LatLng latLng, {
  2. required int mapId,
})

Implementation

Future<void> setLocation(LatLng latLng, {required int mapId}) async {
  await setChannel(mapId)
      .invokeMethod(Method.SetLocation, latLngToJson(latLng));
}