Hello guys,
could you share with us which is the latest version of Leaflet supported by PTV components?
Thanks in advance,
Daniel
Latest version of Leaflet supported by PTV components
-
- Posts: 41
- Joined: Tue Aug 23, 2016 8:08 am
-
- Posts: 2
- Joined: Thu Dec 07, 2017 10:49 am
Re: Latest version of Leaflet supported by PTV components
Hi everyone,
I was wondering the same. We would like to use PTV Feature Layer with the Leaflet PtvLayer class in order to show Traffic incidents etc. It turns out that it is not working with Leaflet 1.0.1 which we're currently using. With Leaflet 0.7.x I was able to make it work. Are there plans to make it compatible with Leaflet 1.0.1 for example? We rely on that version so we have no chance to go back to 0.7.x.
Any help is appreciated.
Thanks
Michael
I was wondering the same. We would like to use PTV Feature Layer with the Leaflet PtvLayer class in order to show Traffic incidents etc. It turns out that it is not working with Leaflet 1.0.1 which we're currently using. With Leaflet 0.7.x I was able to make it work. Are there plans to make it compatible with Leaflet 1.0.1 for example? We rely on that version so we have no chance to go back to 0.7.x.
Any help is appreciated.
Thanks
Michael
Re: Latest version of Leaflet supported by PTV components
Please have a look at http://xserver.ptvgroup.com/de/cookbook ... on-github/ . The first project contains the scripts to connect xMap to leaflet 1.x
Joost Claessen
Senior Technical Consultant
PTV Benelux
Senior Technical Consultant
PTV Benelux
- Oliver Heilig
- Posts: 160
- Joined: Tue May 13, 2014 12:10 pm
- Location: Karlsruhe, Germany
- Contact:
Re: Latest version of Leaflet supported by PTV components
We don't support dedicated Leaflet-Clients for Leaflet > 0.7
If you are using Leaflet with xMap-1, we recommend using the WMS/Tile-Servlet, see
https://github.com/ptv-logistics/xserve ... ate/xmap-1
If you need extended Layers, take a look at
https://github.com/ptv-logistics/Leaflet.PtvLayer
A sample for the use of Feature-Layers:
https://github.com/ptv-logistics/fl-labs
If need more samples, especially for xMap-2, take a look at
https://ptv-logistics.github.io/xserverjs/
For more samples
Oli
If you are using Leaflet with xMap-1, we recommend using the WMS/Tile-Servlet, see
https://github.com/ptv-logistics/xserve ... ate/xmap-1
If you need extended Layers, take a look at
https://github.com/ptv-logistics/Leaflet.PtvLayer
A sample for the use of Feature-Layers:
https://github.com/ptv-logistics/fl-labs
If need more samples, especially for xMap-2, take a look at
https://ptv-logistics.github.io/xserverjs/
For more samples
Oli
Oliver Heilig
Chief Developer Logistic Services
PTV GROUP - Germany
https://github.com/oliverheilig/
Chief Developer Logistic Services
PTV GROUP - Germany
https://github.com/oliverheilig/
-
- Posts: 2
- Joined: Thu Dec 07, 2017 10:49 am
Re: Latest version of Leaflet supported by PTV components
Thank you all for your replies, we'll go for WMS/Tile-Servlet Solution then.