/// <summary>
/// Class representing geographical area
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class Area : IDisposable
{
internal Interop.AreaHandle handle;
/// <summary>
/// Constructs rectangular area.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="topLeft">Top-left coordinates of the area</param>
/// <param name="bottomRight">Bottom-left coordinate of the area</param>
/// <exception cref="System.NotSupportedException">Thrown when the required feature is not supported.</exception>
/// <summary>
/// Constructs circular area.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="center">Coordinates for center of the area</param>
/// <param name="radius">Radius of the area</param>
/// <exception cref="System.NotSupportedException">Thrown when the required feature is not supported.</exception>
/// <summary>
/// Releases all resources used by this object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public void Dispose()
{
Dispose(true);
/// <summary>
/// Direction types for route maneuver
/// </summary>
+ /// <since_tizen>3</since_tizen>
public enum DirectionType
{
/// <summary>
/// <summary>
/// Allowed distance units
/// </summary>
+ /// <since_tizen>3</since_tizen>
public enum DistanceUnit
{
/// <summary>
/// <summary>
/// Geocode request for map service
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class GeocodeRequest : MapServiceRequest<Geocoordinates>
{
private Interop.GeocodeCallback _geocodeCallback;
/// <summary>
/// Class representing geographical coordinates.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class Geocoordinates : IDisposable
{
internal Interop.CoordinatesHandle handle;
/// <summary>
/// Constructs map coordinates object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="latitude">Latitude value, must be between (-90.0 ~ 90.0) degrees</param>
/// <param name="longitude">Longitude value, must be between (-180.0 ~ 180.0) degrees</param>
/// <exception cref="System.ArgumentException">Thrown when values for latitude and longitude are not valid.</exception>
/// <summary>
/// Gets latitude of the coordinates.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public double Latitude
{
get
/// <summary>
/// Gets longitude of the coordinates.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public double Longitude
{
get
/// <summary>
/// Returns a string that represents this object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <returns>Returns a string which presents this object.</returns>
public override string ToString()
{
/// <summary>
/// Releases all resources used by this object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public void Dispose()
{
Dispose(true);
/// <summary>
/// Releases all resources used by this object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public void Dispose()
{
Dispose(true);
/// <summary>
/// Enumeration of user gestures over map view
/// </summary>
+ /// <since_tizen>3</since_tizen>
public enum GestureType
{
/// <summary>
/// <summary>
/// Preferences for geocode searches
/// </summary>
+ /// <since_tizen>3</since_tizen>
public interface IGeocodePreference
{
/// <summary>
/// Gets or sets a string that presents preferred language.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <remarks>Language should be specified as an ISO 3166 alpha-2 two letter country-code
/// followed by ISO 639-1 for the two-letter language code.<br/>e.g. "ko-KR", "en-US".</remarks>
string Language { get; set; }
/// <summary>
/// Gets or sets the maximum number of results.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <remarks>Setting negative value will not have any effect on MaxResults value.</remarks>
int MaxResults { get; set; }
}
/// <summary>
/// Preferences for place searches
/// </summary>
+ /// <since_tizen>3</since_tizen>
public interface IPlaceSearchPreference
{
/// <summary>
/// Gets or sets distance unit.
/// </summary>
+ /// <since_tizen>3</since_tizen>
DistanceUnit Unit { get; set; }
/// <summary>
/// Gets or sets preferred language.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <remarks>Language should be specified as an ISO 3166 alpha-2 two letter country-code
/// followed by ISO 639-1 for the two-letter language code.<br/>e.g. "ko-KR", "en-US".</remarks>
string Language { get; set; }
/// <summary>
/// Gets or sets the maximum number of results.
/// </summary>
+ /// <since_tizen>3</since_tizen>
int MaxResults { get; set; }
/// <summary>
/// Gets or sets a string that represents code of preferred country.
/// </summary>
+ /// <since_tizen>3</since_tizen>
string CountryCode { get; set; }
/// <summary>
/// Gets or sets search properties as key value pair.
/// </summary>
+ /// <since_tizen>3</since_tizen>
IReadOnlyDictionary<string, string> Properties { get; set; }
}
}
/// <summary>
/// Preferences for route searches
/// </summary>
+ /// <since_tizen>3</since_tizen>
public interface IRouteSearchPreference
{
/// <summary>
/// Gets or sets distance unit.
/// </summary>
+ /// <since_tizen>3</since_tizen>
DistanceUnit Unit { get; set; }
/// <summary>
/// Gets or sets route optimization.
/// </summary>
+ /// <since_tizen>3</since_tizen>
RouteOptimization Optimization { get; set; }
/// <summary>
/// Gets or sets route transport mode.
/// </summary>
+ /// <since_tizen>3</since_tizen>
TransportMode Mode { get; set; }
/// <summary>
/// Gets or sets route feature weight.
/// </summary>
+ /// <since_tizen>3</since_tizen>
RouteFeatureWeight RouteFeatureWeight { get; set; }
/// <summary>
/// Gets or sets route feature.
/// </summary>
+ /// <since_tizen>3</since_tizen>
RouteFeature RouteFeature { get; set; }
/// <summary>
/// Gets or sets if searching for alternative routes is enabled.
/// </summary>
+ /// <since_tizen>3</since_tizen>
bool SearchAlternativeRoutes { get; set; }
}
-}
\ No newline at end of file
+}
/// <summary>
/// Event arguments for gesture type map events
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class MapGestureEventArgs : EventArgs
{
internal MapGestureEventArgs(IntPtr nativeHandle)
/// <summary>
/// Gets type of gesture event.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public GestureType GestureType { get; }
/// <summary>
/// Gets screen coordinates in the event.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public Point Position { get; }
/// <summary>
/// Gets the number of fingers detected in the event.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public int TouchCount { get; }
/// <summary>
/// Gets zoom factor for zoom gesture event.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public double ZoomFactor { get; }
/// <summary>
/// Gets angle of rotation for rotate gesture event.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public double RotationAngle { get; }
/// <summary>
/// Gets geographical coordinates for the event.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public Geocoordinates Geocoordinates { get; }
}
}
/// <summary>
/// Map object
/// </summary>
+ /// <since_tizen>3</since_tizen>
public abstract class MapObject
{
internal MapObject() { }
/// <summary>
/// Gets or sets visibility of the map object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public abstract bool IsVisible { get; set; }
internal abstract void HandleClickedEvent();
/// <summary>
/// Map service class for service request
/// </summary>
+ /// <since_tizen>3</since_tizen>
public partial class MapService : IDisposable
{
internal Interop.ServiceHandle handle;
/// <summary>
/// Creates a new Maps Service object for given service provider.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="serviceProvider">A string which representing name of map service provider</param>
/// <param name="serviceProviderKey">A string which representing certificate key to use the map service provider</param>
/// <privilege>http://tizen.org/privilege/mapservice</privilege>
/// <summary>
/// Gets list of available map service providers.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <value>The list of map service providers.</value>
/// <privilege>http://tizen.org/privilege/mapservice</privilege>
/// <exception cref="System.NotSupportedException">Thrown when the required feature is not supported.</exception>
/// <summary>
/// Gets name of map service provider.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string Provider { get { return _serviceProvider; } }
/// <summary>
/// Gets and sets a string representing keys for map service provider
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <remarks>Typically, the provider key is issued by each maps provider, after signing up for a plan in the web site.
/// Depending on the plan and its provider which you have signed, you might pay for the network traffic.</remarks>
public string ProviderKey
/// <summary>
/// Gets and sets a filter used for place search result.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public PlaceFilter PlaceSearchFilter
{
get
/// <summary>
/// Gets search preferences used for <see cref="GeocodeRequest"/> or <see cref="ReverseGeocodeRequest"/>.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public IGeocodePreference GeocodePreferences
{
get
/// <summary>
/// Gets search preferences used for <see cref="PlaceSearchRequest"/>.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public IPlaceSearchPreference PlaceSearchPreferences
{
get
/// <summary>
/// Gets search preferences used for <see cref="RouteSearchRequest"/>.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public IRouteSearchPreference RouteSearchPreferences
{
get
/// <summary>
/// Gets and sets search preferences.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public SearchPreference Preferences
{
get
/// <summary>
/// Gets the user's consent to use maps data.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="provider">A string which representing the name of maps provider</param>
/// <returns>Returns true if user agreed that the application can use maps data, otherwise false.</returns>
/// <privilege>http://tizen.org/privilege/mapservice</privilege>
/// <summary>
/// Checks if the Maps Service supports given request.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="type">Request type to check</param>
/// <returns>Returns true if the Maps Service supports a request, otherwise false.</returns>
/// <privilege>http://tizen.org/privilege/mapservice</privilege>
/// <summary>
/// Checks if the Maps Service supports given data feature.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="data">Data feature to check</param>
/// <returns>Returns true if the Maps Service supports a data feature, otherwise false.</returns>
/// <privilege>http://tizen.org/privilege/mapservice</privilege>
/// <summary>
/// Creates geocode search request for given free-formed address string.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="address">A string which representing free-formed address</param>
/// <returns>GeocodeRequest object created with address string</returns>
public GeocodeRequest CreateGeocodeRequest(string address)
/// <summary>
/// Creates geocode search request for given free-formed address string, within the specified boundary.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="address">A string which representing free-formed address</param>
/// <param name="boundary">An instance of Area object which representing interested area</param>
/// <seealso cref="Area"/>
/// <summary>
/// Creates geocode search request for given structured address.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="address">A string which representing address of interest</param>
/// <returns>Returns GeocodeRequest object created with structured address</returns>
public GeocodeRequest CreateGeocodeRequest(PlaceAddress address)
/// <summary>
/// Creates a reverse geocode search request for given latitude and longitude.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="latitude">Latitude of interested place</param>
/// <param name="longitude">Longitude of interested place</param>
/// <returns>Returns ReverseGeocodeRequest object created with location coordinates</returns>
/// <summary>
/// Creates a reverse geocode search request for given position coordinates list.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="coordinates">Coordinates list with [2 ~ 100] coordinates</param>
/// <returns>Returns MultiReverseGeocodeRequest object created with list of location coordinates</returns>
public MultiReverseGeocodeRequest CreateMultiReverseGeocodeRequest(IEnumerable<Geocoordinates> coordinates)
/// <summary>
/// Creates a route search request for origin and destination points.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="from">Starting point</param>
/// <param name="to">Destination</param>
/// <returns>Returns RouteSearchRequest object created with origin and destination coordinates</returns>
/// <summary>
/// Creates a place search request for specified search radius around a given coordinates position.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="coordinates">A geographical coordinates of center</param>
/// <param name="distance">A double value which representing radius of area to search places</param>
/// <returns>Returns PlaceSearchRequest object created with location coordinates and search radius</returns>
/// <summary>
/// Creates a place search request for places within specified boundary.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="boundary">An instance of Area object which representing area to search interested places</param>
/// <returns>Returns PlaceSearchRequest object created with specified boundary</returns>
public PlaceSearchRequest CreatePlaceSearchRequest(Area boundary)
/// <summary>
/// Creates a place search request for free-formed address within boundary.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="address">A string which representing free-formed address</param>
/// <param name="boundary">An instance of Area object which representing area to search interested places</param>
/// <returns>Returns PlaceSearchRequest object created with address string and specified boundary</returns>
/// <summary>
/// Releases all resources used by this object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public void Dispose()
{
Dispose(true);
/// <summary>
/// Base class for map service request
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <typeparam name="T"></typeparam>
public abstract class MapServiceRequest<T> : IDisposable
{
/// <summary>
/// Sends a request to map service provider.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <returns>Response from map service provider</returns>
/// <privilege>http://tizen.org/privilege/mapservice</privilege>
/// <privilege>http://tizen.org/privilege/internet</privilege>
/// <summary>
/// Releases all resources used by this object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public void Dispose()
{
Dispose(true);
/// <summary>
/// Map View Type (theme)
/// </summary>
+ /// <since_tizen>3</since_tizen>
public enum MapTypes
{
/// <summary>
/// <summary>
/// Map View class to show a map on the screen.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class MapView : Layout, IDisposable
{
internal Interop.ViewHandle handle;
/// <summary>
/// Creates the view and link it to the instance of map service.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="parent">An instance of <see cref="EvasObject"/> object which map view will be drawn</param>
/// <param name="service">An instance of <see cref="MapService"/> object</param>
/// <privilege>http://tizen.org/privilege/mapservice</privilege>
/// Adds or removes event handlers to deliver scrolled gesture event.
/// </summary>
/// <value>Event handlers to get scrolled gesture event</value>
+ /// <since_tizen>3</since_tizen>
/// <exception cref="System.NotSupportedException">Thrown when the required feature is not supported.</exception>
public event EventHandler<MapGestureEventArgs> Scrolled
{
/// Adds or removes event handlers to deliver zoomed gesture event.
/// </summary>
/// <value>Event handlers to get zoomed gesture event</value>
+ /// <since_tizen>3</since_tizen>
/// <exception cref="System.NotSupportedException">Thrown when the required feature is not supported.</exception>
public event EventHandler<MapGestureEventArgs> TwoFingerZoomed
{
/// Adds or removes event handlers to deliver clicked gesture event.
/// </summary>
/// <value>Event handlers to get clicked gesture event</value>
+ /// <since_tizen>3</since_tizen>
/// <exception cref="System.NotSupportedException">Thrown when the required feature is not supported.</exception>
public event EventHandler<MapGestureEventArgs> Clicked
{
/// Adds or removes event handlers to deliver double-clicked gesture event.
/// </summary>
/// <value>Event handlers to get double-clicked gesture event</value>
+ /// <since_tizen>3</since_tizen>
/// <exception cref="System.NotSupportedException">Thrown when the required feature is not supported.</exception>
public event EventHandler<MapGestureEventArgs> DoubleClicked
{
/// Adds or removes event handlers to deliver clicked gesture event with two-fingers.
/// </summary>
/// <value>Event handlers to get clicked gesture event</value>
+ /// <since_tizen>3</since_tizen>
/// <exception cref="System.NotSupportedException">Thrown when the required feature is not supported.</exception>
public event EventHandler<MapGestureEventArgs> TwoFingerClicked
{
/// Adds or removes event handlers to deliver rotated gesture event.
/// </summary>
/// <value>Event handlers to get rotated gesture event</value>
+ /// <since_tizen>3</since_tizen>
/// <exception cref="System.NotSupportedException">Thrown when the required feature is not supported.</exception>
public event EventHandler<MapGestureEventArgs> TwoFingerRotated
{
/// Adds or removes event handlers to deliver long-pressed gesture event.
/// </summary>
/// <value>Event handlers to get long-pressed gesture event</value>
+ /// <since_tizen>3</since_tizen>
/// <exception cref="System.NotSupportedException">Thrown when the required feature is not supported.</exception>
public event EventHandler<MapGestureEventArgs> LongPressed
{
/// Adds or removes event handlers to deliver a event representing the view is ready to be used.
/// </summary>
/// <value>Event handlers to get view ready event</value>
+ /// <since_tizen>3</since_tizen>
/// <exception cref="System.NotSupportedException">Thrown when the required feature is not supported.</exception>
public event EventHandler ViewReady
{
/// Gets or sets current zoom level.
/// </summary>
/// <value>It is an integer value that representing current zoom level.</value>
+ /// <since_tizen>3</since_tizen>
/// <privilege>http://tizen.org/privilege/mapservice</privilege>
/// <privilege>http://tizen.org/privilege/internet</privilege>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
/// Gets or sets minimum zoom level.
/// </summary>
/// <value>It is an integer value that limits minimal zoom level within range of current map plug-in supported.</value>
+ /// <since_tizen>3</since_tizen>
/// <privilege>http://tizen.org/privilege/mapservice</privilege>
/// <privilege>http://tizen.org/privilege/internet</privilege>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
/// Gets or sets maximum zoom level.
/// </summary>
/// <value>It is an integer value that limits maximum zoom level within range of current map plug-in supported.</value>
+ /// <since_tizen>3</since_tizen>
/// <privilege>http://tizen.org/privilege/mapservice</privilege>
/// <privilege>http://tizen.org/privilege/internet</privilege>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
/// Gets or sets orientation on the map view.
/// </summary>
/// <value>It is an integer value from 0 to 360 that indicates orientation of the map view</value>
+ /// <since_tizen>3</since_tizen>
/// <privilege>http://tizen.org/privilege/mapservice</privilege>
/// <privilege>http://tizen.org/privilege/internet</privilege>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
/// <summary>
/// Gets or sets theme type of the map view.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <privilege>http://tizen.org/privilege/mapservice</privilege>
/// <privilege>http://tizen.org/privilege/internet</privilege>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
/// <summary>
/// Indicates whether the map should show the 3D buildings layer.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <privilege>http://tizen.org/privilege/mapservice</privilege>
/// <privilege>http://tizen.org/privilege/internet</privilege>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
/// <summary>
/// Indicates whether the map should show the traffic layer.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <privilege>http://tizen.org/privilege/mapservice</privilege>
/// <privilege>http://tizen.org/privilege/internet</privilege>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
/// <summary>
/// Indicates whether the map should show the public transit layer.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <privilege>http://tizen.org/privilege/mapservice</privilege>
/// <privilege>http://tizen.org/privilege/internet</privilege>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
/// <summary>
/// Indicates whether the scale-bar is enabled or not.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <privilege>http://tizen.org/privilege/mapservice</privilege>
/// <privilege>http://tizen.org/privilege/internet</privilege>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
/// Each language tag is composed of one or more "subtags" separated by hyphens (-).
/// Each subtag is composed of basic Latin letters or digits only.
/// For example, "ko-KR" for Korean, "en-US" for American English.</value>
+ /// <since_tizen>3</since_tizen>
/// <privilege>http://tizen.org/privilege/mapservice</privilege>
/// <privilege>http://tizen.org/privilege/internet</privilege>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
/// <summary>
/// Gets or sets geographical coordinates for map view's center.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <privilege>http://tizen.org/privilege/mapservice</privilege>
/// <privilege>http://tizen.org/privilege/internet</privilege>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
/// <summary>
/// Gets a list of map object added to map view.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public IEnumerable<MapObject> Children
{
get
/// <summary>
/// Changes geographical coordinates to screen coordinates.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="coordinates">Geographical coordinates</param>
/// <returns>Returns an instance of screen coordinates on the current screen</returns>
/// <privilege>http://tizen.org/privilege/mapservice</privilege>
/// <summary>
/// Changes screen coordinates to geographical coordinates.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="screenCoordinates">Screen coordinates</param>
/// <returns>Returns an instance of geographical coordinates object.</returns>
/// <privilege>http://tizen.org/privilege/mapservice</privilege>
/// <summary>
/// Adds a map object to map view.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="child">An instance of map object to be added</param>
/// <privilege>http://tizen.org/privilege/mapservice</privilege>
/// <exception cref="System.NotSupportedException">Thrown when the required feature is not supported.</exception>
/// <summary>
/// Removes a map object from map view.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="child">An instance of map object to be removed</param>
/// <remarks>Once removed, the child object will be become invalid</remarks>
/// <privilege>http://tizen.org/privilege/mapservice</privilege>
/// <summary>
/// Removes all map objects from map view.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <privilege>http://tizen.org/privilege/mapservice</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>
/// <summary>
/// Captures a snapshot of map view
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="type">Type of file format</param>
/// <param name="quality">A integer value which representing quality for encoding, from 1 to 100</param>
/// <param name="path">A string which representing The file path for snapshot</param>
/// <summary>
/// Releases all resources used by this object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public void Dispose()
{
Dispose(true);
/// <summary>
/// Marker map object
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class Marker : MapObject, IDisposable
{
internal Interop.MarkerHandle handle;
/// <summary>
/// Gets or sets clicked event handlers.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public event EventHandler Clicked;
/// <summary>
/// Gets or sets marker's visibility.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public override bool IsVisible
{
get
/// <summary>
/// Gets or sets geographical coordinates for this marker.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public Geocoordinates Coordinates
{
get
/// <summary>
/// Gets or sets a string representing image file path for this marker.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string ImagePath
{
get
/// <summary>
/// Gets or sets screen size for this marker.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public Size MarkerSize
{
get
/// <summary>
/// Gets or sets z-order for this marker.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <value>The integer value is 0 in default, and must be in range of from -100 to 100.</value>
public int ZOrder
{
/// <summary>
/// Changes marker size.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="newSize">New size</param>
public void Resize(Size newSize)
{
/// <summary>
/// Changes marker coordinates.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="newPosition">New position for marker</param>
public void Move(Geocoordinates newPosition)
{
/// <summary>
/// Releases all resources used by this object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public void Dispose()
{
Dispose(true);
/// <summary>
/// Pin type marker map object
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class Pin : Marker
{
private const string defaultImagePath = "/usr/share/dotnet.tizen/framework/res/maps_marker_pin_48.png";
/// <summary>
/// Creates a Pin type marker.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="coordinates">Marker coordinates</param>
/// <exception cref="System.ArgumentException">Thrown when input coordinates are invalid.</exception>
public Pin(Geocoordinates coordinates)
/// <summary>
/// Creates a Pin type marker.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="coordinates">Marker coordinates</param>
/// <param name="imagePath">Image file path for Marker</param>
/// <remarks>
/// <summary>
/// Sticker type marker map object
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class Sticker : Marker
{
private const string defaultImagePath = "/usr/share/dotnet.tizen/framework/res/maps_marker_sticker_48.png";
/// <summary>
/// Creates a Sticker type marker.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="coordinates">Marker coordinates</param>
/// <exception cref="System.ArgumentException">Thrown when input coordinates are invalid.</exception>
public Sticker(Geocoordinates coordinates)
/// <summary>
/// Creates a Sticker type marker.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="coordinates">Marker coordinates</param>
/// <param name="imagePath">Image file path for Marker</param>
/// <remarks>
/// <summary>
/// Multiple Reverse geocode Request for Tizen map service
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class MultiReverseGeocodeRequest : MapServiceRequest<PlaceAddress>
{
private Interop.MultiReverseGeocodeCallback _geocodeCallback;
/// <summary>
/// Overlay map object
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class Overlay : MapObject, IDisposable
{
internal Interop.OverlayHandle handle;
/// <summary>
/// Creates a normal overlay map object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="coordinates"></param>
/// <param name="objectToContain"></param>
/// <exception cref="ArgumentException">Thrown when input coordinates or objectToContain are invalid</exception>
/// <summary>
/// Gets or sets visibility of overlay map object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public override bool IsVisible
{
get { return handle.IsVisible; }
/// <summary>
/// Gets or sets geographical coordinates for overlay map object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public Geocoordinates Coordinates
{
get
/// <summary>
/// Gets or sets minimum zoom level for overlay map object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public int MinimumZoomLevel
{
get
/// <summary>
/// Gets or sets maximum zoom lever for overlay map object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public int MaximumZoomLevel
{
get
/// <summary>
/// Releases all resources used by this object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public void Dispose()
{
Dispose(true);
/// <summary>
/// Bubble overlay map object
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class BubbleOverlay : Overlay
{
/// <summary>
/// Creates a Bubble overlay.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="coordinates">The geographical coordinates to be pointed</param>
/// <param name="objectToContain">The EvasObject to be shown</param>
/// <exception cref="System.NotSupportedException">Thrown when the required feature is not supported.</exception>
/// <summary>
/// Box Overlay map object
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class BoxOverlay : Overlay
{
/// <summary>
/// Creates a Box overlay.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="coordinates">The geographical coordinates to be pointed</param>
/// <param name="objectToContain">The EvasObject to be shown</param>
/// <exception cref="System.NotSupportedException">Thrown when the required feature is not supported.</exception>
/// <summary>
/// Place information, used in Place Discovery and Search
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class Place : IDisposable
{
internal Interop.PlaceHandle handle;
/// <summary>
/// Gets ID string for the place.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string Id
{
get
/// <summary>
/// Gets name string for the place.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string Name
{
get
/// <summary>
/// Gets view URI for the place.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string Uri
{
get
/// <summary>
/// Gets distance for the place from the center.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public int Distance
{
get
/// <summary>
/// Gets geographical location for the place.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public Geocoordinates Coordinates
{
get
/// <summary>
/// Gets address for the place.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public PlaceAddress Address
{
get
/// <summary>
/// Gets rating for the place.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public PlaceRating Rating
{
get
/// <summary>
/// Gets supplier link for the place.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public PlaceLink Supplier
{
get
/// <summary>
/// Gets related link for the place.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public PlaceLink Related
{
get
/// <summary>
/// Gets all properties attached to this place.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public IDictionary<string, string> Properties
{
get
/// <summary>
/// Gets all categories attached to this place.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public IEnumerable<PlaceCategory> Categories
{
get
/// <summary>
/// Gets all attributes attached to this place.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public IEnumerable<PlaceAttribute> Attributes
{
get
/// <summary>
/// Gets all contacts attached to this place.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public IEnumerable<PlaceContact> Contacts
{
get
/// <summary>
/// Gets all editorials attached to this place.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public IEnumerable<PlaceEditorial> Editorials
{
get
/// <summary>
/// Gets all images attached to this place.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public IEnumerable<PlaceImage> Images
{
get
/// <summary>
/// Gets all reviews attached to this place.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public IEnumerable<PlaceReview> Reviews
{
get
/// <summary>
/// Releases all resources used by this object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public void Dispose()
{
Dispose(true);
/// <summary>
/// Address information for the map point used in Geocode and Reverse Geocode requests.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class PlaceAddress : IDisposable
{
internal Interop.AddressHandle handle;
/// <summary>
/// Constructs map address object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <exception cref="System.InvalidOperationException">Thrown when native operation failed to allocate memory.</exception>
public PlaceAddress()
{
/// <summary>
/// Gets a building number for this address.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string Building
{
get
/// <summary>
/// Gets a city name for this address.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string City
{
get
/// <summary>
/// Gets a country name for this address.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string Country
{
get
/// <summary>
/// Gets a country code for this address.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string CountryCode
{
get
/// <summary>
/// Gets a county for this address.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string County
{
get
/// <summary>
/// Gets a district name for this address.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string District
{
get
/// <summary>
/// Gets a free text associated with this address.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string Freetext
{
get
/// <summary>
/// Gets a postal code for this address.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string PostalCode
{
get
/// <summary>
/// Gets a state name for this address.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string State
{
get
/// <summary>
/// Gets a street name for this address.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string Street
{
get
/// <summary>
/// Returns a string that represents this object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <returns>Returns a string which presents this object.</returns>
public override string ToString()
{
/// <summary>
/// Releases all resources used by this object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public void Dispose()
{
Dispose(true);
/// <summary>
/// Releases all resources used by this object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public void Dispose()
{
Dispose(true);
/// <summary>
/// Place Attributes information, used in Place Discovery and Search requests
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class PlaceAttribute
{
private string _id;
/// <summary>
/// Gets an ID for the place attribute.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string Id { get { return _id; } }
/// <summary>
/// Gets a label for the place attribute.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string Label { get { return _label; } }
/// <summary>
/// Gets a text for the place attribute.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string Text { get { return _text; } }
/// <summary>
/// Returns a string that represents this object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <returns>Returns a string which presents this object.</returns>
public override string ToString()
{
/// <summary>
/// Place Category information, used in Place Discovery and Search requests
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class PlaceCategory : IDisposable
{
internal Interop.PlaceCategoryHandle handle;
/// <summary>
/// Constructs search category object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <exception cref="System.InvalidOperationException">Thrown when native operation failed to allocate memory.</exception>
public PlaceCategory()
{
/// <summary>
/// Gets or sets an ID for this category.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string Id
{
get { return handle.Id; }
/// <summary>
/// Gets or sets a name for this category.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string Name
{
get { return handle.Name; }
/// <summary>
/// Gets or sets an URL for this category.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string Url
{
get { return handle.Url; }
/// <summary>
/// Returns a string that represents this object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <returns>Returns a string which presents this object.</returns>
public override string ToString()
{
/// <summary>
/// Releases all resources used by this object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public void Dispose()
{
Dispose(true);
/// <summary>
/// Place Contact information, used in Place Discovery and Search requests
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class PlaceContact
{
private string _label;
/// <summary>
/// Gets an ID for this place contact.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string Id { get { return _type; } }
/// <summary>
/// Gets a label for this place contact.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string Label { get { return _label; } }
/// <summary>
/// Gets a value for this place contact.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string Value { get { return _value; } }
/// <summary>
/// Returns a string that represents this object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <returns>Returns a string which presents this object.</returns>
public override string ToString()
{
/// <summary>
/// Place Editorial information, used in Place Discovery and Search requests
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class PlaceEditorial
{
private string _description;
/// <summary>
/// Gets a description for this place editorial.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string Description { get { return _description; } }
/// <summary>
/// Gets a language for this place editorial.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string Language { get { return _language; } }
/// <summary>
/// Gets an instance of <see cref="PlaceMedia"/> object which representing media for this place editorial.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public PlaceMedia Media { get { return _media; } }
/// <summary>
/// Returns a string that represents this object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <returns>Returns a string which presents this object.</returns>
public override string ToString()
{
/// <summary>
/// Place Filter information, used in Place Discovery and Search requests
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class PlaceFilter : IDisposable
{
internal Interop.PlaceFilterHandle handle;
/// <summary>
/// Constructs new place filter.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <exception cref="System.InvalidOperationException">Thrown when native operation failed to allocate memory.</exception>
public PlaceFilter()
{
/// <summary>
/// Gets or sets an free-formed address string for this place filter.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <remarks>Depending on maps provider which the application has selected,
/// it may treat <see cref="PlaceFilter.Name"/>, <see cref="PlaceFilter.Keyword"/> and <see cref="PlaceFilter.Address"/>
/// as same kind of strings to search places.</remarks>
/// <summary>
/// Gets or sets an instance of <see cref="PlaceCategory"/> object for this place filter.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public PlaceCategory Category
{
get
/// <summary>
/// Gets or sets a keyword for this place filter.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <remarks>Depending on maps provider which the application has selected,
/// it may treat <see cref="PlaceFilter.Name"/>, <see cref="PlaceFilter.Keyword"/> and <see cref="PlaceFilter.Address"/>
/// as same kind of strings to search places.</remarks>
/// <summary>
/// Gets or sets a name for this place filter.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <remarks>Depending on maps provider which the application has selected,
/// it may treat <see cref="PlaceFilter.Name"/>, <see cref="PlaceFilter.Keyword"/> and <see cref="PlaceFilter.Address"/>
/// as same kind of strings to search places.</remarks>
/// <summary>
/// Releases all resources used by this object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public void Dispose()
{
Dispose(true);
/// <summary>
/// Place Image information, used in Place Discovery and Search requests
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class PlaceImage
{
private string _id;
/// <summary>
/// Gets an ID for this place image.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string Id { get { return _id; } }
/// <summary>
/// Gets an URL for this place image.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string Url { get { return _url; } }
/// <summary>
/// Gets width for this place image.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public int Width { get { return _width; } }
/// <summary>
/// Gets height for this place image.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public int Height { get { return _height; } }
/// <summary>
/// Gets an object which representing user link for this place image.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public PlaceLink UserLink { get { return _userLink; } }
/// <summary>
/// Gets an object which representing image media for this place image.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public PlaceMedia ImageMedia { get { return _media; } }
}
}
/// <summary>
/// Place Link Object information, used in Place Discovery and Search requests
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class PlaceLink
{
private string _id;
/// <summary>
/// Gets a string which representing ID for this place link.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string Id { get { return _id; } }
/// <summary>
/// Gets a string which representing name for this place link.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string Name { get { return _name; } }
/// <summary>
/// Gets a string which representing link for this place link.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string Link { get { return _link; } }
/// <summary>
/// Gets a string which representing type for this place link.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string Type { get { return _type; } }
}
}
/// <summary>
/// Releases all resources used by this object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public void Dispose()
{
Dispose(true);
/// <summary>
/// Place Media information, used in Place Discovery and Search requests
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class PlaceMedia
{
private string _attribution;
/// <summary>
/// Gets a string which representing attribution for this place media.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string Attribution { get { return _attribution; } }
/// <summary>
/// Gets an instance of <see cref="PlaceLink"/> object which representing supplier for this place media.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public PlaceLink Supplier { get { return _supplier; } }
/// <summary>
/// Gets an instance of <see cref="PlaceLink"/> object which representing via data for this place media.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public PlaceLink Via { get { return _via; } }
}
}
/// <summary>
/// Place Rating information, used in Place Discovery and Search requests
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class PlaceRating
{
private int _count;
/// <summary>
/// Gets the number of users rated for this place rating.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public int UserCount { get { return _count; } }
/// <summary>
/// Gets average value of this place rating.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public double Average { get { return _average; } }
/// <summary>
/// Returns a string that represents this object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <returns>Returns a string which presents this object.</returns>
public override string ToString()
{
/// <summary>
/// Place Review information, used in Place Discovery and Search requests
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class PlaceReview
{
private DateTime _date;
/// <summary>
/// Gets an instance of <see cref="DateTime"/> object which representing time of this review.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public DateTime Date { get { return _date; } }
/// <summary>
/// Gets a string which representing title of this review.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string Title { get { return _title; } }
/// <summary>
/// Gets a value which representing rating of this review.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public double Rating { get { return _rating; } }
/// <summary>
/// Gets a string which representing description of this review.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string Description { get { return _description; } }
/// <summary>
/// Gets a string which representing language of this review.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string Language { get { return _language; } }
/// <summary>
/// Gets an instance of <see cref="PlaceMedia"/> object which representing review media of this review.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public PlaceMedia ReviewMedia { get { return _media; } }
/// <summary>
/// Gets an instance of <see cref="PlaceLink"/> object which representing user link of this review.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public PlaceLink UserLink { get { return _userLink; } }
}
}
/// <summary>
/// Place search request for Tizen map service
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class PlaceSearchRequest : MapServiceRequest<Place>
{
private Interop.SearchPlaceCallback _placeCallback;
/// <summary>
/// Polygon map object
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class Polygon : MapObject, IDisposable
{
internal Interop.PolygonHandle handle;
/// <summary>
/// Creates a polygon visual object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="coordinates">List of geographical coordinates</param>
/// <param name="color">Background color</param>
/// <exception cref="ArgumentException">Thrown when input values are invalid.</exception>
/// <summary>
/// Adds or removes clicked event handlers.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public event EventHandler Clicked;
/// <summary>
/// Gets or sets visibility for the polygon.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public override bool IsVisible
{
get { return handle.IsVisible; }
/// <summary>
/// Gets or sets a list of geographical coordinates of polygon vertices.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public IEnumerable<Geocoordinates> Coordinates
{
get
/// <summary>
/// Gets or sets background color to fill the polygon.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public Color FillColor
{
get
/// <summary>
/// Releases all resources used by this object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public void Dispose()
{
Dispose(true);
/// <summary>
/// Polyline map object
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class Polyline : MapObject, IDisposable
{
internal Interop.PolylineHandle handle;
/// <summary>
/// Creates polyline visual object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="coordinates">List of geographical coordinates</param>
/// <param name="color">Line color</param>
/// <param name="width">The width of line [1 ~ 100] (pixels)</param>
/// <summary>
/// Adds or removes clicked event handlers.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public event EventHandler Clicked;
/// <summary>
/// Gets or sets visibility for the polyline.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public override bool IsVisible
{
get { return handle.IsVisible; }
/// <summary>
/// Gets or sets a list of geographical coordinates for polyline vertices.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public IEnumerable<Geocoordinates> Coordinates
{
get
/// <summary>
/// Gets or sets line color.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public Color LineColor
{
get
/// <summary>
/// Gets or sets line width from 1 to 100 pixels.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public int Width
{
get
/// <summary>
/// Releases all resources used by this object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public void Dispose()
{
Dispose(true);
/// <summary>
/// Reverse geocode request for map service.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class ReverseGeocodeRequest : MapServiceRequest<PlaceAddress>
{
private Interop.ReverseGeocodeCallback _geocodeCallback;
/// <summary>
/// Route information, used in Route Search requests.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class Route : IDisposable
{
internal Interop.RouteHandle handle;
/// <summary>
/// Gets an instance of <see cref="Geocoordinates"/> object which representing destination coordinates for this route.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public Geocoordinates Destination
{
get
/// <summary>
/// Gets total distance for this route.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public double Distance
{
get
/// <summary>
/// Get total duration to cover this route.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public double Duration
{
get
/// <summary>
/// Gets an ID for this route.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string Id
{
get
/// <summary>
/// Gets transport mode for this route.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public TransportMode Mode
{
get
/// <summary>
/// Gets origin coordinates for this route.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public Geocoordinates Origin
{
get
/// <summary>
/// Gets a coordinates list for this route.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public IEnumerable<Geocoordinates> Path
{
get
/// <summary>
/// Gets a segment list for this route.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public IEnumerable<RouteSegment> Segments
{
get
/// <summary>
/// Gets distance unit for this route.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public DistanceUnit Unit
{
get
/// <summary>
/// Releases all resources used by this object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public void Dispose()
{
Dispose(true);
/// <summary>
/// Route features, used for route search requests
/// </summary>
+ /// <since_tizen>3</since_tizen>
public enum RouteFeature
{
/// <summary>
/// <summary>
/// Route feature weights used in route search requests
/// </summary>
+ /// <since_tizen>3</since_tizen>
public enum RouteFeatureWeight
{
/// <summary>
/// <summary>
/// Route Maneuver information, used in Route Search requests
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class RouteManeuver
{
private Interop.RouteDirection _direction;
/// <summary>
/// Gets direction type for this maneuver.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public DirectionType Direction { get { return (DirectionType)_direction; } }
/// <summary>
/// Gets turn type for this maneuver.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public TurnInstruction Turn { get { return (TurnInstruction)_turntype; } }
/// <summary>
/// Gets a geographical coordinates position for this maneuver.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public Geocoordinates Position { get { return _coordinates; } }
/// <summary>
/// Gets a name of the road for this maneuver.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string Road { get { return _road; } }
/// <summary>
/// Gets an instruction text for this maneuver.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string Instruction { get { return _instruction; } }
/// <summary>
/// Gets a locale for this maneuver.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string Locale { get { return _locale; } }
/// <summary>
/// Gets time to next instruction for this maneuver.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public int TimeToNextInstruction { get { return _timeToNextInstruction; } }
/// <summary>
/// Gets distance to next instruction for this maneuver.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public double DistanceToNextInstruction { get { return _distanceToNextInstruction; } }
}
}
/// <summary>
/// Allowed route optimization option used in route search requests
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <remarks>
/// Depending on loaded maps plug-in using <see cref="MapService"/>, some features may have no effect or differences with descriptions.
/// </remarks>
/// <summary>
/// Route search request for Tizen map service requests
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class RouteSearchRequest : MapServiceRequest<Route>
{
private Interop.SearchRouteCallback _routeCallback;
/// <summary>
/// Gets or sets a list of way-points to cover between origin and destination.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public IEnumerable<Geocoordinates> Waypoints
{
get
/// <summary>
/// Place Segment information, used in Route Search requests
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class RouteSegment
{
private Geocoordinates _origin;
/// <summary>
/// Gets an origin coordinates for this segment.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public Geocoordinates Origin { get { return _origin; } }
/// <summary>
/// Gets a destination coordinates for this segment.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public Geocoordinates Destination { get { return _destination; } }
/// <summary>
/// Gets total distance for this segment.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public double Distance { get { return _distance; } }
/// <summary>
/// Gets total duration to cover this segment.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public double Duration { get { return _duration; } }
/// <summary>
/// Gets a maneuver list for this segment.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public IEnumerable<RouteManeuver> Maneuvers { get { return _maneuvers; } }
/// <summary>
/// Gets a coordinates list for this segment.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public IEnumerable<Geocoordinates> Path { get { return _path; } }
private Area BoundingBox { get { return _boundingBox; } }
/// <summary>
/// Preferences for route search requests
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class SearchPreference : IGeocodePreference, IPlaceSearchPreference, IRouteSearchPreference, IDisposable
{
internal Interop.PreferenceHandle handle;
/// <summary>
/// Constructors a new search preference.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public SearchPreference()
{
handle = new Interop.PreferenceHandle();
/// <summary>
/// Gets or sets preferred language.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <remarks>Language should be specified as an ISO 3166 alpha-2 two letter country-code
/// followed by ISO 639-1 for the two-letter language code.<br/>e.g. "ko-KR", "en-US".</remarks>
public string Language
/// <summary>
/// Gets or sets the maximum result count for each service request.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <remarks>Setting negative value will not have any effect on MaxResults value</remarks>
public int MaxResults
{
/// <summary>
/// Gets or sets distance unit.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public DistanceUnit Unit
{
get
/// <summary>
/// Gets or sets preferred country.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public string CountryCode
{
get
/// <summary>
/// Gets or sets search properties as key value pair.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public IReadOnlyDictionary<string, string> Properties
{
get
/// <summary>
/// Gets or sets route optimization.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public RouteOptimization Optimization
{
get
/// <summary>
/// Gets or sets route transport mode.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public TransportMode Mode
{
get
/// <summary>
/// Gets or sets route feature weight.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public RouteFeatureWeight RouteFeatureWeight
{
get
/// <summary>
/// Gets or sets route feature.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public RouteFeature RouteFeature
{
get
/// <summary>
/// Gets or sets if searching for alternative routes is enabled.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public bool SearchAlternativeRoutes
{
get
/// <summary>
/// Releases all resources used by this object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public void Dispose()
{
Dispose(true);
-/*
+/*
* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the License);
/// <summary>
/// Features available in the Map Service
/// </summary>
+ /// <since_tizen>3</since_tizen>
public enum ServiceData
{
/// <summary>
/// <summary>
/// Service Requests available in the Maps Service
/// </summary>
+ /// <since_tizen>3</since_tizen>
public enum ServiceRequestType
{
/// <summary>
-/*
+/*
* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the License);
/// <summary>
/// Enumeration for snapshot file formats
/// </summary>
+ /// <since_tizen>3</since_tizen>
public enum SnapshotType
{
/// <summary>
/// </summary>
JPEG = Interop.ViewSnapshotFormatType.ViewSnapshotJpeg,
}
-}
\ No newline at end of file
+}
/// <summary>
/// Route types
/// </summary>
+ /// <since_tizen>3</since_tizen>
public enum TransportMode
{
/// <summary>
/// <summary>
/// Turn Instruction type for route maneuver
/// </summary>
+ /// <since_tizen>3</since_tizen>
public enum TurnInstruction
{
/// <summary>