/// <returns>Response from map service provider</returns>
/// <exception cref="TaskCanceledException">Throws if request is canceled</exception>
/// <exception cref="InvalidOperationException">Throws if native operation failed</exception>
+ /// <exception cref="ArgumentException">Throws if arguments are invalid</exception>
public async Task<IEnumerable<T>> GetResponseAsync()
{
if (_requestTask == null || _requestTask.Task.IsCanceled)
handle = new Interop.ViewHandle(service.handle, this);
_service = service;
+ this.Resize(1, 1);
+
// We need to keep Gesture Tap event enabled for object event to work
handle.SetGestureEnabled(Interop.ViewGesture.Tap, true);
SetObjectEventCallback();
/// </summary>
public class BubbleOverlay : Overlay
{
+ /// <summary>
+ /// Creates Box overlay
+ /// </summary>
+ /// <exception cref="ArgumentException">Throws if input coordinates or objectToContain are invalid</exception>
public BubbleOverlay(Geocoordinates coordinates, EvasObject objectToContain) : base(coordinates, objectToContain, Interop.ViewOverlayType.Bubble)
{
}
/// <summary>
/// Creates Box overlay
/// </summary>
+ /// <exception cref="ArgumentException">Throws if input coordinates or objectToContain are invalid</exception>
public BoxOverlay(Geocoordinates coordinates, EvasObject objectToContain) : base(coordinates, objectToContain, Interop.ViewOverlayType.Box)
{
}
/// </summary>
/// <param name="coordinates">list of geographical coordinates</param>
/// <param name="color">background color</param>
+ /// <exception cref="ArgumentException">Throws if input values are invalid</exception>
public Polygon(IEnumerable<Geocoordinates> coordinates, Color color) : base()
{
var err = Interop.ErrorCode.InvalidParameter;
/// <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>
+ /// <exception cref="ArgumentException">Throws if input values are invalid</exception>
public Polyline(List<Geocoordinates> coordinates, Color color, int width) : base()
{
var err = Interop.ErrorCode.InvalidParameter;