MyLocationMapObjectSource constructor

MyLocationMapObjectSource(
  1. Context context, [
  2. MyLocationControllerSettings controllerSettings = const MyLocationControllerSettings(),
  3. MyLocationMapObjectMarkerType markerType = MyLocationMapObjectMarkerType.mODEL
])

Создать источник маркера геопозиции.

Implementation

factory MyLocationMapObjectSource(
  Context context,
  [MyLocationControllerSettings controllerSettings = const MyLocationControllerSettings(),
  MyLocationMapObjectMarkerType markerType = MyLocationMapObjectMarkerType.mODEL
  ]) {
  var _a0 = context._copyFromDartTo_CContext();
  var _a1 = controllerSettings._copyFromDartTo_CMyLocationControllerSettings();
  var _a2 = markerType._copyFromDartTo_CMyLocationMapObjectMarkerType();
  _CMyLocationMapObjectSource res = _CMyLocationMapObjectSource_C_createWith_CContext_CMyLocationControllerSettings_CMyLocationMapObjectMarkerType(_a0, _a1, _a2);
  _a0._releaseIntermediate();
  return MyLocationMapObjectSource._create(res._impl);
}