Search found 7 matches

by brettshaw
Mon Sep 11, 2017 1:47 pm
Forum: PTV xRouteServer / DEV.Routing API
Topic: off road
Replies: 4
Views: 8380

Re: off road

ok the scenario will be like this: - user imports orders with lat/longs in to the system some of these lat/longs are not accurate, and not guaranteed to be 'on road' the system sends a list of these lat/longs to xRoute - /services/rs/XRoute/calculateRoute (using xserver 2) to get a route and its poi...
by brettshaw
Thu Sep 07, 2017 4:12 pm
Forum: PTV xRouteServer / DEV.Routing API
Topic: off road
Replies: 4
Views: 8380

off road

Currently I am passing a bunch of waypoints to xRoute to get points back to draw a route on a map. I have come across a scenario when a route has a waypoint which is ‘off road’. Currently I have no way of evaluating if a coordinate (lat/long) is off or on road as this has never been relevant to our ...
by brettshaw
Mon Apr 03, 2017 9:06 am
Forum: PTV Webclients (Ajax, Leaflet, OpenLayers, WMS, ...) (Admin=BWE)
Topic: html alignment
Replies: 2
Views: 5844

Re: html alignment

thanks for the info.

I had already had the sizes in the code, i took them out of the sample so it was in its simplest form, as i was convinced it was something related to map

turns out it was a sneaky 'position:absolute;' which was hiding in the CSS
by brettshaw
Fri Mar 31, 2017 10:19 am
Forum: PTV Webclients (Ajax, Leaflet, OpenLayers, WMS, ...) (Admin=BWE)
Topic: html alignment
Replies: 2
Views: 5844

html alignment

Not sure if this is a bug or im missing something obvious :) Currently when adding an HTML element to the map the alignment appears to be failing, so even though i set the alignment to be MID VERT and MID HORIZ it aligns to 'TOP LEFT'. You can clearly see this in the attached image. The drawn circle...
by brettshaw
Tue Mar 21, 2017 3:25 pm
Forum: PTV Webclients (Ajax, Leaflet, OpenLayers, WMS, ...) (Admin=BWE)
Topic: moving the layout of the zoom slider
Replies: 3
Views: 5192

Re: moving the layout of the zoom slider

forgot to mention i have tried setting the areaWidth and it made no difference
by brettshaw
Tue Mar 21, 2017 3:24 pm
Forum: PTV Webclients (Ajax, Leaflet, OpenLayers, WMS, ...) (Admin=BWE)
Topic: moving the layout of the zoom slider
Replies: 3
Views: 5192

moving the layout of the zoom slider

I am currently trying to move the 'zoomslider' layer from its default on the right to the left hand side. i.e. var zoomLay = map.getLayer("zoomslider"); zoomLay.setAreaLeft(20); zoomLay.setAreaTop(20); The problem i get that its generated parent 'div' doesn't compensate for the changes and...