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

beautifulsoul84hung

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
JLogan3o13

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 :)


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
beautifulsoul84hung

Thanks for reply

Share this post


Link to post
Share on other sites
ReFran

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  

×