ds111 Posted March 28, 2008 Share Posted March 28, 2008 hey guys! So i have a question thats got me stumped ??? So basically what i want to do is have a dynamic link saying something like this: http://maps.google.com?to=<?php echo $to; ?>&from=<?php echo $from; ?> that all works fine i've done it all before....but not with google maps. Does anyone know the two variables in google maps that it uses for the TO and FROM variables? Uhh, i feel like im not making it clear is the "TO" variable TO or A or 1 or..... like i mean this: http://maps.google.com?to=<?php echo $to; ?>&from=<?php echo $from; ?> Im not sure if those are the ones that google maps uses. Can anyone help me? If u need more clarification i'll try my best thanks Link to comment https://forums.phpfreaks.com/topic/98402-question-about-php-google-maps/ Share on other sites More sharing options...
BlueSkyIS Posted March 28, 2008 Share Posted March 28, 2008 step 1: http://www.google.com/search?q=php+google+maps step 2: http://code.google.com/support/bin/answer.py?answer=65622 Link to comment https://forums.phpfreaks.com/topic/98402-question-about-php-google-maps/#findComment-503561 Share on other sites More sharing options...
ds111 Posted March 28, 2008 Author Share Posted March 28, 2008 i know i saw that all ready but i dont need all that. all i need is just a simple link so that the to and from address are already typed into google maps. I dont mind that it opens another window and has Google Maps there. Link to comment https://forums.phpfreaks.com/topic/98402-question-about-php-google-maps/#findComment-503566 Share on other sites More sharing options...
BlueSkyIS Posted March 28, 2008 Share Posted March 28, 2008 ah, okay. saddr is start address. daddr is destination address: http://maps.google.com/maps?saddr=1587+Sinton+Rd,+Evergreen,+CO+80439&daddr=2202+E+Colfax+Ave,+Denver,+CO+80206 Link to comment https://forums.phpfreaks.com/topic/98402-question-about-php-google-maps/#findComment-503575 Share on other sites More sharing options...
ds111 Posted March 28, 2008 Author Share Posted March 28, 2008 ThankS Youso much! You my hewro!! :D !!! Thanlks again! Link to comment https://forums.phpfreaks.com/topic/98402-question-about-php-google-maps/#findComment-503621 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.