Class: ThemeFeature

ol.supermap.ThemeFeature

专题图要素类。

new ol.supermap.ThemeFeature(geometry, attributes)

openlayers/overlay/theme/ThemeFeature.js, line 13
Name Type Description
geometry Object

要量算的几何对象,支持 ol.geom.Geometry 和 GeoText 标签数组类型 geometry = [x,y,text]。

attributes Object 可选

属性。

Methods

toFeature()

openlayers/overlay/theme/ThemeFeature.js, line 27

转为矢量要素。