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
Roaming data needed to draw map under xs2
- Bernd Welter
- Site Admin
- Posts: 2954
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Roaming data needed to draw map under xs2
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
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
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
- Bernd Welter
- Site Admin
- Posts: 2954
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Roaming data needed to draw map under xs2
Here's another comment from a colleague (Sebastian) from the Navigation context (I asked him how our navigation device handles this):
Best regards,
Bernd
So this lies in the responsibility of the TOMTOM apis... not within PTV's scope.The SDK is abstracting it.
So for your future implementation based on Vector technology you can consider to create a lightweight style.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.
Best regards,
Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Re: Roaming data needed to draw map under xs2
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
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