WebPolygonShape constructor

WebPolygonShape(
  1. String id,
  2. WebPolygon element, {
  3. required WebPolygonOption option,
  4. required PolygonStyle style,
})

Implementation

WebPolygonShape(this.id, this.element,
    {required this.option, required this.style})
    : styleId = style.id!,
      currentLevel = style.zoomLevel;