AI-generated Key Takeaways
- 
          GMSPolygonLayeris a subclass ofGMSOverlayLayerused for animating properties of its associatedGMSPolygon.
- 
          This layer isn't directly rendered, as GMSMapViewutilizes an OpenGL layer for rendering.
- 
          Customizable properties include strokeWidthfor outline width,strokeColorfor outline color, andfillColorfor the polygon's fill color.
- 
          GMSPolygonis expected to manage the memory ofstrokeColorandfillColor.
GMSPolygonLayer
@interface GMSPolygonLayer : GMSOverlayLayerGMSPolygonLayer is a subclass of GMSOverlayLayer, available on a per-polygon basis, that
 allows animation of several properties of its associated GMSPolygon.
Note that this CALayer is never actually rendered directly, as GMSMapView is provided
 entirely via an OpenGL layer. As such, adjustments or animations to ‘default’ properties of
 CALayer will not have any effect.
- 
                  
                  The width of the polygon outline in screen points. DeclarationSwift var strokeWidth: CGFloat { get set }Objective-C @property (nonatomic) CGFloat strokeWidth;
- 
                  
                  The color of the polygon outline. This is an assign property, there is an expectation for the GMSPolygonto own the reference if necessary.DeclarationSwift unowned(unsafe) var strokeColor: CGColor? { get set }Objective-C @property (nonatomic, nullable) CGColorRef strokeColor;
- 
                  
                  The fill color. This is an assign property, there is an expectation for the GMSPolygonto own the reference if necessary.DeclarationSwift unowned(unsafe) var fillColor: CGColor? { get set }Objective-C @property (nonatomic, nullable) CGColorRef fillColor;