Skip to content

BuildingOverlay

Namespace: ThinkGeo.UI.Android

public class BuildingOverlay : Overlay, System.IDisposable

Inheritance ObjectOverlayBaseOverlayBuildingOverlay
Implements IDisposable

Properties

HeightUnit

public DistanceUnit HeightUnit { get; set; }

Property Value

DistanceUnit

HeightColumnName

public string HeightColumnName { get; set; }

Property Value

String

BuildingFeatureSource

public FeatureSource BuildingFeatureSource { get; set; }

Property Value

FeatureSource

LightSideColor

public GeoColor LightSideColor { get; set; }

Property Value

GeoColor

ShadowSideColor

public GeoColor ShadowSideColor { get; set; }

Property Value

GeoColor

RoofColor

public GeoColor RoofColor { get; set; }

Property Value

GeoColor

OverlayView

Gets or sets the overlay view.

public MapLayout OverlayView { get; set; }

Property Value

MapLayout
The overlay view.

IsVisible

public bool IsVisible { get; set; }

Property Value

Boolean

Name

Gets or sets the name of this overaly.

public string Name { get; set; }

Property Value

String

DrawingExceptionMode

This property gets and sets the DrawingExceptionMode used when an exception occurs during drawing.

public DrawingExceptionMode DrawingExceptionMode { get; set; }

Property Value

DrawingExceptionMode
The drawing exception mode.

MapArguments

Gets or sets the map arguments.

public MapArguments MapArguments { get; set; }

Property Value

MapArguments
The map arguments.

Attribution

Gets or sets the attribution.

public string Attribution { get; set; }

Property Value

String
The attribution.

IsEmpty

Gets a value indicating whether this instance is empty.

public bool IsEmpty { get; }

Property Value

Boolean

Remarks:

This property enhances the performance of the overlay while drawing. If is true, we will skip drawing this overlay and continue drawing the next overlay.

DrawingQuality

Gets or sets the drawingQuality for this overlay.

public DrawingQuality DrawingQuality { get; set; }

Property Value

DrawingQuality

Opacity

Gets or sets the opacity for this overlay.

public double Opacity { get; set; }

Property Value

Double

Constructors

BuildingOverlay()

public BuildingOverlay()

BuildingOverlay(FeatureSource)

public BuildingOverlay(FeatureSource buildingFeatureSource)

Parameters

buildingFeatureSource FeatureSource

BuildingOverlay(FeatureSource, String, DistanceUnit)

public BuildingOverlay(FeatureSource buildingFeatureSource, string heightColumnName, DistanceUnit heightUnit)

Parameters

buildingFeatureSource FeatureSource

heightColumnName String

heightUnit DistanceUnit

Methods

DrawCore(MapArguments, OverlayRefreshType)

protected void DrawCore(MapArguments mapArguments, OverlayRefreshType refreshType)

Parameters

mapArguments MapArguments

refreshType OverlayRefreshType

PostTransformCore(TransformArguments, MapArguments)

protected void PostTransformCore(TransformArguments transformInfo, MapArguments mapArguments)

Parameters

transformInfo TransformArguments

mapArguments MapArguments

Events

DrawingException

Occurs before exception is drawing on map.

public event EventHandler<DrawingExceptionOverlayEventArgs> DrawingException;

DrawnException

Occurs after exception is drawn on map.

public event EventHandler<DrawnExceptionOverlayEventArgs> DrawnException;

Drawing

This event raises before the overlay is drawing.

public event EventHandler<DrawingOverlayEventArgs> Drawing;

Drawn

This event raises after the overlay is drawn.

public event EventHandler<DrawnOverlayEventArgs> Drawn;