mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Simplify CreateFromString MethodName
This commit is contained in:
parent
5ad567239c
commit
e642846e7d
|
|
@ -11,7 +11,7 @@ namespace MapControl
|
|||
/// A geographic bounding box with south and north latitude and west and east longitude values in degrees.
|
||||
/// </summary>
|
||||
#if WINUI || UWP
|
||||
[Windows.Foundation.Metadata.CreateFromString(MethodName = "MapControl.BoundingBox.Parse")]
|
||||
[Windows.Foundation.Metadata.CreateFromString(MethodName = "Parse")]
|
||||
#else
|
||||
[System.ComponentModel.TypeConverter(typeof(BoundingBoxConverter))]
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ namespace MapControl
|
|||
/// A geographic location with latitude and longitude values in degrees.
|
||||
/// </summary>
|
||||
#if WINUI || UWP
|
||||
[Windows.Foundation.Metadata.CreateFromString(MethodName = "MapControl.Location.Parse")]
|
||||
[Windows.Foundation.Metadata.CreateFromString(MethodName = "Parse")]
|
||||
#else
|
||||
[System.ComponentModel.TypeConverter(typeof(LocationConverter))]
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ namespace MapControl
|
|||
/// and calculation of great circle and rhumb line locations.
|
||||
/// </summary>
|
||||
#if WINUI || UWP
|
||||
[Windows.Foundation.Metadata.CreateFromString(MethodName = "MapControl.LocationCollection.Parse")]
|
||||
[Windows.Foundation.Metadata.CreateFromString(MethodName = "Parse")]
|
||||
#else
|
||||
[System.ComponentModel.TypeConverter(typeof(LocationCollectionConverter))]
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ namespace MapControl
|
|||
/// Provides the download Uri or ImageSource of map tiles.
|
||||
/// </summary>
|
||||
#if WINUI || UWP
|
||||
[Windows.Foundation.Metadata.CreateFromString(MethodName = "MapControl.TileSource.Parse")]
|
||||
[Windows.Foundation.Metadata.CreateFromString(MethodName = "Parse")]
|
||||
#else
|
||||
[System.ComponentModel.TypeConverter(typeof(TileSourceConverter))]
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue