Page 1 of 1

Roaming data needed to draw map under xs2

Posted: Thu Oct 30, 2025 9:42 am
by innomedio
Dear Bernd,

Right now, we are using xServer2 in our App to show the drivers the previously computed route.
We're working on the shifting to Developer, where we plan to use Vector maps to lower the bandwith/data needed to draw the maps for the drivers (most of them are still using 1 GB limited roaming packages).

The question is: is there a way to somehow lower the needed data traffic under xServer2?

I'm sending you an example API call on how we draw the map tiles right now:
https://xserver2.cloud.ptvgroup.com/services/rest/XMap/tile/13/4550/2905?storedProfile=gravelpit&timeConsideration=SNAPSHOT&referenceTime=2025-10-28T13:42:24.368Z&layers=labels,transport,background&xtok=...

Is there a mode, or parameter, which if we set, then we can somehow lower the data needed to draw the map tiles?

Thank you,
Peter

Re: Roaming data needed to draw map under xs2

Posted: Thu Oct 30, 2025 12:05 pm
by Bernd Welter
Hello Peter,

I created an ADOS (268874) and have to wait for an internal reaction. A first statement from a DEV colleague was "how about a local cache on the mobile device"? Is there already something in place?

Bernd

Re: Roaming data needed to draw map under xs2

Posted: Fri Oct 31, 2025 9:27 am
by Bernd Welter
Here's another comment from a colleague (Sebastian) from the Navigation context (I asked him how our navigation device handles this):
The SDK is abstracting it.
So this lies in the responsibility of the TOMTOM apis... not within PTV's scope.
But when shifting to Vector maps I think it is worthy to look into the style.json As I remember it can be controlled for what zoom-levels the tiles are fetched or not. Maybe that is a way to reduce or optimize the usage.
So for your future implementation based on Vector technology you can consider to create a lightweight style.

Best regards,
Bernd

Re: Roaming data needed to draw map under xs2

Posted: Fri Nov 07, 2025 5:56 am
by innomedio
Hi Bernd,


We've found out that we are ALWAYS using the PTV map with the timeConsideration turned on regardless we need it or not.
So if we turn that of than the raster tiles will have a 1 day cache period, which can highly lower the network usage of the map drawing.

Thank you for the help,
Peter