你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
GeoPoint 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GeoPoint(GeoPosition)
- Source:
- GeoPoint.cs
初始化 的新实例 GeoPoint。
public GeoPoint (Azure.Core.GeoJson.GeoPosition position);
new Azure.Core.GeoJson.GeoPoint : Azure.Core.GeoJson.GeoPosition -> Azure.Core.GeoJson.GeoPoint
Public Sub New (position As GeoPosition)
参数
- position
- GeoPosition
点的位置。
适用于
GeoPoint(Double, Double)
- Source:
- GeoPoint.cs
初始化 的新实例 GeoPoint。
public GeoPoint (double longitude, double latitude);
new Azure.Core.GeoJson.GeoPoint : double * double -> Azure.Core.GeoJson.GeoPoint
Public Sub New (longitude As Double, latitude As Double)
参数
- longitude
- Double
点的经度。
- latitude
- Double
点的纬度。
适用于
GeoPoint(GeoPosition, GeoBoundingBox, IReadOnlyDictionary<String,Object>)
- Source:
- GeoPoint.cs
初始化 的新实例 GeoPoint。
public GeoPoint (Azure.Core.GeoJson.GeoPosition position, Azure.Core.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary<string,object?> customProperties);
new Azure.Core.GeoJson.GeoPoint : Azure.Core.GeoJson.GeoPosition * Azure.Core.GeoJson.GeoBoundingBox * System.Collections.Generic.IReadOnlyDictionary<string, obj> -> Azure.Core.GeoJson.GeoPoint
Public Sub New (position As GeoPosition, boundingBox As GeoBoundingBox, customProperties As IReadOnlyDictionary(Of String, Object))
参数
- position
- GeoPosition
点的位置。
- boundingBox
- GeoBoundingBox
要使用的 GeoBoundingBox。
- customProperties
- IReadOnlyDictionary<String,Object>
与 GeoObject关联的自定义属性集。
适用于
GeoPoint(Double, Double, Nullable<Double>)
- Source:
- GeoPoint.cs
初始化 的新实例 GeoPoint。
public GeoPoint (double longitude, double latitude, double? altitude);
new Azure.Core.GeoJson.GeoPoint : double * double * Nullable<double> -> Azure.Core.GeoJson.GeoPoint
Public Sub New (longitude As Double, latitude As Double, altitude As Nullable(Of Double))
参数
- longitude
- Double
点的经度。
- latitude
- Double
点的纬度。