Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-03-2012, 08:36 AM   PM User | #1
vallento
New to the CF scene

 
Join Date: Sep 2012
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
vallento is an unknown quantity at this point
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..
vallento is offline   Reply With Quote
Old 09-03-2012, 02:35 PM   PM User | #2
xelawho
Senior Coder

 
xelawho's Avatar
 
Join Date: Nov 2010
Posts: 2,437
Thanks: 52
Thanked 453 Times in 451 Posts
xelawho will become famous soon enoughxelawho will become famous soon enough
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.
xelawho is offline   Reply With Quote
Old 09-04-2012, 04:32 AM   PM User | #3
vallento
New to the CF scene

 
Join Date: Sep 2012
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
vallento is an unknown quantity at this point
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????
vallento is offline   Reply With Quote
Old 09-04-2012, 04:25 PM   PM User | #4
xelawho
Senior Coder

 
xelawho's Avatar
 
Join Date: Nov 2010
Posts: 2,437
Thanks: 52
Thanked 453 Times in 451 Posts
xelawho will become famous soon enoughxelawho will become famous soon enough
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)
xelawho is offline   Reply With Quote
Old 09-04-2012, 08:39 PM   PM User | #5
egregious
New Coder

 
Join Date: Sep 2012
Posts: 12
Thanks: 3
Thanked 1 Time in 1 Post
egregious is an unknown quantity at this point
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
egregious is offline   Reply With Quote
Users who have thanked egregious for this post:
vallento (09-05-2012)
Reply

Bookmarks

Tags
google map

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:42 AM.


Advertisement
Log in to turn off these ads.