NetTalk Central
The Rest Of NetTalk => The Rest - Ask For Help => Topic started by: Alberto on October 05, 2020, 07:31:19 AM
-
Hi, Im using maps to show many waypoints and draw routes.
When dragging the map or change the zoom, sometimes, only sometimes and without any logic... the waypoints dissapear.
They are there because if I hover the mouse the tip works ok.
Please see pics.
How can I debug it?
-
Hi Bruce, in draw.clw:
Open(iconFile, 0)
if ErrorCode()
self.trace('Unable to open icon file ' & Clip(locIconFileName) & ': ' & Error()) !<<<<<ADDED
self.ErrorTrap('Unable to open icon file ' & Clip(locIconFileName) & ': ' & Error(), 'LoadIcon')
Return(0)
end
Ive added self.trace lines to draw.clw and in the open of the .ico , using a lot of icons and when move the map, sometimes it gives File already open error.
[6872] [Draw][4] Unable to open icon file MapPinBlue.ico: File Already Open
Ive added
Close(iconFile)
before and the problem goes away.
or may be better to use just Share(IconFile)
May you please add it to draw.clw ?
Thanks