Skip to content

< Back


Overlay

Namespace: ThinkGeo.UI.XamarinForms

public abstract class Overlay

Inheritance ObjectOverlay

Properties

Name

Gets or sets the name.

public abstract string Name { get; set; }

Property Value

String
The name.

IsVisible

Gets or sets a value indicating whether this instance is visible.

public abstract bool IsVisible { get; set; }

Property Value

Boolean
true if this instance is visible; otherwise, false.

Opacity

Gets or sets the Alpha value of the overlay, from 0 to 1.0

public abstract double Opacity { get; set; }

Property Value

Double

Methods

Refresh()

This method refreshes all the content in the OverlayCanvas. For example, LayerOverlay with multiple tiles; when the style of one layer is changed, call Refresh to refresh all the tiles to accept new styles.

public abstract void Refresh()

Remarks:

The difference from Draw() method is that Refresh() method refreshs all the elements while Draw() does not.

GetBoundingBox()

Gets the bounding box.

public abstract RectangleShape GetBoundingBox()

Returns

RectangleShape
RectangleShape.


< Back