Printable versions
This Page
All Pages
PDF (2.0MB)

Index

Component
GpsViewCE

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.NewMapShape GpsTools v2.20 and later

Creates a new MapShape. The MapShpe is inserted in the active layer. A MapShape object is used to draw a Shape on a map. After you have created the MapShape, 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 MapShape use Map.Delete.
To use multiple layers see Map.ActiveLayer.

See Shape

Syntax
Set obj = objMap.NewMapShape (objShape)

Part Type Description
objMap GpsViewCECtl.Map An object that evaluates to an GpsViewCECtl.Map object.
obj GpsViewCECtl.MapShape (Variant)
New MapShape.
objShape GpsShapeCE.Shape (Variant)
Shape to draw on map.



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