i have a problem to calculate the toll distance per country. I get toll events in france from type "PASS" in the xserver response. These events don't have a relatedEventIndex or a "EXIT" event. So i don't have the chance to calculate the distance. Here is my code snippet in PHP from which ...
What do I have to do to extend the leaflet-xserver.js so, that also the Nontiledlayer implementation can be requested with contentType=JSON to get the click feature
how can I customize the popup content if I click on a TrafficIncident or TruckAttribute. I found in the leaflet-xserver.js the buildDescription function and I wanted to overwrite it.
I tried:
var map = new L.Map('map', { center: [49.595, 6.115], zoom: 11 });