コード例 #1
0
 /// <summary>
 /// Initializes new instance of <see cref="GeoPoint"/>.
 /// </summary>
 /// <param name="position">The position of the point.</param>
 /// <param name="boundingBox">The <see cref="GeoBoundingBox"/> to use.</param>
 /// <param name="customProperties">The set of custom properties associated with the <see cref="GeoObject"/>.</param>
 public GeoPoint(GeoPosition position, GeoBoundingBox?boundingBox, IReadOnlyDictionary <string, object?> customProperties) : base(boundingBox, customProperties)
 {
     Coordinates = position;
 }
コード例 #2
0
 /// <summary>
 /// Initializes new instance of <see cref="GeoPoint"/>.
 /// </summary>
 /// <param name="position">The position of the point.</param>
 public GeoPoint(GeoPosition position) : this(position, null, DefaultProperties)
 {
 }