-
public final class CircleKt
-
-
Method Summary
Modifier and Type Method Description final static UnitCircle(LatLng center, Boolean clickable, Color fillColor, Double radius, Color strokeColor, List<PatternItem> strokePattern, Float strokeWidth, Object tag, Boolean visible, Float zIndex, Function1<Circle, Unit> onClick)A composable for a circle on the map. -
-
Method Detail
-
Circle
@Composable() final static Unit Circle(LatLng center, Boolean clickable, Color fillColor, Double radius, Color strokeColor, List<PatternItem> strokePattern, Float strokeWidth, Object tag, Boolean visible, Float zIndex, Function1<Circle, Unit> onClick)
A composable for a circle on the map.
- Parameters:
center- the LatLng to use for the center of this circleclickable- boolean indicating if the circle is clickable or notfillColor- the fill color of the circleradius- the radius of the circle in meters.strokeColor- the stroke color of the circlestrokePattern- a sequence of PatternItem to be repeated along the circle's outline (null represents a solid line)strokeWidth- the width of the circle's outline in screen pixelstag- optional tag to be associated with the circlevisible- the visibility of the circlezIndex- the z-index of the circleonClick- a lambda invoked when the circle is clicked
-
-
-
-