new ol.supermap.ThemeFeature(geometry, attributes)
ThemeFeature.js, line 10
| Name | Type | Description |
|---|---|---|
geometry |
GeoJSONObject |
The geometry object to be evaluated supports the ol.geom.Geometry and GeoText tag array types, such as: geometry = [x,y,text]. |
attributes |
Object |
optional
Attributes. |
API Relations
As method parameter:
ol.source.Graph.toFeature
, ol.source.Graph.toiClientFeature
, ol.source.Theme.addFeatures
, ol.source.Theme.toFeature
, ol.source.Theme.toiClientFeature.
Methods
-
toFeature()
ThemeFeature.js, line 24 -
Turn to vector feature.