NetTalk Central

Author Topic: Here maps are slow with NT 14.21  (Read 2788 times)

jari@softmade.fi

  • Full Member
  • ***
  • Posts: 130
    • View Profile
    • Email
Here maps are slow with NT 14.21
« on: April 26, 2024, 04:37:11 AM »
Any thoughts on why Here Maps is much slower on NT 14.21 than on 12.20?
The slowness occurs when fetching a new map, so for testing purposes, please clear the C:\temp\maps folder.

Versions
NT 14.21
Draw 4.36
St 3.67

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11204
    • View Profile
Re: Here maps are slow with NT 14.21
« Reply #1 on: April 26, 2024, 07:55:49 AM »
Hi Jari,

May just be the different API.
I presume you switched your HERE credentials to using the new HERE Platform API's?
(ie you signed up for the new HERE Platform product, nd you put your new credentials in the global extension?)

Cheers
Bruce

jari@softmade.fi

  • Full Member
  • ***
  • Posts: 130
    • View Profile
    • Email
Re: Here maps are slow with NT 14.21
« Reply #2 on: April 28, 2024, 06:26:57 AM »
Hi Bruce

I created a new access to Here and added my credit card to it. It didn't solve the issue. I also noticed that net.GetLocation(address, Net:GetMap) is no longer functioning. Attached are some pictures.

Jari


Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11204
    • View Profile
Re: Here maps are slow with NT 14.21
« Reply #3 on: April 29, 2024, 02:22:56 AM »
you're using the NetMapsHERE class there, but I think you want to switch to the NetMapsHEREPlatform.

From the update notes;
Maps: Added NetMapsHEREPlatform class. Use Global Extension template setting to switch maps to using this class. Necessary if you have a HERE Platform account.

Cheers
Bruce
« Last Edit: April 29, 2024, 10:28:07 PM by Bruce »

jari@softmade.fi

  • Full Member
  • ***
  • Posts: 130
    • View Profile
    • Email
Re: Here maps are slow with NT 14.21
« Reply #4 on: April 29, 2024, 07:31:38 AM »
Thanks Bruce!

That was the issue, but still, the speed isn't the same as before. Maybe the problem lies with the new HERE Platform.

Jari

Poul Jensen

  • Full Member
  • ***
  • Posts: 189
    • View Profile
    • Email
Re: Here maps are slow with NT 14.21
« Reply #5 on: May 01, 2024, 10:41:17 AM »
Hi Jari,

We see the same issue.
Had to switch to Mapbox.  Unfortunately not done by NT, and therefore not with clickable markers like Here Maps.

/Poul

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11204
    • View Profile
Re: Here maps are slow with NT 14.21
« Reply #6 on: May 01, 2024, 10:13:55 PM »
Hi Poul,

did you switch be creating a new class derived from the NetMaps class?
That would be the easiest way to support new services - all you have to do is form the API requests, and handle the responses. The base class does all the work and it remains compatible with the templates.

Cheers
Bruce

Poul Jensen

  • Full Member
  • ***
  • Posts: 189
    • View Profile
    • Email
Re: Here maps are slow with NT 14.21
« Reply #7 on: May 04, 2024, 10:19:51 AM »
Hi Bruce,

Its been a while since I switched to the new platform and the new class  (I actually believe that Here requires that you use the new platform now).

Cheers
/Poul

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11204
    • View Profile
Re: Here maps are slow with NT 14.21
« Reply #8 on: May 06, 2024, 09:29:38 PM »
No, sorry, I meant;

When implementing MapBox - did you write a derived class - derived from NetMaps, which just implemented the MapBox API's in place of the HERE Api's ?

Cheers
Bruce