NetTalk Central

The Rest Of NetTalk => The Rest - Ask For Help => Topic started by: Alberto on November 06, 2020, 04:09:45 AM

Title: NetTalks Maps markers dissapearing
Post by: Alberto on November 06, 2020, 04:09:45 AM
Ive twiked a little the demo making 300 markers.

Just run it and move the map left to right, right to left and after 4 or 5 moves the icons disappears.

Attached goes the demo
Title: Re: NetTalks Maps markers dissapearing
Post by: Jane on November 06, 2020, 11:14:17 AM
What version of Draw?

Release notes for 4.26 on November 2 say "Fix: Icon file could be left open"
Title: Re: NetTalks Maps markers dissapearing
Post by: Alberto on November 06, 2020, 12:36:56 PM
4.27
I know of this fix, because Bruce made it to try solve this issue but it still happening.
Title: Re: NetTalks Maps markers dissapearing
Post by: Bruce on November 08, 2020, 10:28:35 PM
reading that many markers, off the disk, apart from anything else, is going to be a bit slower.
You would be best off doing
net.SetMarker('cs'&m#,-lat$,lon$,'~MapPinBlue.ico')     
and then adding MapPinBlue.Ico to the solution.

That said, I'll continue to investigate why the call to load the icon off disk is failing.

cheers
Bruce
Title: Re: NetTalks Maps markers dissapearing
Post by: Bruce on November 08, 2020, 11:00:24 PM
I'll have a draw update that mitigates the problem (which appears to be in the DOS driver), but even with that the odd marker may still be missing. The longer-term solution is to switch the draw code to use StringTheory, but that's a bigger job I can't do right now.

The best solution is still to use Icons linked into the solution.

cheers
Bruce
Title: Re: NetTalks Maps markers dissapearing
Post by: Alberto on November 09, 2020, 04:20:53 AM
Thanks Bruce, will try adding it as a resource, but this means I need to force the user to use only some icons.
Regards