Printable versions
This Page
All Pages
PDF (2.0MB)

Index

Component
GpsViewXP

Class
Map

Properties
Position
OffsetX
OffsetY
Zoom
Rotation
Background
UpdateInterval

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

Map.NewLabel GpsTools v2.10 and later

Creates a new Label. The label is inserted in the active layer. After you have created the Label, you can assign it an ID, a Position etc. You need to call Map.Update to make changes visible on the map.

To delete the Label use Map.Delete.
To use multiple layers see Map.ActiveLayer.

Syntax
Set objLabel = objMap.NewLabel

Part Type Description
objMap GpsViewXPCtl.Map An object that evaluates to an GpsViewXPCtl.Map object.
objLabel GpsViewXPCtl.Label (Variant)
New Label.



Windows
© 2016 Franson Technology AB, All rights reserved, Contact | | Affiliate | Login