C# SDK

◆ MoveBitmap()

static int MoveBitmap ( out SError  Error,
int  nBitmapID,
int  lX,
int  lY,
int  MaxTime 
)
inlinestatic

The function moves picture on BrowseMap.

Parameters
ErrorAdditional error information returned from Drive.
nBitmapIDPicture ID returned form function AddBitMapToMap. Identifies picture to be moved.
lXX-coordinate of new picture position on BrowseMap.
lYY-coordinate of new picture position on BrowseMap.
MaxTimeMaximum time (in milliseconds) function can take. If MaxTime=0 function execution is not time limited.
Returns
1 if successful, other value otherwise.

X and Y coordinates represents geographical longitude and latitude taken in meters.

BrowseMap is map shown on after clicking Browse Map menu button. BrowseMap allows browse the loaded maps and change zoom.

See Coordinates conversion section in TROUBLESHOOTING page.

Possible error codes returned from Drive are:

  • 0 - Function not succeeded.
  • 1 - Function succeeded.
  • 2 - Drive not succeeded.
  • 3 - Function reached timeout.



References SError.SizeOf().