MapPoint Forums

MapForums

Community of MapPoint and Virtual Earth Users and Developers




Providing wayPoint.stopTime

This is a discussion on Providing wayPoint.stopTime within the Development forums, part of the MapPoint 2006/2009 Discussion category; Hi, I'm using the MapPoint ActiveX control in PowerBuilder to calculate routes. On a window I have this control and ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion > Development

Today's Posts Twitter Feed Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-12-2008
Junior Member
Yellow Belt
 
Join Date: Dec 2004
Posts: 26
Providing wayPoint.stopTime

Hi,

I'm using the MapPoint ActiveX control in PowerBuilder to calculate routes. On a window I have this control and when it opens I load the appropriate data in the background and place a pushpin on the control for every site. Now the user right clicks the pushpins he wants and chooses "Add to route" from the MapPoint popup menu. This works fine but there's no proper event to code something to change the stopTime (which I have loaded in the background) of that wayPoint. So it is 0. Somewhen the user right clicks the control and chooses to generate the route. The next event is "routeAfterCalculate" which is to late to provide the stopTime because the route is calculated already. Of course I could now (in routeAfterCalculate) compare the stopTimes of the wayPoints to my background data and if there's any difference call the calculate() method again. But that's a lot of overhead. Is there any possibility to either (a) provide a value to a pushpin which is passed automatically to the wayPoints stopTime when the pushpin is added to the route or (b) write some code which is executed when a pushpin is added to a route or before a route is calculated?

TIA

Chris Werner
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
providing, waypointstoptime


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Geocoordinates from a waypoint chpw MapPoint 2006/2009 Discussion 6 04-05-2006 09:53 AM
Zoom to Waypoint BobIDEAS MapPoint 2006/2009 Discussion 3 09-08-2004 01:41 PM
address from waypoint starbuck MapPoint 2006/2009 Discussion 7 11-18-2003 08:04 AM
Put a waypoint! Anonymous MapPoint 2006/2009 Discussion 1 11-14-2003 09:44 AM
Route Waypoint Name Vic MapPoint 2006/2009 Discussion 1 10-03-2002 03:00 PM


All times are GMT -5. The time now is 12:56 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 RC2
MP2K Magazine
Visitor Map

Bodrum Holiday
Check out the picturesque towns on your Bodrum holiday... Book through UlookUbook!



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59