MarkerOptions.fromJson constructor
MarkerOptions.fromJson(
- Map<String, dynamic> json
)
Implementation
MarkerOptions.fromJson(Map<String, dynamic> json) {
alpha = json['alpha'];
anchorU = json['anchorU'];
anchorV = json['anchorV'];
autoOverturnInfoWindow = json['autoOverturnInfoWindow'];
belowMaskLayer = json['belowMaskLayer'];
displayLevel = json['displayLevel'];
draggable = json['draggable'];
icon = json['icon'];
icons = json['icons'];
infoWindowEnable = json['infoWindowEnable'];
infoWindowOffsetX = json['infoWindowOffsetX'];
infoWindowOffsetY = json['infoWindowOffsetY'];
isFlat = json['isFlat'];
isGps = json['isGps'];
period = json['period'];
position = json['position'] != null ? LatLng.fromJson(json['position']) : null;
rotateAngle = json['rotateAngle'];
snippet = json['snippet'];
title = json['title'];
visible = json['visible'];
zIndex = json['zIndex'];
haveBubble = json['haveBubble'];
haveAddressLabel = json['haveAddressLabel'];
bubbleContent = json['bubbleContent'];
addressLabelContent = json['addressLabelContent'];
}