Roaming data needed to draw map under xs2

This forum covers all questions dealing with visualization of data within the native PTV xMap interface and the
PTV Developer Raster Maps API
Please remember that additional plugins such as AJAX or Leaflet may be handeled in other forums.
Post Reply
innomedio
Posts: 29
Joined: Thu Sep 03, 2020 2:26 pm

Roaming data needed to draw map under xs2

Post 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
User avatar
Bernd Welter
Site Admin
Posts: 2947
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Roaming data needed to draw map under xs2

Post 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
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... :twisted:
User avatar
Bernd Welter
Site Admin
Posts: 2947
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Roaming data needed to draw map under xs2

Post 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
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... :twisted:
Post Reply