That is what I have been trying to do.. On Thu, Apr 22, 2010 at 12:53 PM, [email protected] <[email protected] > wrote:
> On Apr 22, 10:28 am, Kevin Davis <[email protected]> wrote: > > So basically, I should be doing this... > > > > Page 1 Drop down box with the routes listed > > Page 2 Have the map displayed based upon the route?? > > > > Correct?? > > I wouldn't do it that way. > > I would make a map using the google maps API, populating the dropdown > via either PHP or AJAX and display the directions based on the > dropdown selected, all on the same page rather than reloading the page > based on the dropdown selection. > > -- Larry > > > > > > > > On Thu, Apr 22, 2010 at 12:01 PM, [email protected] < > [email protected] > > > > > > > > > > > > > wrote: > > > On Apr 22, 9:46 am, Kevin Davis <[email protected]> wrote: > > > > What I'm trying to do is have the map change based upon the selection > on > > > the > > > > drop down and get the routes based upon address in the database. It > is a > > > > server side application. > > > > > But the Google Maps API GDirections class is client side (and that is > > > the only way to get directions). > > > > > -- Larry > > > > > > Thanks.. > > > > > > On Thu, Apr 22, 2010 at 9:58 AM, Andrew Leach < > > > [email protected] > > > > > > > wrote: > > > > > On Apr 22, 3:15 pm, Kevin Davis <[email protected]> wrote: > > > > > > > > Any help would do.. > > > > > > > Help the Group to help you. > > > > > > > > http://groups.google.com/group/google-maps-api/web/why-including-a-li. > > > .. > > > > > > > > http://groups.google.com/group/Google-Maps-API/web/suggested-posting-. > > > .. > > > > > > > I would suggest that it's easier in Javascript (rather than using a > > > > > PHP class), so that your onchange event removes the existing route, > > > > > uses GDownloadUrl to get new data and then displays it. > > > > > > > Break your problem down: server-side and client-side; what are you > > > > > attempting to do? > > > > > > > -- > > > > > You received this message because you are subscribed to the Google > > > Groups > > > > > "Google Maps API" group. > > > > > To post to this group, send email to > [email protected]. > > > > > To unsubscribe from this group, send email to > > > > > [email protected]<google-maps-api%[email protected]> > <google-maps-api%2bunsubscr...@googlegroups.com> > > > <google-maps-api%2bunsubscr...@googlegroups.com> > > > > > . > > > > > For more options, visit this group at > > > > >http://groups.google.com/group/google-maps-api?hl=en. > > > > > > -- > > > > You received this message because you are subscribed to the Google > Groups > > > "Google Maps API" group. > > > > To post to this group, send email to > [email protected]. > > > > To unsubscribe from this group, send email to > > > [email protected]<google-maps-api%[email protected]> > <google-maps-api%2bunsubscr...@googlegroups.com> > > > . > > > > For more options, visit this group athttp:// > > > groups.google.com/group/google-maps-api?hl=en.- Hide quoted text - > > > > > > - Show quoted text - > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "Google Maps API" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<google-maps-api%[email protected]> > <google-maps-api%2bunsubscr...@googlegroups.com> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-maps-api?hl=en. > > > > -- > > You received this message because you are subscribed to the Google Groups > "Google Maps API" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > [email protected]<google-maps-api%[email protected]> > . > > For more options, visit this group athttp:// > groups.google.com/group/google-maps-api?hl=en.- Hide quoted text - > > > > - Show quoted text - > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps API" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-maps-api%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-maps-api?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
