23
5.2.22. Sub DeleteClosestPoi( aFilename As String, aLongitude As
Long, aLatitude As Long)
Command Parameters:
•
aFilename As String:
name of the POI category.
•
aLongitude As Long:
longitude specified in WGS84 format (in millionths of degree).
•
aLatitude As Long:
latitude specified in WGS84 format (in millionths of degree).
Supported Since:
TTN 1.51
Delete a point of interest from the .OV2 file specified by the POI category argument. The point of
interest to be deleted is the closest one to the given co−ordinates among the points of interest that are
within a distance of 100 meters from there.
See Also:
AddPoi, DeleteAllPoi, MakeUserPoiVisible, MoveClosestPoi
5.2.23. Sub DeleteAllPoi( aFilename As String)
Command Parameters:
•
aFilename As String:
name of the POI category.
Supported Since:
TTN 1.51
Delete all points of interest from the .OV2 file specified by the POI category argument. The POI
category itself is also removed after that.
See Also:
AddPoi, DeleteClosestPoi, MakeUserPoiVisible, MoveClosestPoi
5.2.24. Sub MakeUserPoiVisible( aFilename As String, aVisibility As
Boolean)
Command Parameters:
•
aFilename As String:
name of the POI category.
•
aVisibility As Boolean:
whether to show or hide this POI type on the map.
Supported Since:
TTN 2.0
Enable or disable displaying a specific user−created POI type.
See Also:
AddPoi, DeleteClosestPoi, DeleteAllPoi, MoveClosestPoi
5.2.25. Sub MoveClosestPoi( aFilename As String, aLongitude As
Long, aLatitude As Long, aNewLongitude As Long, aNewLatitude As
Long)
Command Parameters:
•
aFilename As String:
name of the POI category.
•
aLongitude As Long:
old longitude specified in WGS84 format (in millionths of degree).
•
aLatitude As Long:
old latitude specified in WGS84 format (in millionths of degree).
•
aNewLongitude As Long:
new longitude specified in WGS84 format (in millionths of degree).
•
aNewLatitude As Long:
new latitude specified in WGS84 format (in millionths of degree).
Supported Since:
TTN 1.51
Move a point of interest from the .OV2 file specified by the POI category argument to a new position.
The point of interest to be moved is the closest one to the given old co−ordinates among the points of
interest that are within a distance of 100 meters from there.
See Also:
AddPoi, DeleteClosestPoi, DeleteAllPoi, MakeUserPoiVisible
5. Communicating with TomTom Navigator from Visual Basic