Latest version of Leaflet supported by PTV components

This forum deals with any kind of web based client technology, whether it is the well known java script based Ajax servlet or the upcoming approaches such as Leaflet, OpenLayers and so on.
Post Reply
biro.daniel
Posts: 41
Joined: Tue Aug 23, 2016 8:08 am

Latest version of Leaflet supported by PTV components

Post 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
hacon_mgab
Posts: 2
Joined: Thu Dec 07, 2017 10:49 am

Re: Latest version of Leaflet supported by PTV components

Post 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
Joost
Posts: 310
Joined: Fri Apr 25, 2014 1:46 pm

Re: Latest version of Leaflet supported by PTV components

Post 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
Joost Claessen
Senior Technical Consultant
PTV Benelux
User avatar
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

Post 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
Oliver Heilig
Chief Developer Logistic Services
PTV GROUP - Germany

https://github.com/oliverheilig/
hacon_mgab
Posts: 2
Joined: Thu Dec 07, 2017 10:49 am

Re: Latest version of Leaflet supported by PTV components

Post by hacon_mgab »

Thank you all for your replies, we'll go for WMS/Tile-Servlet Solution then.
Post Reply