Draw line between 2 locations on google map

3 posts, 1 answers
  1. Martin
    Martin avatar
    2 posts
    Member since:
    Nov 2013

    Posted 28 Nov 2013 Link to this post

    Hi!

    I'd like to draw a straight line from current location to fix coordinates on google map. Getting current location and setting coordinates is not a problem at all.
    Any ideas how to connect this 2 points?
    Or maybe there's a "Route" function for this?

    Thanks
    Martin
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 28 Nov 2013 Link to this post

    Hello,

    You could use Polylines to draw line on your map between several markers. Check out google maps' API for instructions and this snippet.

    Regards,
    Steve
    Telerik
    You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Share feedback and vote for features on our Feedback Portal.
  3. Answer
    Martin
    Martin avatar
    2 posts
    Member since:
    Nov 2013

    Posted 28 Nov 2013 Link to this post

    Thanks, worked great! Next I'm going to play with an arrow(compass) that always shows to destination.

    regards
    Martin
Back to Top