Int Deleteclosestpoi( Lpctstr Afilename, Long Alongitude, Long Alatitude); Int Deleteallpoi( Lpctstr Afilename); Int Makeuserpoivisible( Lpctstr Afilename, Int Avisibility); Int Moveclosestpoi( Lpctstr Afilename, Long Alongitude, Long Alatitude, Long Anewlongitude, Long Anewlatitude) - TomTom Navigator SDK Installation And Use Manual

Version 3.0 build 193
Table of Contents

Advertisement

6.2.20. INT DeleteClosestPoi( LPCTSTR aFilename, long aLongitude,
long aLatitude)
Command Parameters:
• LPCTSTR aFilename: name of the POI category
• long aLongitude: longitude specified in WGS84 format (in millionths of degree)
• long aLatitude: latitude specified in WGS84 format (in millionths of degree)
Returns: 0 if successful, non−zero value otherwise.
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

6.2.21. INT DeleteAllPoi( LPCTSTR aFilename)

Command Parameters:
• LPCTSTR aFilename: name of the POI category
Returns: 0 if successful, non−zero value otherwise.
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

6.2.22. INT MakeUserPoiVisible( LPCTSTR aFilename, INT aVisibility)

Command Parameters:
• LPCTSTR aFilename: name of the POI category
• INT aVisibility: whether to show or hide this POI type on the map
Returns: 0 if successful, non−zero value otherwise.
Supported Since: TTN 2.0
Enable or disable displaying a specific user−created POI type.
See Also: AddPoi, DeleteClosestPoi, DeleteAllPoi, MoveClosestPoi
6.2.23. INT MoveClosestPoi( LPCTSTR aFilename, long aLongitude,
long aLatitude, long aNewLongitude, long aNewLatitude)
Command Parameters:
• LPCTSTR aFilename: name of the POI category
• long aLongitude: old longitude specified in WGS84 format (in millionths of degree)
• long aLatitude: old latitude specified in WGS84 format (in millionths of degree)
• long aNewLongitude: new longitude specified in WGS84 format (in millionths of degree)
• long aNewLatitude: new latitude specified in WGS84 format (in millionths of degree)
Returns: 0 if successful, non−zero value otherwise.
Supported Since: TTN 1.51
Move a point of interest from the .OV2 file specified by the POI category argument to a new position.
6. Communicating with TomTom Navigator from C++
33

Advertisement

Table of Contents
loading

Table of Contents