Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am trying to build a solution where i would create loop by google map. My first and only business rule is there should not be any repeated route. But with my demo http://www.mindcrew.in/road%20runner/example.html it does show.

Please help me on this .

share|improve this question
1  
Perhaps you could tell us a little bit more about what this app is trying to do? My guess is that after you specify a location and a distance, it tries to find a closed circuit of the desired distance originating at that point and your concern is that the existing algorithm performs a lot of backtracking. However, these are purely guesses and could be mistaken. –  whuber Mar 2 '12 at 14:53
    
You are right it does perform lot of backtracks and i would like to get rid of it. –  user1089553 Mar 5 '12 at 6:55
    
I got the solution its about taking 45 degree angle and then work around –  user1089553 Mar 22 '12 at 9:36
    
@mehulNahar That's great! Can you post it as an answer and accept it so that other users may learn from it? –  R.K. Dec 21 '12 at 4:58
    
How can I accept my own solution ? –  user1089553 Dec 21 '12 at 12:20
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.