This forum covers all questions dealing with visualization of data within the native PTV xMap interface and the PTV Developer Raster Maps API
Please remember that additional plugins such as AJAX or Leaflet may be handeled in other forums.
I'm dealing with the following issue, maybe somebody of you has a hint how to resolve it:
Given conditions:
a binary TruckAttributes file that contains the regular TruckAttributes plus some customized BlocksCar and BlocksTruck infos.
the two categories are displayed in the map properly (red circle with white inner space)
the map response does not return ObjectInfos : creating proper tooltips is not possible
refering to the segment category during a routing is handeled as it should be: the route takes a detour if violations are forbidden. If violations are allowed (additional costs=0) the segments are in use and the responses "segmentAttributes.additionalRE" and "segmentAttributes.violations" mention the BLOCKS_CAR and BLOCKS_TRUCK
Attention: the tooltip info incl. the BLOCKS_CAR and BLOCKS_TRUCK is based on a CustomLayer which is created via the segmentAttributes.
Any clue how to change the setup to get the object infos?
Best regards Bernd
Bernd Welter Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
here is further info provided by a colleague (thanks Joost!):
if both restrictions (BLOCKS_CAR and BLOCKS_TRUCK) are specified on a segment at the same time the object infos are missing.
street on the left: BLOCKS_CAR, oi is returnes street on the right: BLOCKS_TRUCK: oi is returned street in the north: BLOCKS_CAR and BLOCKS_TRUCK: oi is not returned
If only one category is applied it works.
Best regards Bernd
Bernd Welter Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...