Jump to content
Sign in to follow this  
beautifulsoul84hung

How to creat auto calculating the distance two points and connect them by color line

Recommended Posts

Hey Guys,

I have a problem

I want to make a programe:

- enter from keyboard a number (rate of chain of map) = num

- Tick color: red or blue

- I click mouse two (three ....) point in map (static map) = total (cm)

--------> programe auto:

- connect them by color line user tick

- print to map kc = num+total

Thanks ,

beautifulsoul84hung

Edited by beautifulsoul84hung

Share this post


Link to post
Share on other sites

Hi, beautifulsoul84hung, welcome to the forum. We are not in the business of writing code for you, but are more than happy to assist if you get stuck. I'd suggest starting by reading through the help file, and checking out AutoIT 1-2-3 (below). If you get stuck, come on back and show your code; we'll be happy to help :)


"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Share this post


Link to post
Share on other sites

Hi,

search for "Haversine". That gives you the distance between 2 latLon (geo-) points.

HTH, Reinhard

Edited by ReFran

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...