首先,理解几个知识点
#PolygonGraphics(options)感谢以前还不算差的英语,考研71分好像,至少现在读英文API能大概知道什么意思...真的是大概
API的描述:Describes a polygon defined by an hierarchy of linear rings which make up the outer shape and any nested holes. The polygon conforms to the curvature of the globe and can be placed on the surface or at altitude and can optionally be extruded into a volume.
PolygonGraphics(多边形面图形)是由各个层次的线所组成的面构成(外边、内边),这个多边形能够适应球体,能够被设置在球体表面或者特定高度,也能够放置(缩放)在特定空间。 NameTypeDescriptionoptions Object optional Object with the following properties: NameTypeDefaultDescriptionshow true optional A boolean Property specifying the visibility of the polygon.
hierarchy optional A Property specifying the PolygonHierarchy.
height 0 optional A numeric Property specifying the altitude of the polygon relative to the ellipsoid surface.
heightReference HeightReference.NONE optional A Property speci