NetTalk Central

Author Topic: NetTalks Maps markers dissapearing  (Read 2486 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1846
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
NetTalks Maps markers dissapearing
« 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
-----------
Regards
Alberto

Jane

  • Sr. Member
  • ****
  • Posts: 349
  • Expert on nothing with opinions on everything.
    • View Profile
    • Email
Re: NetTalks Maps markers dissapearing
« Reply #1 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"

Alberto

  • Hero Member
  • *****
  • Posts: 1846
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: NetTalks Maps markers dissapearing
« Reply #2 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.
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11175
    • View Profile
Re: NetTalks Maps markers dissapearing
« Reply #3 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11175
    • View Profile
Re: NetTalks Maps markers dissapearing
« Reply #4 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

Alberto

  • Hero Member
  • *****
  • Posts: 1846
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: NetTalks Maps markers dissapearing
« Reply #5 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
-----------
Regards
Alberto