Community of MapPoint and Bing Maps Users and Developers
This is a discussion on Drivetimezone in MS C++ within the MapPoint Desktop Discussion forums, part of the Map Forums category; How do you convert an amount of time to something that AddDriveTimeZone will accept ? In VB you would use ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Drivetimezone in MS C++ In VB you would use (amount of time) * geoOneMinute, but in the C++ wrapper classes geoOneMinute is undefined. The function AddDriveTimeZone takes time as a double, so I gues that the constant geoOneMinute is just a factor... Any ideas? |
| |||
| Solution
When you create a drivetimezone you can specify the number of minutes in a range from 1 to 999 minutes (* geoOneMinute). The function AddDriveTimeZone will not accept values higher than 693 minutes, when you don't multiply with the geoOneMinute constant. If you don't use geoOneMinute for some reason, you will have to divide your #minutes with 1.44 to get the right scale. The values 1-693 then equals 1-998 MapPoint minutes. |
![]() |
| Tags |
| drivetimezone |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| DriveTimeZone Delphi | Anonymous | MapPoint Desktop Discussion | 0 | 10-20-2004 04:56 AM |