GeoJsonFeature(GeoJsonGeometry, FeatureKind) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of GeoJsonFeature.
public GeoJsonFeature(Azure.Analytics.PlanetaryComputer.GeoJsonGeometry geometry, Azure.Analytics.PlanetaryComputer.FeatureKind type);
new Azure.Analytics.PlanetaryComputer.GeoJsonFeature : Azure.Analytics.PlanetaryComputer.GeoJsonGeometry * Azure.Analytics.PlanetaryComputer.FeatureKind -> Azure.Analytics.PlanetaryComputer.GeoJsonFeature
Public Sub New (geometry As GeoJsonGeometry, type As FeatureKind)
Parameters
- geometry
- GeoJsonGeometry
Geometry object defining the feature's shape.
- type
- FeatureKind
GeoJSON type identifier for Feature.
Exceptions
geometry is null.