Package 

Class PolygonKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit Polygon(List<LatLng> points, Boolean clickable, Color fillColor, Boolean geodesic, List<List<LatLng>> holes, Color strokeColor, Integer strokeJointType, List<PatternItem> strokePattern, Float strokeWidth, Object tag, Boolean visible, Float zIndex, Function1<Polygon, Unit> onClick) A composable for a polygon on the map.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • Polygon

        @Composable() final static Unit Polygon(List<LatLng> points, Boolean clickable, Color fillColor, Boolean geodesic, List<List<LatLng>> holes, Color strokeColor, Integer strokeJointType, List<PatternItem> strokePattern, Float strokeWidth, Object tag, Boolean visible, Float zIndex, Function1<Polygon, Unit> onClick)

        A composable for a polygon on the map.

        Parameters:
        points - the points comprising the vertices of the polygon
        clickable - boolean indicating if the polygon is clickable or not
        fillColor - the fill color of the polygon
        geodesic - specifies whether to draw each segment as a geodesic
        holes - the holes for the polygon
        strokeColor - the stroke color of the polygon
        strokeJointType - the joint type for all vertices of the polygon's outline
        strokePattern - the stroke pattern for the polygon's outline
        strokeWidth - specifies the polygon's stroke width, in display pixels
        tag - optional tag to associate wiht the polygon
        visible - the visibility of the polygon
        zIndex - the z-index of the polygon
        onClick - a lambda invoked when the polygon is clicked