GMSPolygonLayer 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-27 UTC."],[[["\u003cp\u003e\u003ccode\u003eGMSPolygonLayer\u003c/code\u003e is a subclass of \u003ccode\u003eGMSOverlayLayer\u003c/code\u003e used for animating properties of its associated \u003ccode\u003eGMSPolygon\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis layer isn't directly rendered, as \u003ccode\u003eGMSMapView\u003c/code\u003e utilizes an OpenGL layer for rendering.\u003c/p\u003e\n"],["\u003cp\u003eCustomizable properties include \u003ccode\u003estrokeWidth\u003c/code\u003e for outline width, \u003ccode\u003estrokeColor\u003c/code\u003e for outline color, and \u003ccode\u003efillColor\u003c/code\u003e for the polygon's fill color.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGMSPolygon\u003c/code\u003e is expected to manage the memory of \u003ccode\u003estrokeColor\u003c/code\u003e and \u003ccode\u003efillColor\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]