Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 2 of 2

Drivetimezone in MS C++

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 ...

  1. #1
    StreetPusher is offline Junior Member White Belt
    Join Date
    Jun 2004
    Posts
    5

    Drivetimezone in MS C++

    How do you convert an amount of time to something that AddDriveTimeZone will accept ?
    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?

  2. #2
    StreetPusher is offline Junior Member White Belt
    Join Date
    Jun 2004
    Posts
    5

    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. DriveTimeZone Delphi
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 10-20-2004, 05:56 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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