/// Map View class to show a map on the screen.
/// </summary>
/// <since_tizen> 3 </since_tizen>
+ [Obsolete("Deprecated since API10. Might be removed in API12.")]
public class MapView : Layout, IDisposable
{
internal Interop.ViewHandle handle;
/// <value>Event handlers to get a scrolled gesture event.</value>
/// <since_tizen> 3 </since_tizen>
/// <exception cref="System.NotSupportedException">Thrown when the required feature is not supported.</exception>
+ [Obsolete("Deprecated since API10. Might be removed in API12.")]
public event EventHandler<MapGestureEventArgs> Scrolled
{
add
/// <value>Event handlers to get a zoomed gesture event.</value>
/// <since_tizen> 3 </since_tizen>
/// <exception cref="System.NotSupportedException">Thrown when the required feature is not supported.</exception>
+ [Obsolete("Deprecated since API10. Might be removed in API12.")]
public event EventHandler<MapGestureEventArgs> TwoFingerZoomed
{
add
/// <value>Event handlers to get a clicked gesture event.</value>
/// <since_tizen> 3 </since_tizen>
/// <exception cref="System.NotSupportedException">Thrown when the required feature is not supported.</exception>
+ [Obsolete("Deprecated since API10. Might be removed in API12.")]
public event EventHandler<MapGestureEventArgs> Clicked
{
add
/// <value>Event handlers to get a double-clicked gesture event.</value>
/// <since_tizen> 3 </since_tizen>
/// <exception cref="System.NotSupportedException">Thrown when the required feature is not supported.</exception>
+ [Obsolete("Deprecated since API10. Might be removed in API12.")]
public event EventHandler<MapGestureEventArgs> DoubleClicked
{
add
/// <value>Event handlers to get a clicked gesture event.</value>
/// <since_tizen> 3 </since_tizen>
/// <exception cref="System.NotSupportedException">Thrown when the required feature is not supported.</exception>
+ [Obsolete("Deprecated since API10. Might be removed in API12.")]
public event EventHandler<MapGestureEventArgs> TwoFingerClicked
{
add
/// <value>Event handlers to get a rotated gesture event.</value>
/// <since_tizen> 3 </since_tizen>
/// <exception cref="System.NotSupportedException">Thrown when the required feature is not supported.</exception>
+ [Obsolete("Deprecated since API10. Might be removed in API12.")]
public event EventHandler<MapGestureEventArgs> TwoFingerRotated
{
add
/// <value>Event handlers to get a long-pressed gesture event.</value>
/// <since_tizen> 3 </since_tizen>
/// <exception cref="System.NotSupportedException">Thrown when the required feature is not supported.</exception>
+ [Obsolete("Deprecated since API10. Might be removed in API12.")]
public event EventHandler<MapGestureEventArgs> LongPressed
{
add
/// <value>Event handlers to get a view ready event.</value>
/// <since_tizen> 3 </since_tizen>
/// <exception cref="System.NotSupportedException">Thrown when the required feature is not supported.</exception>
+ [Obsolete("Deprecated since API10. Might be removed in API12.")]
public event EventHandler ViewReady
{
add
/// <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>
+ [Obsolete("Deprecated since API10. Might be removed in API12.")]
public int ZoomLevel
{
get
/// <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>
+ [Obsolete("Deprecated since API10. Might be removed in API12.")]
public int MinimumZoomLevel
{
get
/// <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>
+ [Obsolete("Deprecated since API10. Might be removed in API12.")]
public int MaximumZoomLevel
{
get
/// <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>
+ [Obsolete("Deprecated since API10. Might be removed in API12.")]
public double Orientation
{
get
/// <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>
+ [Obsolete("Deprecated since API10. Might be removed in API12.")]
public MapTypes MapType
{
get
/// <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>
+ [Obsolete("Deprecated since API10. Might be removed in API12.")]
public bool BuildingsEnabled
{
get
/// <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>
+ [Obsolete("Deprecated since API10. Might be removed in API12.")]
public bool TrafficEnabled
{
get
/// <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>
+ [Obsolete("Deprecated since API10. Might be removed in API12.")]
public bool PublicTransitEnabled
{
get
/// <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>
+ [Obsolete("Deprecated since API10. Might be removed in API12.")]
public bool ScaleBarEnabled
{
get
/// <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>
/// <exception cref="System.ArgumentException">Thrown when the value is invalid.</exception>
+ [Obsolete("Deprecated since API10. Might be removed in API12.")]
public string Language
{
get
/// <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>
/// <exception cref="System.ArgumentException">Thrown when the value is invalid.</exception>
+ [Obsolete("Deprecated since API10. Might be removed in API12.")]
public Geocoordinates Center
{
get
/// Gets a list of the map object added to map view.
/// </summary>
/// <since_tizen> 3 </since_tizen>
+ [Obsolete("Deprecated since API10. Might be removed in API12.")]
public new IEnumerable<MapObject> Children
{
get
/// <exception cref="System.UnauthorizedAccessException">Thrown when application does not have some privilege to access this method.</exception>
/// <exception cref="System.ArgumentException">Thrown when the value is invalid.</exception>
/// <exception cref="System.InvalidOperationException">Thrown when a native operation failed to allocate memory and connect to the service.</exception>
+ [Obsolete("Deprecated since API10. Might be removed in API12.")]
public Point GeolocationToScreen(Geocoordinates coordinates)
{
return handle.GeolocationToScreen(coordinates.handle);
/// <exception cref="System.UnauthorizedAccessException">Thrown when application does not have some privilege to access this method.</exception>
/// <exception cref="System.ArgumentException">Thrown when the value is invalid.</exception>
/// <exception cref="System.InvalidOperationException">Thrown when a native operation failed to allocate memory and connect to the service.</exception>
+ [Obsolete("Deprecated since API10. Might be removed in API12.")]
public Geocoordinates ScreenToGeolocation(Point screenCoordinates)
{
return new Geocoordinates(handle.ScreenToGeolocation(screenCoordinates));
/// <exception cref="System.UnauthorizedAccessException">Thrown when application does not have some privilege to access this method.</exception>
/// <exception cref="System.ArgumentException">Thrown when the value is invalid.</exception>
/// <exception cref="System.InvalidOperationException">Thrown when a native operation failed to allocate memory and connect to the service.</exception>
+ [Obsolete("Deprecated since API10. Might be removed in API12.")]
public void Add(MapObject child)
{
Log.Info(string.Format("Add a object"));
/// <exception cref="System.UnauthorizedAccessException">Thrown when application does not have some privilege to access this method.</exception>
/// <exception cref="System.ArgumentException">Thrown when the value is invalid.</exception>
/// <exception cref="System.InvalidOperationException">Thrown when native operation failed to allocate memory and connect to the service.</exception>
+ [Obsolete("Deprecated since API10. Might be removed in API12.")]
public void Remove(MapObject child)
{
Log.Info(string.Format("Remove a object"));
/// <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>
/// <exception cref="System.InvalidOperationException">Thrown when a native operation failed to allocate memory and connect to the service.</exception>
+ [Obsolete("Deprecated since API10. Might be removed in API12.")]
public void RemoveAll()
{
Log.Info(string.Format("Remove all of objects"));
/// <exception cref="System.UnauthorizedAccessException">Thrown when application does not have some privilege to access this method.</exception>
/// <exception cref="System.ArgumentException">Thrown when the value is invalid.</exception>
/// <exception cref="System.InvalidOperationException">Thrown when a native operation failed to allocate memory and connect to the service.</exception>
+ [Obsolete("Deprecated since API10. Might be removed in API12.")]
public void CaptureSnapshot(SnapshotType type, int quality, string path)
{
var err = Interop.ViewSnapshot.ViewCaptureSnapshot(handle, (Interop.ViewSnapshotFormatType)type, quality, path);
/// Releases all the resources used by this object.
/// </summary>
/// <since_tizen> 3 </since_tizen>
+ [Obsolete("Deprecated since API10. Might be removed in API12.")]
public void Dispose()
{
Dispose(true);