Search found 4 matches

by broadhorizon
Wed May 18, 2022 2:21 pm
Forum: Generic questions
Topic: Developer license
Replies: 1
Views: 3218

Developer license

I'm building a web application which is using on premise PTV xServer 1.32.0.0. For development I'm running the ptv servers locally. But this is not working anymore because my ip address is not in the license file. I'm working on laptop with not a fixed ip-adress. Is there a developer license I can u...
by broadhorizon
Wed Oct 06, 2021 1:30 pm
Forum: PTV Webclients (Ajax, Leaflet, OpenLayers, WMS, ...) (Admin=BWE)
Topic: Rendering map is slower with leaflet then ajaxmaps
Replies: 1
Views: 9989

Rendering map is slower with leaflet then ajaxmaps

This year we made the step of using Leaflet instead of ajaxmaps. All is working is fine but we notice that when are zooming out in the map, we see a lot of gray parts. Schermafbeelding 2021-10-06 152449.png We are using xServer version 1.32 on premise. I'm using the code below to initialize the map:...
by broadhorizon
Tue Mar 30, 2021 6:55 am
Forum: PTV xRouteServer / DEV.Routing API
Topic: Calculate route in javascript
Replies: 2
Views: 2821

Re: Calculate route in javascript

Your code is a call for xRoute 2 but the you are using xRoute 1. XServer 2 has a different API 1 then xServer 1. For some xServer 1 javascript example i would recommend to check the xServer 1 code same browser: https://svc-eu-h-test.cloud.ptvgroup.com/CodeSampleBrowser . It has been written in Java...
by broadhorizon
Mon Mar 29, 2021 2:53 pm
Forum: PTV xRouteServer / DEV.Routing API
Topic: Calculate route in javascript
Replies: 2
Views: 2821

Calculate route in javascript

Within my leaflet map I want to show a route from A to B. But I get the following error: "Can not deserialize instance of com.ptvag.xserver.xroute.WaypointDesc[] out of START_OBJECT token at [Source: org.apache.cxf.transport.http.AbstractHTTPDestination$1@304171af; line: 1, column: 2] (through ...