public static void AddBitmapToMap(string inPathToBitmap, int inX, int inY, int inMaxTime) { SError error; int nBitmapID; int ret = CApplicationAPI.AddBitmapToMap(out error, inPathToBitmap, inX, inY, out nBitmapID, inMaxTime); O("AddBitmapToMap returns: " + ret.ToString()); }
public static void AddBitmapToMap(string inPathToBitmap, string inAddress, int inMaxTime) { SError error; int lX, lY; int nBitmapID; LONGPOSITION Position; CApplicationAPI.LocationFromAddress(out error, out Position, inAddress, false, inMaxTime); lX = Position.lX; lY = Position.lY; int ret = CApplicationAPI.AddBitmapToMap(out error, inPathToBitmap, lX, lY, out nBitmapID, inMaxTime); O("AddBitmapToMap returns: " + ret.ToString()); }