ThinkGeo.Core.MapUtil
Inheritance Hierarchy
Members Summary
Public Constructors
Protected Constructors
Public Methods
GetType()
Return Value
Type:Type
Description:N/A
Parameters
ToString()
Return Value
Type:String
Description:N/A
Parameters
Equals(Object)
Return Value
Type:Boolean
Description:N/A
Parameters
obj
Type:Object
Description:N/A
GetHashCode()
Return Value
Type:Int32
Description:N/A
Parameters

GetResolutionFromScale(Double,GeographyUnit,Single)
Return Value
Type:Double
Description:N/A
Parameters
scale
Type:Double
Description:N/A
dpi
Type:Single
Description:N/A

GetResolution(RectangleShape,Double,Double)
Return Value
Type:Double
Description:N/A
Parameters
widthInPixel
Type:Double
Description:N/A
heightInPixel
Type:Double
Description:N/A

GetScale(RectangleShape,Single,GeographyUnit,Single)
Return Value
Type:Double
Description:N/A
Parameters
screenWidth
Type:Single
Description:N/A
dpi
Type:Single
Description:N/A

GetScale(GeographyUnit,RectangleShape,Double,Double,Single)
Return Value
Type:Double
Description:N/A
Parameters
widthInPixel
Type:Double
Description:N/A
heightInPixel
Type:Double
Description:N/A
dpi
Type:Single
Description:N/A

GetSnappedScale(RectangleShape,Single,GeographyUnit,ZoomLevelSet)
Return Value
Type:Double
Description:N/A
Parameters
screenWidth
Type:Single
Description:N/A

GetSnappedScale(Double,ZoomLevelSet)
Return Value
Type:Double
Description:N/A
Parameters
scale
Type:Double
Description:N/A

CalculateExtent(PointShape,Double,GeographyUnit,Double,Double)
Return Value
Parameters
scale
Type:Double
Description:N/A
mapWidth
Type:Double
Description:N/A
mapHeight
Type:Double
Description:N/A

AdjustExtentByRestrictions(RectangleShape,Single,Single,RectangleShape,Double,Double,GeographyUnit)
Return Value
Parameters
width
Type:Single
Description:N/A
height
Type:Single
Description:N/A
maximumScale
Type:Double
Description:N/A
minimumScale
Type:Double
Description:N/A

ToWorldCoordinate(RectangleShape,Double,Double,Double,Double)
Return Value
Parameters
screenX
Type:Double
Description:N/A
screenY
Type:Double
Description:N/A
screenWidth
Type:Double
Description:N/A
screenHeight
Type:Double
Description:N/A

GetDistance(PointShape,PointShape)
Return Value
Type:Double
Description:N/A
Parameters

GetSnappedZoomLevelIndex(RectangleShape,GeographyUnit,Collection<Double>,Double,Double)
Return Value
Type:Int32
Description:N/A
Parameters
zoomLevelScales
Type:Collection<Double>
Description:N/A
actualWidth
Type:Double
Description:N/A
actualHeight
Type:Double
Description:N/A

GetSnappedZoomLevelIndex(Double,ZoomLevelSet)
Return Value
Type:Int32
Description:N/A
Parameters
scale
Type:Double
Description:N/A

GetSnappedZoomLevelIndex(Double,IEnumerable<Double>,Double,Double)
Return Value
Type:Int32
Description:N/A
Parameters
scale
Type:Double
Description:N/A
zoomLevelScales
Type:IEnumerable<Double>
Description:N/A
minimumScale
Type:Double
Description:N/A
maximumScale
Type:Double
Description:N/A

GetRotatedScreenPoint(Double,Double,Single,ScreenPointF)
Return Value
Parameters
x
Type:Double
Description:N/A
y
Type:Double
Description:N/A
rotatedAngle
Type:Single
Description:N/A

GetRotatedPoint(Double,Double,Single,PointShape)
Return Value
Parameters
x
Type:Double
Description:N/A
y
Type:Double
Description:N/A
rotatedAngle
Type:Single
Description:N/A

GetRotatedExtent(RectangleShape,Single,PointShape)
Return Value
Parameters
rotatedAngle
Type:Single
Description:N/A

GetRotatedPolygon(RectangleShape,Single,PointShape)
Return Value
Parameters
rotatedAngle
Type:Single
Description:N/A

ApplyDrawingMarginToExtent(RectangleShape,Single,Single,Single)
Return Value
Parameters
marginInPixel
Type:Single
Description:N/A
screenWidth
Type:Single
Description:N/A
screenHeight
Type:Single
Description:N/A

CenterAt(RectangleShape,PointShape,Single,Single)
Return Value
Parameters

CenterAt(RectangleShape,Feature,Single,Single)
Return Value
Parameters

CenterAt(RectangleShape,Single,Single,Single,Single)
Return Value
Parameters

GetBoundingBoxOfItems(IEnumerable<BaseShape>)
Return Value
Parameters

GetBoundingBoxOfItems(IEnumerable<Feature>)
Return Value
Parameters

GetDrawingExtent(RectangleShape,Single,Single)
This function is used because the extent to draw must be the rame ratio as the screen width and height. If they are not, then the image drawn will be stretched or compressed. We always adjust the extent upwards to ensure that no matter how we adjust it, the original extent will fit within the new extent. This ensures that everything you wanted to see in the first extent is visible and maybe a bit more.
Return Value
Parameters

GetScreenDistanceBetweenTwoWorldPoints(RectangleShape,PointShape,PointShape,Single,Single)
Return Value
Parameters

GetScreenDistanceBetweenTwoWorldPoints(RectangleShape,Feature,Feature,Single,Single)
Return Value
Parameters

GetSnappedExtent(RectangleShape,GeographyUnit,Single,Single,ZoomLevelSet)
Return Value
Parameters
screenWidth
Type:Single
Description:N/A
screenHeight
Type:Single
Description:N/A

GetWorldDistanceBetweenTwoScreenPoints(RectangleShape,ScreenPointF,ScreenPointF,Single,Single,GeographyUnit,DistanceUnit)
Return Value
Parameters

GetWorldDistanceBetweenTwoScreenPoints(RectangleShape,Single,Single,Single,Single,Single,Single,GeographyUnit,DistanceUnit)
Return Value
Type:Double
Description:N/A
Parameters

Pan(RectangleShape,PanDirection,Int32)
Return Value
Parameters

Pan(RectangleShape,Single,Int32)
Return Value
Parameters

ToScreenCoordinate(BaseShape,RectangleShape,Single,Single)
Return Value
Parameters

ToScreenCoordinate(RectangleShape,RectangleShape,Single,Single)
Return Value
Parameters

ToScreenCoordinate(RectangleShape,Double,Double,Single,Single)
Return Value
Parameters

ToScreenCoordinate(RectangleShape,PointShape,Single,Single)
Return Value
Parameters

ToScreenCoordinate(RectangleShape,Feature,Single,Single)
Return Value
Parameters

ToWorldCoordinate(RectangleShape,Single,Single,Single,Single)
Return Value
Parameters

ToWorldCoordinate(RectangleShape,ScreenPointF,Single,Single)
Return Value
Parameters

ZoomIn(RectangleShape,Int32)
Return Value
Parameters

ZoomIntoCenter(RectangleShape,Int32,PointShape,Single,Single)
Return Value
Parameters

ZoomIntoCenter(RectangleShape,Int32,Feature,Single,Single)
Return Value
Parameters

ZoomIntoCenter(RectangleShape,Int32,Single,Single,Single,Single)
Return Value
Parameters

ZoomOut(RectangleShape,Int32)
Return Value
Parameters

ZoomOutToCenter(RectangleShape,Int32,PointShape,Single,Single)
Return Value
Parameters

ZoomOutToCenter(RectangleShape,Int32,Feature,Single,Single)
Return Value
Parameters

ZoomOutToCenter(RectangleShape,Int32,Single,Single,Single,Single)
Return Value
Parameters

ZoomToScale(Double,RectangleShape,GeographyUnit,Single,Single)
Return Value
Parameters

ZoomToScale(Double,RectangleShape,GeographyUnit,Single,Single,ScreenPointF)
Return Value
Parameters

ToWorldCoordinate(PolygonShape,RectangleShape,Single,Single)
Return Value
Parameters
canvasWidth
Type:Single
Description:N/A
canvasHeight
Type:Single
Description:N/A

GetVersion()
Return Value
Parameters

BuildFourColorColumn(String,Collection<Feature>)
Return Value
Parameters
columnName
Type:String
Description:N/A
Protected Methods
MemberwiseClone()
Return Value
Type:Object
Description:N/A
Parameters
Finalize()
Return Value
Type:Void
Description:N/A
Parameters
Public Properties
Protected Properties
Public Events