[]
        
(Showing Draft Content)

C1.FlexMap.IMapDevice

IMapDevice Interface

Internal used. Repsents the device used to rendering the C1.FlexMap.C1FlexMap.

Namespace: C1.FlexMap
Assembly: C1.Win.Map.4.8.dll
Syntax
public interface IMapDevice

Properties

Name Description
IsCentering

Whether the map is under translating.

IsZooming

Whether the map is under scaling.

RightToLeft

Gets or sets a value indicating whether right-to-left mirror placement is turned on.

Methods

Name Description
AfterRenderLayer(IMapLayer)

Invoked after rendering a map layer.

AfterRenderLegend(MapLegend)

Invoked after rendering a map legend.

AfterRenderMap(C1FlexMap)

Invoked after renndering a map.

AfterRenderVector(VectorItem)

Invoked after rendering a vector item.

BeforeRenderLayer(IMapLayer)

Invoked before rendering a map layer.

BeforeRenderLegend(MapLegend)

Invoked before rendering a map legend.

BeforeRenderMap(C1FlexMap)

Invoked before rendering a map.

BeforeRenderVector(VectorItem)

Invoked before rendering a vector item.

CanScaleOnZooming(VectorLayer)

Whether can scale the vector layer on zooming.

DrawString(string, IMapStyle, Rect)

Draws the string in the specified rectangle with specified style.

GetLegendMarkerSize(MapLegendItem)

Gets the size of the marker of the legend item.

GetPlacemarkLabelSize(VectorPlacemark)

Gets the label size of the placemark element.

GetPlacemarkShapeBounds(VectorPlacemark, Rect)

Gets the bounds of marker shape of the placemark element.

GetPolylineWidth(VectorPolyline)

Gets the width of the polyline.

HitTestPlacemark(VectorPlacemark, Point)

Tests whether a point is hit on the placemark.

MeasureString(string, double, IMapStyle)

Gets the size of the string.

RemoveLabels(VectorLayer)

Remove the labels from the layer.

RenderLegendMarker(MapLegendItem, Rect)

Renders the marker of the legend item.

RenderPlacemarkLabel(VectorPlacemark, int)

Renders the label of the placemark element.

RenderPlacemarkMarker(VectorPlacemark, int)

Renders the marker of the placemark element.

RenderPolygon(VectorPolygon)

Renders the polygon element.

RenderPolyline(VectorPolyline)

Renders the polyline element.

RenderTiles(IList<TileItem>)

Renders the tile items.

ResetLayer(IMapLayer)

Invoked when the layer status is reset.

ResetMap(C1FlexMap)

Invoked when the map status is reset.

SetLayerTransformation(IMapLayer, double, double, double, double)

Sets the transformation of the map layer.

SetLayerVisible(IMapLayer, bool)

Sets the visibility of the map layer.

SetLimitClip(Rect)

Set the clip when the limitation bounds is set.

SetLimitClip(IEnumerable<Point>)

Set the clip when the limitation bounds is set.

ShouldRemoveLabelsOnZooming(VectorLayer)

Whether should remove the vector layer labels on zooming.