PolygonShape
open class PolygonShape : NSObject, Shape지도상에 특정 영역을 2d Polygon으로 표시하는 PolygonShape 클래스.
basePosition을 기준으로 정점을 구성한다.
PolygonShape를 추가하기 위해서는 먼저 KakaoMap에 ShapeLayer를 추가한 뒤, 해당 Layer에 PolygonShape를 추가할 수 있다.
show, hide, style변경 및 이동/회전이 가능하다.
PolygonShape는 사용자가 직접 생성할 수 없으며, PolygonShapeOptions class를 이용하여 Layer에 추가하면 해당 object를 얻을 수 있다.
- 
                  
                  PolygonShape를 보여준다. DeclarationSwift public func show()
- 
                  
                  PolygonShape를 숨긴다. DeclarationSwift public func hide()
- 
                  
                  PolygonShape의 style과 Data를 변경한다. PolygonShape의 Style과 PolygonShape가 표시하는 polgyon Data를 변경하고자 할 때 사용한다. 단, polygon Data를 바꿀때는 해당 PolygonShape 객체가 가리키는 본질이 변하지 않을때만 사용한다. 즉 전혀 다른 PolygonShape 객체일때는 PolygonShape를 하나 더 만드는것을 권장한다. DeclarationSwift @objc public func changeStyleAndData(styleID: String, polygons: [Polygon])ParametersstyleID변경할 styleID polygons업데이트 할 폴리곤 데이터. 
- 
                  
                  shape가 속한 layerID DeclarationSwift public var layerID: String? { get }
- 
                  
                  ShapeID. DeclarationSwift public var shapeID: String { get }
- 
                  
                  Shape의 base Position DeclarationSwift @objc public var basePosition: MapPoint { get }
- 
                  
                  PolygonShape의 position 새로운 position값으로 assign 할 경우, PolygonShape의 position값이 update된다. DeclarationSwift @objc public var position: MapPoint { get set }
- 
                  
                  PolygonShape의 현재 orientation값 새로운 orientation값으로 assign할 경우, PolygonShape의 orientation이 변경된다. DeclarationSwift public var orientation: Double { get set }
- 
                  
                  PolygonShape가 현재 지도에 표시되는지 여부 DeclarationSwift public var isShow: Bool { get }
- 
                  
                  사용자 객체 DeclarationSwift public var userObject: AnyObject? { get set }
 PolygonShape Class Reference
      PolygonShape Class Reference