[pgrouting-users] openlayers move startpoint
Mehmet Sirin
m.sirin07 at googlemail.com
Tue Nov 17 15:01:10 EST 2009
hi, i'm using your pgrouting and now tried to move the startpoint to a
position i assign to the start marker:
...
function compute() {
var startPoint = start.features[0];
var stopPoint = stop.features[0];
startPoint.geometry.x=x_pos; //x_pos and y_pos are dynamically
taken values from database.
startPoint.geometry.y=y_pos;
if (startPoint && stopPoint) {
...
works, the marker moves to the given coordinates, but when zooming
into the map the marker disappears.just see that thing with some zoom
levels. dunno why...
i would be very thankful if you could give me a hint
kind regards
m.sirin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/pgrouting-users/attachments/20091117/2540e1af/attachment.html
More information about the Pgrouting-users
mailing list