Page 1 of 1

Latest version of Leaflet supported by PTV components

Posted: Mon Jun 26, 2017 10:59 am
by biro.daniel
Hello guys,

could you share with us which is the latest version of Leaflet supported by PTV components?
Thanks in advance,

Daniel

Re: Latest version of Leaflet supported by PTV components

Posted: Thu Dec 07, 2017 11:06 am
by hacon_mgab
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

Re: Latest version of Leaflet supported by PTV components

Posted: Fri Dec 08, 2017 8:59 am
by Joost
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

Re: Latest version of Leaflet supported by PTV components

Posted: Fri Dec 08, 2017 2:17 pm
by Oliver Heilig
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

Re: Latest version of Leaflet supported by PTV components

Posted: Wed Jan 24, 2018 6:34 am
by hacon_mgab
Thank you all for your replies, we'll go for WMS/Tile-Servlet Solution then.