GeoPoint Class
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.
Represents a point geometry.
[System.Text.Json.Serialization.JsonConverter(typeof(Azure.Core.GeoJson.GeoJsonConverter))]
public sealed class GeoPoint : Azure.Core.GeoJson.GeoObject
[<System.Text.Json.Serialization.JsonConverter(typeof(Azure.Core.GeoJson.GeoJsonConverter))>]
type GeoPoint = class
inherit GeoObject
Public NotInheritable Class GeoPoint
Inherits GeoObject
- Inheritance
- Attributes
Examples
Creating a point:
var point = new GeoPoint(-122.091954, 47.607148);
Constructors
GeoPoint(Double, Double) |
Initializes new instance of GeoPoint. |
GeoPoint(Double, Double, Nullable<Double>) |
Initializes new instance of GeoPoint. |
GeoPoint(GeoPosition) |
Initializes new instance of GeoPoint. |
GeoPoint(GeoPosition, GeoBoundingBox, IReadOnlyDictionary<String,Object>) |
Initializes new instance of GeoPoint. |
Properties
BoundingBox |
Represents information about the coordinate range of the GeoObject. (Inherited from GeoObject) |
Coordinates |
Gets position of the point. |
Type |
Gets the GeoJSON type of this object. |
Methods
ToString() |
Converts an instance of GeoObject to a GeoJSON representation. (Inherited from GeoObject) |
TryGetCustomProperty(String, Object) |
Tries to get a value of a custom property associated with the GeoObject. (Inherited from GeoObject) |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應