1. #1
    Sencha User
    Join Date
    Oct 2010
    Posts
    4
    Vote Rating
    0
    rebeloin is on a distinguished road

      0  

    Post Overall distance travelled through each location

    Overall distance travelled through each location


    Hello,

    I have a GMAP panel created and inserted few locations. I need to calculate the distance traveled through each location as well as whole distance traveled from first location to last location.

    I have attached my code with this message for your convenience.

    Please let me know if there are any API Documentation available for the same.

    Regards,

    Ajay Patil
    Attached Files

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,669
    Vote Rating
    746
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Oct 2010
    Posts
    4
    Vote Rating
    0
    rebeloin is on a distinguished road

      0  

    Default


    Is there any example related to what I am trying to achieve as in Google API its not much clear and the example link is also not working, so not able to see it.

    Thanks in advance for the same.

    Regards,

    Ajay Patil

  4. #4
    Sencha Premium Member
    Join Date
    Oct 2009
    Location
    Germany
    Posts
    283
    Vote Rating
    48
    Ekambos is a jewel in the rough Ekambos is a jewel in the rough Ekambos is a jewel in the rough

      0  

    Default


    I think Mitch ment this link :
    http://code.google.com/apis/maps/documentation/javascript/services.html#distance_matrix

    Y
    our situation illustrates the problem a lot of our customers writing map based ST applications have. Most of the time they have to deal with 2 APIs. Sencha Touch and and Google Maps API meaning they have to look at several places when they have a problem.

    That s why we decided to add a full implementation of the Maps API to Gwt4Touch (http://www.emitrom.com/node/70) and offer support for both API and all future APIs we will add the the product.
    So if you dont mind using Java you might want to give it a try

  5. #5
    Sencha User
    Join Date
    Oct 2010
    Posts
    4
    Vote Rating
    0
    rebeloin is on a distinguished road

      0  

    Default


    Hey Ekambos,

    Thanks very much for your reply. I was able to configure this Google Map in my application. There's still one more issue. Like I have traveled from 1st point to 2,3,4 points. And now I want to calculate the distance traveled through these 1,2,3,4 points means in short 1-4 point distance.

    Then how can I calculate the same?

    Thanks in advance.

    Regards,

    Ajay Patil

  6. #6
    Sencha Premium Member
    Join Date
    Oct 2009
    Location
    Germany
    Posts
    283
    Vote Rating
    48
    Ekambos is a jewel in the rough Ekambos is a jewel in the rough Ekambos is a jewel in the rough

      0  

    Default


    Well the link i provided shows how to calculate the distance between two poinsts. You might just have to do it for all four points and then summ up.

  7. #7
    Sencha Premium Member
    Join Date
    Oct 2009
    Location
    Germany
    Posts
    283
    Vote Rating
    48
    Ekambos is a jewel in the rough Ekambos is a jewel in the rough Ekambos is a jewel in the rough

      0  

    Default


    Have a look at http://gwt4touch-maps.appspot.com/ to see what i ment in action.

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar