#Geo

C
MapPointToTile
M
Point
(hMapPoint)MapPoint;(Zoom)i
MapPointToPixel
M
Point
(hMapPoint)MapPoint;(Zoom)i
PixelToMapPoint
M
MapPoint
(hPoint)Point;(Zoom)i
PixelToTile
M
Point
(hPoint)Point;
SexToDec
M
f
(Value)s
'Convert a value in sexagesimal degree to decimal
'ex: 45°53'36" -> 45,893333
DecToSex
M
s
(Value)f(Type)i
'Convert from Decimal to Sexagesimal degrees
'ex:45,893333 -> 45°53'36"
'Type 0=None 1=Lat 2=Lon
TileBounds
M
MapBounds
(X)i(y)i(Zoom)i
TileToMapPoint
M
MapPoint
(X)i(y)i(Zoom)i
#Map

C
Debug
V
b

'Returns or sets the Debug messages
PixelBox
r
Rect

Bounds
r
MapBounds

'Returns the lat/lon coordinates at the limits of the drawed map.
Count
r
i

'Returns the number of Map Layers
Proxy
r
_MapProxy

'Returns a object used for defining proxy parameters.
DefaultCache
p
s

'Returns or sets the default cache path for storing Tiles
Top
p
i

Y
p
i

Left
p
i

X
p
i

Width
p
i

Height
p
i

Zoom
p
i

'Returns or sets the actual Map zoom level
Center
p
MapPoint

'Returns or sets the center point of the map
MaxZoom
p
i

'Returns or sets the maximum Map zoom level
_ShowWithEffect
v
b

_Proxy
v
_MapProxy

:Refresh
:


:Draw
:


Refresh
m


tmrLoad_Timer
m


Resize
m

(iWidth)i(iHeight)i
AddTile
m
_MapTile
(Name)s(Pattern)s[(Args)Collection;(CacheName)s]
'Adds a new Tileset Layer from remote server or local cache to the current Map
'- Name
'- Pattern
'- Args
'- Cachename defines local folder name to store Tiles.
'  If CacheName is provided, stores and load Tiles in/from local cache path defined by *DefaultCache* property.
AddShape
m
_MapShape
(Name)s
'Adds a new Shape Layer to the current Map
'- Name
Remove
m

(Name)s
'Removes a Layer
'- Name is any Tile or Shape Layer
Exists
m
b
(Name)s[(Mode)i]
'Returns if a given Layer actually exists
'- Name
'- The Mode argument is one of the comparison methods available.
'  See Predefined Constants For a list Of comparison methods.
GetTile
m
_MapTile
(Name)s
'Returns a _MapTile Layer object
'This is an alternative method to fetch Map array elements
'- Name is a Tile name
GetShape
m
_MapShape
(Name)s
'Returns a _MapShape object layer
'This is an alternative method to fetch Map array elements
_get
m
o
(Name)s
'Hidden method so can be an readable Array
'- Returns any Layer Object, whatever its a MapTile or MapShape
'- See GetTile or GetShape
_next
m
o

'Hidden method so can be enumerable
Draw
m


Layer_Refresh
m


tmrDraw_Timer
m


Grab
m
Image
(Bounds)MapBounds;(iWidth)i(iHeight)i[(Padding)i(Zoom)i]
'Return an image of the given bounds, with
'the given With And height, With the given margin arround.If
'the zoom Is Not defined Then the better rendering zoom Is Used.
MapPointToPixelRel
m
Point
(hMapPoint)MapPoint;
'Return a Point relative to the view from a MapPoint
PixelToMapPointRel
m
MapPoint
(hPoint)Point;
'Return a MapPoint from a point relative to the view
#MapBounds

C
Left
p
f

Lon
p
f

Est
p
f

Right
p
f

Lon2
p
f

West
p
f

Top
p
f

Lat
p
f

North
p
f

Bottom
p
f

Lat2
p
f

South
p
f

TopLeft
p
MapPoint

NorthEast
p
MapPoint

BottomRight
p
MapPoint

SouthWest
p
MapPoint

InBounds
m
b
(P)MapPoint;
Contain
m
b
(Bound)MapBounds;
Merge
m
MapBounds
(Bound)MapBounds;
Collide
m
b
(Bound)MapBounds;
_Call
M
MapBounds
(NorthEast)MapPoint;(SouthWest)MapPoint;
ToString
m
s

#MapPoint

C
Lat
v
f

Lon
v
f

_new
m

[(Latitude)f(Longitude)f]
_Call
M
MapPoint
(Latitude)f(Longitude)f
Distance
M
f
(PointA)MapPoint;(PointB)MapPoint;
'Calculate geodesic distance (in m) between two points specified by latitude / longitude (in numeric degrees).
'
'from: Vincenty inverse formula - T Vincenty, "Direct and Inverse Solutions of Geodesics on the
'Ellipsoid with application of nested equations", Survey Review, vol XXII no 176, 1975
'[http://www.ngs.noaa.gov/PUBS_LIB/inverse.pdf]
'
'© 2002-2008 Chris Veness [http://www.movable-type.co.uk/scripts/latlong-vincenty.html]
'
From
M
MapPoint
(Point)MapPoint;(Bearing)f(Distance)f
'Calculate destination point given starting point lat / long (numeric degrees), 
'bearing (numeric degrees) & distance (in m).
'
'from: Vincenty direct formula - T Vincenty, "Direct and Inverse Solutions of Geodesics on the 
'Ellipsoid with application of nested equations", Survey Review, vol XXII no 176, 1975"
'[http://www.ngs.noaa.gov/PUBS_LIB/inverse.pdf]
'
'© 2002-2008 Chris Veness [http://www.movable-type.co.uk/scripts/latlong-vincenty-direct.html]
'
Bearing
M
f
(From)MapPoint;(To)MapPoint;
'Calculate the initial bearing (in degrees) that leads from one point to another point
'specified by latitude / longitude.
GetCenter
M
MapPoint
(hPoints)MapPoint[];
'Returns the Central Point between several MapPoints
#MapView
UserControl
C
_Properties
C
s
"*,Border{Border.*},AllowEffect=true,ShowControls=true"
_Group
C
s
"View"
Map
r
Map

'Returns the inner Map object
Lock
p
b

Border
p
i

'Returns or sets the border type of the control.
AllowEffect
p
b

'Returns or sets this Control visual effects.
ShowControls
p
b

'Returns or sets Zoom control.
:Click
:


:Draw
:


_new
m


_GetMaxZoom
m
i

SetCenter
m

(hMapPoint)MapPoint;
View_Draw
m


Refresh
m


View_MouseWheel
m


_ZoomUp
m

(X)i(Y)i
'Saves actual MapView picture as file
'- For file format and quality check
'  [http://gambaswiki.org/wiki/comp/gb.qt4/image/save]
_ZoomDown
m

(X)i(Y)i
Map_Refresh
m


View_MouseDown
m


View_MouseUp
m


View_MouseMove
m


View_Arrange
m


tmrZoom_Timer
m


tmrOnMove_Timer
m


#Proj

C
_strProj
r
s

_new
m

(sInit)s
_call
M
Proj
(sInit)s
TransformPF
m
PointF
(ProjTo)Proj;(PF)PointF;
TransformMPoint
m
MapPoint
(ProjTo)Proj;(MP)MapPoint;
TransformMBounds
m
MapBounds
(ProjTo)Proj;(MB)MapBounds;
#_MapLayer

C
Loading
r
b

'Returns Layer status
Visible
p
b

'Returns or sets Layer visibility
Opacity
p
f

'Returns or sets Layer opacity
Name
v
s

'Returns or sets Layer name
Copyright
v
s

'Returns or sets Layer Copyright notice
:Refresh
:


Draw
m


_Load
m


Refresh
m


_GetMap
m
Map

'Returns associated Map
#_MapProxy

C
'This virtual class allows to define proxy parameters.
Auth
v
i

'Return or set the HTTP authentication mode to use.
'It can be one of the following constants
'- Net.AuthNone (the Default)
'- Net.AuthBasic
'- Net.AuthNtlm
Type
v
i

'Return or set the proxy type.
'It can be one Of the following constant:
'- Net.ProxyHTTP (the Default)
'- Net.ProxySocks5
Host
v
s

'Return or set the proxy host name.
User
v
s

'Return or set the proxy user name.
Password
v
s

'Return or set the proxy password.
#_MapShape
_MapLayer
C
Count
r
i

'Returns the total of Shapes
Max
r
i

'Returns the greatest index
Key
r
s

'Returns Shape associated Key
Color
p
i

'Returns or sets the Shape's items default Color, or outline color
FillColor
p
i

'Returns or sets the Shape's items default Fill Color
LineWidth
p
i

'Returns or sets the Shape's items default Line Width
Image
p
Image

'Returns or sets the Shapes's Points default Image. If set, will override the default Icon. To revert to default Icon, set this to Null
LineStyle
v
i

'Returns or sets the Shape's items default Line Style
_new
m

(Parent)o
'Stores user defined default by Property Image
_Load
m


Clear
m


'Clear all shape itens in this Layer
AddPoint
m
_ShapeItem
(Key)s(Points)MapPoint;[(Color)i(Icon)Image;]
'Adds a Point object to current Shape
'- If Icon not defined, assume default Icon
'- If Color defined, Icon assume defined color
Exist
m
b
(Key)s
'Returns if the specified Shape Item actually exists
AddMultipoint
m
_ShapeItem
(Key)s(Points)MapPoint[];[(Color)i(Icon)Image;]
'Adds a Multipoint object to current Shape
GetCenter
M
MapPoint
(hPoints)MapPoint[];
'Wrapper to MapPoint.GetCenter() since I dont want to break anything :-D
'- See MapPoint.GetCenter()
AddPolyLine
m
_ShapeItem
(Key)s(Points)MapPoint[];[(Color)i(LineWidth)i(LineStyle)i]
'Adds a Polyline object to current Shape
AddPolygon
m
_ShapeItem
(Key)s(Points)MapPoint[][];[(Color)i(LineWidth)i(LineStyle)i]
'Adds a Polygon object to current Shape
AddCircle
m
_ShapeItem
(Key)s(Center)MapPoint;(Radius)f[(Color)i(LineWidth)i(LineStyle)i(FillColor)i]
'Adds a Circle object to current Shape
Draw
m


'Draws the Mapshape Layer and Itens
GetItem
m
_ShapeItem
(Key)s
'Returns a Shape Item
Find
m
_ShapeItem
(hMp)MapPoint;[(Radius)f]
_get
m
_ShapeItem
(Key)s
'Hidden method so can be an readable Array
'- Returns a _ShapeItem
'- See GetItem
Remove
m
b
(Key)s
'Deletes the specified Shape Item
Refresh
m


GetSelected
m
_ShapeItem[]

UnselectAll
m


SelectAll
m


Item_Select
m


GetItemsFromBounds
m
_ShapeItem[]
(hBounds)MapBounds;
#_MapTile
_MapLayer
C
Loading
r
b

'Tile status.
SubDomains
p
String[]

UseWebMapService
p
b

WMSArgs
p
Collection

'Defines the Static args for the server(build the url)
MaxBounds
p
MapBounds

CacheRefreshDelay
p
i

'Delay before refreshing an image in the cache. (By default 30 day)
WMSProjection
p
s

'Set the projection used by the WMS server.
Opacity
p
f

Header
p
String[]

TileBoundValue
v
MapBounds

:Refresh
:


_new
m

[(CacheName)s(Parent)o]
Draw
m


'Draws the Maptile Layer
_Load
m


'Loads precached Tiles
tmrGet_Timer
m


Client_Finished
m


Client_Error
m


Refresh
m


'Refresh Layer contents
SetPattern
m

(sPattern)s[(cArgs)Collection;]
CountActiveClients
m
i

_free
m


SetCoockieFile
m
o
(sFile)s
'Define the cookie file
'Allows to define the cookie file shared by all the httpsockets.
'Usefull for using with some server that query a session.
ClearCache
m

[(iLastUse)i]
'Remove old files from cache.
'- iLastUse defines file age in days
