MarkerRenderSettings constructor
- GemImage? image,
- LineType polylineType = LineType.styleDefault,
- Color polylineInnerColor = defaultColor,
- Color polylineOuterColor = defaultColor,
- Color polygonFillColor = defaultColor,
- Color labelTextColor = defaultColor,
- double polylineInnerSize = defaultPolylineInnerSize,
- double polylineOuterSize = defaultPolylineOuterSize,
- double labelTextSize = defaultLabelTextSize,
- double imageSize = defaultImageSize,
- Set<
MarkerLabelingMode> labelingMode = const <MarkerLabelingMode>{MarkerLabelingMode.itemLabelVisible, MarkerLabelingMode.groupLabelVisible, MarkerLabelingMode.iconBottomCenter, MarkerLabelingMode.textAbove},
Create a MarkerRenderSettings instance.
Use this to configure how an individual Marker is rendered. All parameters are optional and have sensible defaults; only override the properties you need to change.
Parameters
image: OptionalGemImageused as the marker icon.polylineType: Style of polylines when the marker represents a line.polylineInnerColor/polylineOuterColor: Colors used to draw polylines.polygonFillColor: Fill color for polygon markers.labelTextColor/labelTextSize: Label color and size in mm.polylineInnerSize/polylineOuterSize: Stroke sizes for polylines.imageSize: Size of the marker image in mm. Use negative default to select SDK default behavior.labelingMode: Which label modes to enable for this marker.
Implementation
MarkerRenderSettings({
this.image,
this.polylineType = LineType.styleDefault,
this.polylineInnerColor = defaultColor,
this.polylineOuterColor = defaultColor,
this.polygonFillColor = defaultColor,
this.labelTextColor = defaultColor,
this.polylineInnerSize = defaultPolylineInnerSize,
this.polylineOuterSize = defaultPolylineOuterSize,
this.labelTextSize = defaultLabelTextSize,
this.imageSize = defaultImageSize,
this.labelingMode = const <MarkerLabelingMode>{
MarkerLabelingMode.itemLabelVisible,
MarkerLabelingMode.groupLabelVisible,
MarkerLabelingMode.iconBottomCenter,
MarkerLabelingMode.textAbove,
},
});