Printable versions
This Page
All Pages
PDF (2.0MB)

Index

Component
GpsViewNET

Class
Map

Properties
Position
OffsetX
OffsetY
Zoom
Rotation
Background
UpdateInterval
ImageFormat

Layers
MapLib

Events
OnObjectDown
OnObjectUp
OnMouseDown
OnMouseUp
OnMouseMove
OnDraw
OnDrawComplete

Methods
Open
Merge
Close
Update
UpdateAsync
CancelUpdate

NewMapShape
NewMapShapeFile
NewIcon
NewLine
NewRectangle
NewEllipse
NewLabel
Delete

GetByID
GetByIndex
GetByPosition
SetIndex
GetIndex

ActiveLayer
ActiveMapData

Position2Point
Point2Position

ZoomByBoundingBox

GetImageStream

Map GpsTools v2.00 and later

The Map control can display a raster map defined in GpsTools Studio or a blank map. On the map objects such as lines, rectangles, ellipses, labels and icons can be drawn using geographic positions. It's easy to trap mouse clicks on the map and on the objects placed on the map. The map can be synchronized to the input from a GPS. The map can be zoomed and rotated. The objects can be drawn and managed on several of layers.

More info on...
Connect map to GPS: Map.Position
Layers: Map.ActiveLayer
Map handling: Map.ActiveMapData
Define a blank map: MapData.SetScale
Draw a line: Map.NewLine
Draw a ESRI shape, polygon, polyline, or multipoint: Map.NewMapShape (GpsTools 2.20) or Map.NewMapShapeFile (GpsTools 2.30)

A MapLib is created using GpsTools Studio. Or by using the zMapLib class. A set of predefined icons can be found here IconOne.

IMPORTANT! Read here how object properties are used.

Take a look at the SimpleMap sample in the SDK to get started.

Here you can find some online map resources



100% managed code
© 2016 Franson Technology AB, All rights reserved, Contact | | Affiliate | Login