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.SetIndex GpsTools v2.02 and later

Sets the index (Z-order) of specified object. The object can be an Ellipse, Rectangle, Icon, Line, etc. Calling SetIndex with 1 as Index argument puts the object under all other objects. Calling SetIndex with -1 (or any number higher than or equal to the total number of objects on the map) will put the object on top of all other objects.

The index is 1-based, not Zero-based. This means the first object on the map has index number 1. The index is set inside a layer.

See also: Map.GetIndex and Map.GetByIndex

Syntax
objMap.GetIndex(objDrawObject, Index)

Part Type Description
objMap GpsViewXPCtl.Map An object that evaluates to an GpsViewXPCtl.Map object.
objDrawObject GpsViewXPCtl.IDrawObject (Variant)
Graphical object.
Index Long (Variant) Index of object



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