OsmBuildingOverlay¶
Namespace: ThinkGeo.Core
public class OsmBuildingOverlay : BuildingOverlay, System.IDisposable
Inheritance Object → Overlay → BuildingOverlay → OsmBuildingOverlay
Implements IDisposable
Properties¶
LevelColumnName¶
public string LevelColumnName { get; set; }
Property Value¶
LevelHeightInMeters¶
public double LevelHeightInMeters { get; set; }
Property Value¶
HeightUnit¶
public DistanceUnit HeightUnit { get; set; }
Property Value¶
DistanceUnit
HeightColumnName¶
public string HeightColumnName { get; set; }
Property Value¶
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¶
TileType¶
public TileType TileType { get; set; }
Property Value¶
DrawingQuality¶
public DrawingQuality DrawingQuality { get; set; }
Property Value¶
DrawingQuality
CanRefreshRegion¶
public bool CanRefreshRegion { get; protected set; }
Property Value¶
IsBase¶
public bool IsBase { get; set; }
Property Value¶
Name¶
Gets or sets the name of this overaly.
public string Name { get; set; }
Property Value¶
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¶
Attribution¶
public string Attribution { get; set; }
Property Value¶
IsEmpty¶
This property gets if this overlay is empty or not.
public bool IsEmpty { get; }
Property Value¶
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¶
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;