Skip to content

OsmBuildingOverlay

Namespace: ThinkGeo.Core

public class OsmBuildingOverlay : BuildingOverlay, System.IDisposable

Inheritance ObjectOverlayBuildingOverlayOsmBuildingOverlay
Implements IDisposable

Properties

LevelColumnName

public string LevelColumnName { get; set; }

Property Value

String

LevelHeightInMeters

public double LevelHeightInMeters { get; set; }

Property Value

Double

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

TileSize

public int TileSize { get; set; }

Property Value

Int32

TileType

public TileType TileType { get; set; }

Property Value

TileType

DrawingQuality

public DrawingQuality DrawingQuality { get; set; }

Property Value

DrawingQuality

CanRefreshRegion

public bool CanRefreshRegion { get; protected set; }

Property Value

Boolean

IsBase

public bool IsBase { get; set; }

Property Value

Boolean

Name

Gets or sets the name of this overaly.

public string Name { get; set; }

Property Value

String

MapArguments

Gets or sets current map information which will be used for calculating mechanism.

public MapArguments MapArguments { get; set; }

Property Value

MapArguments

OverlayCanvas

Gets or sets the actual canvas which maintains all the visual elements on the overlay.

public Canvas OverlayCanvas { get; set; }

Property Value

Canvas

DrawingExceptionMode

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

public DrawingExceptionMode DrawingExceptionMode { get; set; }

Property Value

DrawingExceptionMode

IsVisible

Gets or sets if this overlay is visible.

public bool IsVisible { get; set; }

Property Value

Boolean

RefreshTypeOnResize

public OverlayRefreshType RefreshTypeOnResize { get; set; }

Property Value

OverlayRefreshType

Attribution

public string Attribution { get; set; }

Property Value

String

IsEmpty

This property gets if this overlay is empty or not.

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.

AutoRefreshInterval

public TimeSpan AutoRefreshInterval { get; set; }

Property Value

TimeSpan

Constructors

OsmBuildingOverlay()

public OsmBuildingOverlay()

OsmBuildingOverlay(String)

public OsmBuildingOverlay(string levelColumnName)

Parameters

levelColumnName String

OsmBuildingOverlay(String, Double)

public OsmBuildingOverlay(string levelColumnName, double levelHeightInMeters)

Parameters

levelColumnName String

levelHeightInMeters Double

Events

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;

DrawingAttribution

public event EventHandler<DrawingAttributionOverlayEventArgs> DrawingAttribution;

DrawnAttribution

public event EventHandler<DrawnAttributionOverlayEventArgs> DrawnAttribution;

ThrowingException

public event EventHandler<ThrowingExceptionOverlayEventArgs> ThrowingException;