Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Sep 2012
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question How to link Google Map?

    How to create this kind of Google map with get direction button?
    Last edited by vallento; 09-03-2012 at 08:39 AM.

  • #2
    Senior Coder xelawho's Avatar
    Join Date
    Nov 2010
    Posts
    2,765
    Thanks
    55
    Thanked 518 Times in 515 Posts
    have a look at the examples. You will have to hardcode the "to", change the "from" to an input box and fire the function from a button, but that's relatively minor stuff.

  • #3
    New to the CF scene
    Join Date
    Sep 2012
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts
    yah that example is good... I already checked it before
    please help me
    i want to know how to get this on a local machine with mysql to store the locations????

  • #4
    Senior Coder xelawho's Avatar
    Join Date
    Nov 2010
    Posts
    2,765
    Thanks
    55
    Thanked 518 Times in 515 Posts
    which locations? the destinations (in which case you are downloading data from your database) or the starting points (in which case you are saving data to your database?

    either way, if you want to run it locally (ie, not as a publicly accessible web page), I would check google's TOS (particularly section 9.1)

  • #5
    New Coder
    Join Date
    Sep 2012
    Posts
    25
    Thanks
    11
    Thanked 1 Time in 1 Post
    Quote Originally Posted by vallento View Post
    yah that example is good... I already checked it before
    please help me
    i want to know how to get this on a local machine with mysql to store the locations????
    You can easily do that after reading this documentation.

    Code:
    https://developers.google.com/maps/articles/phpsqlajax_v3

  • Users who have thanked egregious for this post:

    vallento (09-05-2012)


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •