new ol.supermap.Feature(layer, lonlat, data)
Feature.js, line 4
| Name | Type | Description |
|---|---|---|
layer |
ol.supermap.Layer |
The layer. |
lonlat |
ol.supermap.LonLat |
The longitude and latitude. |
data |
Object |
The data object. |
API Relations
As constructor parameter:
ol.supermap.Feature.Theme.Bar
, ol.supermap.Feature.Theme.Bar3D
, ol.supermap.Feature.Theme.Circle
, ol.supermap.Feature.Theme.Graph
, ol.supermap.Feature.Theme.Line
, ol.supermap.Feature.Theme.Pie
, ol.supermap.Feature.Theme.Point
, ol.supermap.Feature.Theme.RankSymbol
, ol.supermap.Feature.Theme.Ring
, ol.supermap.Feature.Theme.Vector.
As method parameter:
ol.source.GeoFeature.addFeatures
, ol.source.GeoFeature.removeFeatures
, ol.source.Graph.destroyFeatures
, ol.source.Graph.removeFeatures
, ol.source.Graph.toFeature
, ol.source.Graph.toiClientFeature
, ol.source.HeatMap.addFeatures
, ol.source.HeatMap.removeFeatures
, ol.source.HeatMap.toiClientFeature
, ol.source.Label.calculateLabelBounds
, ol.source.Label.calculateLabelBounds2
, ol.source.Label.createThematicFeature
, ol.source.Label.getDrawnLabels
, ol.source.Label.getLabelPxLocation
, ol.source.Label.getStyleByData
, ol.source.Label.removeFeatures
, ol.source.Label.setLabelsStyle
, ol.source.Label.setStyle
, ol.source.Theme.addFeatures
, ol.source.Theme.destroyFeatures
, ol.source.Theme.removeFeatures
, ol.source.Theme.toFeature
, ol.source.Theme.toiClientFeature
, ol.supermap.Feature.ShapeParameters.Circle.Background
, ol.supermap.Feature.ShapeParameters.Circle.GraphAxis
, ol.supermap.Feature.ShapeParameters.Image.Background
, ol.supermap.Feature.ShapeParameters.Image.GraphAxis
, ol.supermap.Feature.ShapeParameters.Line.Background
, ol.supermap.Feature.ShapeParameters.Line.GraphAxis
, ol.supermap.Feature.ShapeParameters.Point.Background
, ol.supermap.Feature.ShapeParameters.Point.GraphAxis
, ol.supermap.Feature.ShapeParameters.Polygon.Background
, ol.supermap.Feature.ShapeParameters.Polygon.GraphAxis
, ol.supermap.Feature.ShapeParameters.Rectangle.Background
, ol.supermap.Feature.ShapeParameters.Rectangle.GraphAxis
, ol.supermap.Feature.ShapeParameters.Sector.Background
, ol.supermap.Feature.ShapeParameters.Sector.GraphAxis
, ol.supermap.Feature.ShapeParameters.Background
, ol.supermap.Feature.ShapeParameters.GraphAxis
, ol.supermap.Feature.Theme.getDataValues
, ol.supermap.Format.WKT.write
, ol.supermap.StyleUtils.getValidStyleFromLayerInfo.
Returned by:
ol.source.Graph.getFeatureBy
, ol.source.Graph.getFeatureById
, ol.source.Graph.getFeatures
, ol.source.Graph.getFeaturesByAttribute
, ol.source.Graph.toFeature
, ol.source.Graph.toiClientFeature
, ol.source.HeatMap.toiClientFeature
, ol.source.Label.createThematicFeature
, ol.source.Label.getDrawnLabels
, ol.source.Label.setLabelsStyle
, ol.source.Theme.getFeatureBy
, ol.source.Theme.getFeatureById
, ol.source.Theme.getFeatures
, ol.source.Theme.getFeaturesByAttribute
, ol.source.Theme.toFeature
, ol.source.Theme.toiClientFeature
, ol.supermap.Feature.ShapeFactory.constructor
, ol.supermap.Feature.ShapeParameters.Circle.constructor
, ol.supermap.Feature.ShapeParameters.Image.constructor
, ol.supermap.Feature.ShapeParameters.Label.constructor
, ol.supermap.Feature.ShapeParameters.Line.constructor
, ol.supermap.Feature.ShapeParameters.Point.constructor
, ol.supermap.Feature.ShapeParameters.Polygon.constructor
, ol.supermap.Feature.ShapeParameters.Rectangle.constructor
, ol.supermap.Feature.ShapeParameters.Sector.constructor
, ol.supermap.Feature.ShapeParameters.constructor
, ol.supermap.Feature.Theme.Bar3D.constructor
, ol.supermap.Feature.Theme.Bar.constructor
, ol.supermap.Feature.Theme.Circle.constructor
, ol.supermap.Feature.Theme.Graph.constructor
, ol.supermap.Feature.Theme.Line.constructor
, ol.supermap.Feature.Theme.Pie.constructor
, ol.supermap.Feature.Theme.Point.constructor
, ol.supermap.Feature.Theme.RankSymbol.constructor
, ol.supermap.Feature.Theme.Ring.constructor
, ol.supermap.Feature.Theme.Vector.constructor
, ol.supermap.Feature.Theme.constructor
, ol.supermap.Feature.Vector.clone
, ol.supermap.Format.WKT.read.
Subclasses
Classes
Members
-
dataObject
-
The data object.
-
idstring
-
The feature id.
-
deprecated layerol.supermap.Layer
-
The layer.
-
lonlatol.supermap.LonLat
-
The longitude and latitude.
Methods
-
destroy()
Feature.js, line 45 -
Disposes the resource. The property that references resource is set to null.