Hi there,
today I got asked whether it is possible to request only the truck attributes (PTV_TruckAttributes) with a REST call so the result tile would not contain any standard layers such as label or transport.
Well: here's the solution: just do not ask for what you don't want to see Here's the same geography rendered with different layer sets:
Best regards,
Bernd
xMap2: how to retrieve specific layers only? (REST)
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
xMap2: how to retrieve specific layers only? (REST)
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: xMap2: how to retrieve specific layers only? (REST)
Hi Bernd,
could you add the code of the xmap2 + here satellite map example?
Kind Regards,
Daniele
could you add the code of the xmap2 + here satellite map example?
Kind Regards,
Daniele
Daniele Perella
Solution Engineer
PTV ITALIA Logistics
Solution Engineer
PTV ITALIA Logistics
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: xMap2: how to retrieve specific layers only? (REST)
Hello Daniele,
there's not a single call for what you need. It requires a mesh up of the
- here call to gather the satellite image
- the call to xmap2 to gather the feature layers
You then have to create the superposition of two layers with the technique that is provided by the framework you use. Which one do you need? I'd like to get one to provide it here in the forum?
We could also start some collection...
Best regards to my Italian friends!
Bernd
there's not a single call for what you need. It requires a mesh up of the
- here call to gather the satellite image
- the call to xmap2 to gather the feature layers
You then have to create the superposition of two layers with the technique that is provided by the framework you use. Which one do you need? I'd like to get one to provide it here in the forum?
We could also start some collection...
Best regards to my Italian friends!
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: xMap2: how to retrieve specific layers only? (REST)
Hi Bernd,
we are using leaflet JS on a webpage. In the meanwhile, we solved using adding an extra tile layer for the satellite HERE maps...
Kind Regards
Daniele e Fabio
we are using leaflet JS on a webpage. In the meanwhile, we solved using adding an extra tile layer for the satellite HERE maps...
Kind Regards
Daniele e Fabio
Daniele Perella
Solution Engineer
PTV ITALIA Logistics
Solution Engineer
PTV ITALIA Logistics
Re: xMap2: how to retrieve specific layers only? (REST)
For leaflet, don't forget the code Oliver put on github to give examples:
https://github.com/ptv-logistics/xserve ... oilerplate
https://github.com/ptv-logistics/xserve ... oilerplate
Joost Claessen
Senior Technical Consultant
PTV Benelux
Senior Technical Consultant
PTV Benelux