Skip to content

Overlay<T>

Namespace: ThinkGeo.UI.XamarinForms

This class is the base class of all overlays in this overlay system.

public abstract class Overlay<T> : Overlay, 

Type Parameters

T

Inheritance ObjectOverlayOverlay<T>
Implements IMapElementAdaptable<T>

Remarks:

The Overlay has the similar concept as the layer. Different types of overlays stack over each other to form a map. An overlay object is responsible for getting the configuration infomation from the user.

Usually an overlay represents an image with transparent background that is laid upon other overlay such as LayerOverlay, WmsOverlay. While the MarkerOverlay will not be rendered as an image, it is actually represents a control that holds bunch of marker images on the map.

Properties

Adapter

Gets the adapter.

public T Adapter { get; set; }

Property Value

T
The adapter.

IsVisible

public bool IsVisible { get; set; }

Property Value

Boolean

Name

public string Name { get; set; }

Property Value

String

Opacity

public double Opacity { get; set; }

Property Value

Double

Methods

Refresh()

public void Refresh()

RefreshAsync()

public Task RefreshAsync()

Returns

Task

GetBoundingBox()

public RectangleShape GetBoundingBox()

Returns

RectangleShape