VE - mappoint style routes (possible in VE?)

Hello,
I'm typically generating routes that have 8-12 stops on them. Using MapPoint Web Services this was no problem. Is there a way to generate a route (i'll provide the ordering) of more than 2 points connected by a driving route (green marked road). Also, it would be great if this could be done WITHOUT all of those interim little red directional points. These really bug when there's alot of points already on the map.
Thanks,
Jeff


Answer this question

VE - mappoint style routes (possible in VE?)

  • Rodrigo Juarez

    Thanks Ruprect. Those route pins were quite annoying.

    I'm new to VE and have been using the VE SDK documentation for help, so pardon me asking... How did you find out about the RemoveRoutePins function Is it documented somewhere with a list of other functions

    Thanks,


  • KHoward

    Blockp wrote:

    Thanks Ruprect. Those route pins were quite annoying.

    I'm new to VE and have been using the VE SDK documentation for help, so pardon me asking... How did you find out about the RemoveRoutePins function Is it documented somewhere with a list of other functions

    Thanks,



    I figured it out by looking through the API. I saw the DeleteRoute prototype function executes the ClearRoute function and that in turn executes the RemoveRoutePins function. After that I just played with it to see if I could access the function and it worked. I haven't looked around too much at other functions that could be accessed but I assume there's more in there we could get to.

  • Kavitha Bhasker

    Being able to specify multiple stops on a route is supposedly something they're working on now for future release. It is something I need to migrate my application from MapPoint to VE also.

    Here is what I did to get rid of directional points:

    Added this function to the javascript

    VEMap.prototype.DeleteRoutePins=function()
    {
    VEMap.ValidateState();
    this.RemoveRoutePins();
    }

    Then called map.DeleteRouePins as the callback function on the GetRoute call.


  • VE - mappoint style routes (possible in VE?)