Name: csapi-maps
Summary: Tizen Map Service API for C#
-Version: 1.0.13
+Version: 1.0.14
Release: 1
Group: Development/Libraries
License: Apache-2.0 and SAMSUNG
internal static extern ErrorCode SetPostalCode(this AddressHandle /* maps_address_h */ address, string postalCode);
[DllImport(Libraries.MapService, EntryPoint = "maps_address_get_freetext")]
- internal static extern ErrorCode GetFreetext(this AddressHandle /* maps_address_h */ address, out string freetext);
+ internal static extern ErrorCode GetFreeText(this AddressHandle /* maps_address_h */ address, out string freetext);
[DllImport(Libraries.MapService, EntryPoint = "maps_address_set_freetext")]
- internal static extern ErrorCode SetFreetext(this AddressHandle /* maps_address_h */ address, string freetext);
+ internal static extern ErrorCode SetFreeText(this AddressHandle /* maps_address_h */ address, string freetext);
internal class AddressHandle : SafeMapsHandle
{
set { NativeSet(this.SetPostalCode, value); }
}
- internal string Freetext
+ internal string FreeText
{
- get { return NativeGet(this.GetFreetext); }
- set { NativeSet(this.SetFreetext, value); }
+ get { return NativeGet(this.GetFreeText); }
+ set { NativeSet(this.SetFreeText, value); }
}
internal AddressHandle(IntPtr handle, bool needToRelease) : base(handle, needToRelease, Destroy)
ViewTraffic = 0x100, // MAPS_VIEW_TRAFFIC
ViewPublicTransit, // MAPS_VIEW_PUBLIC_TRANSIT
ViewBuilding, // MAPS_VIEW_BUILDING
- ViewScalebar, // MAPS_VIEW_SCALEBAR
+ ViewScaleBar, // MAPS_VIEW_SCALEBAR
}
internal static extern ErrorCode SetPublicTransitEnabled(this ViewHandle /* maps_view_h */ view, bool enable);
[DllImport(Libraries.MapService, EntryPoint = "maps_view_get_scalebar_enabled")]
- internal static extern ErrorCode GetScalebarEnabled(this ViewHandle /* maps_view_h */ view, out bool enabled);
+ internal static extern ErrorCode GetScaleBarEnabled(this ViewHandle /* maps_view_h */ view, out bool enabled);
[DllImport(Libraries.MapService, EntryPoint = "maps_view_set_scalebar_enabled")]
- internal static extern ErrorCode SetScalebarEnabled(this ViewHandle /* maps_view_h */ view, bool enable);
+ internal static extern ErrorCode SetScaleBarEnabled(this ViewHandle /* maps_view_h */ view, bool enable);
[DllImport(Libraries.MapService, EntryPoint = "maps_view_get_screen_location")]
internal static extern ErrorCode GetScreenLocation(this ViewHandle /* maps_view_h */ view, out int x, out int y, out int width, out int height);
get { return NativeGet<bool>(this.GetPublicTransitEnabled); }
set { NativeSet(this.SetPublicTransitEnabled, value); }
}
- internal bool ScalebarEnabled
+ internal bool ScaleBarEnabled
{
- get { return NativeGet<bool>(this.GetScalebarEnabled); }
- set { NativeSet(this.SetScalebarEnabled, value); }
+ get { return NativeGet<bool>(this.GetScaleBarEnabled); }
+ set { NativeSet(this.SetScaleBarEnabled, value); }
}
internal string Language
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <Version>1.0.13</Version>
+ <Version>1.0.14</Version>
<Authors>Samsung Electronics</Authors>
<Copyright>© Samsung Electronics Co., Ltd All Rights Reserved</Copyright>
<Description>Map Services API for Tizen .NET</Description>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
/// <exception cref="System.NotSupportedException">Thrown when the required feature is not supported.</exception>
/// <exception cref="System.UnauthorizedAccessException">Thrown when application does not have some privilege to access this method.</exception>
- public bool ScalebarEnabled
+ public bool ScaleBarEnabled
{
get
{
- return handle.ScalebarEnabled;
+ return handle.ScaleBarEnabled;
}
set
{
Log.Info(string.Format("Showing the scale-bar is {0}", (value ? "enabled" : "disabled")));
- handle.ScalebarEnabled = value;
+ handle.ScaleBarEnabled = value;
}
}
/// Gets a free text associated with this address.
/// </summary>
/// <since_tizen>3</since_tizen>
- public string Freetext
+ public string FreeText
{
get
{
- return handle.Freetext;
+ return handle.FreeText;
}
set
{
- handle.Freetext = value;
+ handle.FreeText = value;
}
}
/// <returns>Returns a string which presents this object.</returns>
public override string ToString()
{
- return $"{Freetext}";
+ return $"{FreeText}";
}
#region IDisposable Support
/// <summary>
/// Indicates availability of scale bar on the Map.
/// </summary>
- ViewScalebar = Interop.ServiceData.ViewScalebar,
+ ViewScaleBar = Interop.ServiceData.ViewScaleBar,
}
}
/// <summary>
/// Indicates that route is to be traveled using public transport.
/// </summary>
- Publictransit = Interop.RouteTransportMode.PublicTransit,
+ PublicTransit = Interop.RouteTransportMode.PublicTransit,
/// <summary>
/// Indicates that route is for a truck.
/// </summary>