MarkerOptions constructor

MarkerOptions({
  1. HtmlElement? element,
  2. Point? offset,
  3. String? anchor,
  4. String? color,
  5. bool? draggable,
  6. num? rotation,
  7. String? rotationAlignment,
  8. String? pitchAlignment,
})

Implementation

factory MarkerOptions({
  HtmlElement? element,
  Point? offset,
  String? anchor,
  String? color,
  bool? draggable,
  num? rotation,
  String? rotationAlignment,
  String? pitchAlignment,
}) =>
    MarkerOptions.fromJsObject(MarkerOptionsJsImpl(
      element: element,
      offset: offset?.jsObject,
      anchor: anchor,
      color: color,
      draggable: draggable,
      rotation: rotation,
      rotationAlignment: rotationAlignment,
      pitchAlignment: pitchAlignment,
    ));