GMSPolygonLayer Class Reference

GMSPolygonLayer Class Reference

Overview

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.

Inherits GMSOverlayLayer.

Properties

CGFloat strokeWidth
 The width of the polygon outline in screen points.
CGColorRef strokeColor
 The color of the polygon outline.
CGColorRef fillColor
 The fill color.

Property Documentation

- (CGFloat) strokeWidth [read, write, assign]

The width of the polygon outline in screen points.

- (CGColorRef) strokeColor [read, write, assign]

The color of the polygon outline.

This is an assign property, there is an expectation for the GMSPolygon to own the reference if necessary.

- (CGColorRef) fillColor [read, write, assign]

The fill color.

This is an assign property, there is an expectation for the GMSPolygon to own the reference if necessary.