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.

Latest version of Leaflet supported by PTV components

Postby biro.daniel » Mon Jun 26, 2017 10:59 am

Hello guys,

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

Daniel
biro.daniel
 
Posts: 41
Joined: Tue Aug 23, 2016 8:08 am

Re: Latest version of Leaflet supported by PTV components

Postby hacon_mgab » Thu Dec 07, 2017 11:06 am

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

Re: Latest version of Leaflet supported by PTV components

Postby Joost » Fri Dec 08, 2017 8:59 am

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

Re: Latest version of Leaflet supported by PTV components

Postby Oliver Heilig » Fri Dec 08, 2017 2:17 pm

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/
User avatar
Oliver Heilig
 
Posts: 139
Joined: Tue May 13, 2014 12:10 pm
Location: Karlsruhe, Germany

Re: Latest version of Leaflet supported by PTV components

Postby hacon_mgab » Wed Jan 24, 2018 6:34 am

Thank you all for your replies, we'll go for WMS/Tile-Servlet Solution then.
hacon_mgab
 
Posts: 2
Joined: Thu Dec 07, 2017 10:49 am


Return to PTV Webclients (Ajax, Leaflet, OpenLayers, WMS, ...) (Admin=LNM)

cron