new L.supermap.Feature(layer, lonlat, data)
Feature.js, line 4
| Name | Type | Description |
|---|---|---|
layer |
L.supermap.Layer |
The layer. |
lonlat |
L.supermap.LonLat |
The longitude and latitude. |
data |
Object |
The data object. |
API Relations
As constructor parameter:
L.supermap.Feature.Theme.Bar
, L.supermap.Feature.Theme.Bar3D
, L.supermap.Feature.Theme.Circle
, L.supermap.Feature.Theme.Graph
, L.supermap.Feature.Theme.Line
, L.supermap.Feature.Theme.Pie
, L.supermap.Feature.Theme.Point
, L.supermap.Feature.Theme.RankSymbol
, L.supermap.Feature.Theme.Ring
, L.supermap.Feature.Theme.Vector.
As method parameter:
L.supermap.CartoCSSToLeaflet.getValidStyleFromLayerInfo
, L.supermap.Feature.ShapeParameters.Circle.Background
, L.supermap.Feature.ShapeParameters.Circle.GraphAxis
, L.supermap.Feature.ShapeParameters.Image.Background
, L.supermap.Feature.ShapeParameters.Image.GraphAxis
, L.supermap.Feature.ShapeParameters.Line.Background
, L.supermap.Feature.ShapeParameters.Line.GraphAxis
, L.supermap.Feature.ShapeParameters.Point.Background
, L.supermap.Feature.ShapeParameters.Point.GraphAxis
, L.supermap.Feature.ShapeParameters.Polygon.Background
, L.supermap.Feature.ShapeParameters.Polygon.GraphAxis
, L.supermap.Feature.ShapeParameters.Rectangle.Background
, L.supermap.Feature.ShapeParameters.Rectangle.GraphAxis
, L.supermap.Feature.ShapeParameters.Sector.Background
, L.supermap.Feature.ShapeParameters.Sector.GraphAxis
, L.supermap.Feature.ShapeParameters.Background
, L.supermap.Feature.ShapeParameters.GraphAxis
, L.supermap.Feature.Theme.getDataValues
, L.supermap.Format.WKT.write
, L.supermap.GeoFeatureThemeLayer.destroyFeatures
, L.supermap.GeoFeatureThemeLayer.removeFeatures
, L.supermap.graphThemeLayer.destroyFeatures
, L.supermap.GraphThemeLayer.getWeightFieldValue
, L.supermap.GraphThemeLayer.removeFeatures
, L.supermap.graphThemeLayer.removeFeatures
, L.supermap.heatMapLayer.removeFeatures
, L.supermap.LabelThemeLayer.calculateLabelBounds
, L.supermap.LabelThemeLayer.calculateLabelBounds2
, L.supermap.labelThemeLayer.destroyFeatures
, L.supermap.LabelThemeLayer.getDrawnLabels
, L.supermap.LabelThemeLayer.getLabelPxLocation
, L.supermap.LabelThemeLayer.getStyleByData
, L.supermap.LabelThemeLayer.removeFeatures
, L.supermap.labelThemeLayer.removeFeatures
, L.supermap.LabelThemeLayer.setLabelsStyle
, L.supermap.LabelThemeLayer.setStyle
, L.supermap.rangeThemeLayer.destroyFeatures
, L.supermap.rangeThemeLayer.getStyleByData
, L.supermap.rangeThemeLayer.removeFeatures
, L.supermap.rankSymbolThemeLayer.createThematicFeature
, L.supermap.rankSymbolThemeLayer.getWeightFieldValue
, L.supermap.rankSymbolThemeLayer.removeFeatures
, L.supermap.ThemeLayer.destroyFeatures
, L.supermap.ThemeLayer.removeFeatures
, L.supermap.uniqueThemeLayer.destroyFeatures
, L.supermap.uniqueThemeLayer.removeFeatures.
Returned by:
L.supermap.Feature.ShapeFactory.constructor
, L.supermap.Feature.ShapeParameters.Circle.constructor
, L.supermap.Feature.ShapeParameters.Image.constructor
, L.supermap.Feature.ShapeParameters.Label.constructor
, L.supermap.Feature.ShapeParameters.Line.constructor
, L.supermap.Feature.ShapeParameters.Point.constructor
, L.supermap.Feature.ShapeParameters.Polygon.constructor
, L.supermap.Feature.ShapeParameters.Rectangle.constructor
, L.supermap.Feature.ShapeParameters.Sector.constructor
, L.supermap.Feature.ShapeParameters.constructor
, L.supermap.Feature.Theme.Bar3D.constructor
, L.supermap.Feature.Theme.Bar.constructor
, L.supermap.Feature.Theme.Circle.constructor
, L.supermap.Feature.Theme.Graph.constructor
, L.supermap.Feature.Theme.Line.constructor
, L.supermap.Feature.Theme.Pie.constructor
, L.supermap.Feature.Theme.Point.constructor
, L.supermap.Feature.Theme.RankSymbol.constructor
, L.supermap.Feature.Theme.Ring.constructor
, L.supermap.Feature.Theme.Vector.constructor
, L.supermap.Feature.Theme.constructor
, L.supermap.Feature.Vector.clone
, L.supermap.Format.WKT.read
, L.supermap.GeoFeatureThemeLayer.toFeature
, L.supermap.GeoFeatureThemeLayer.toiClientFeature
, L.supermap.graphThemeLayer.toFeature
, L.supermap.graphThemeLayer.toiClientFeature
, L.supermap.heatMapLayer.toiClientFeature
, L.supermap.LabelThemeLayer.getDrawnLabels
, L.supermap.LabelThemeLayer.setLabelsStyle
, L.supermap.labelThemeLayer.toFeature
, L.supermap.labelThemeLayer.toiClientFeature
, L.supermap.rangeThemeLayer.toFeature
, L.supermap.rangeThemeLayer.toiClientFeature
, L.supermap.rankSymbolThemeLayer.createThematicFeature
, L.supermap.ServerFeature.toFeature
, L.supermap.themeFeature.toFeature
, L.supermap.themeFeature.toFeature
, L.supermap.ThemeLayer.toFeature
, L.supermap.ThemeLayer.toiClientFeature
, L.supermap.uniqueThemeLayer.toFeature
, L.supermap.uniqueThemeLayer.toiClientFeature.
Subclasses
Classes
Members
-
dataObject
-
The data object.
-
idstring
-
The feature id.
-
deprecated layerL.supermap.Layer
-
The layer.
-
lonlatL.supermap.LonLat
-
The longitude and latitude.
Methods
-
destroy()
Feature.js, line 45 -
Disposes the resource. The property that references resource is set to null.