I have a similar problem getting a map to accept a URL parameter. Do you need to use cookies to pass the URL parameters? Is it possible to just assign a variable to the $_GET command in the page that calls the map and then call the kml generating php script using the URL with ? parameter = $variable at the end? http://www.integratedstatistics.com/ejosephs/v2pages/MapCachalot3.php makes a php script query the database and plot the right voyage, but only if I add the actual voyageID (the parameter I would like to pass to the page) as the URL parameter (?voyageccc=12950). It doesn't work if I add ?voyageccc=$voyage. I have lots of whaling voyages I want to plot on user input but I am new to using the Maps API (and most other programming!). I tried the cookie approach outlined above, but couldn't get that to work either. I would appreciate being pointed in the right direction. Thanks!
On Mar 16, 4:16 am, Steve <[email protected]> wrote: > Got it working. Thanks for the input. There was a problem with the > config file on the web. > > Sent from steve's iPhone 07760 164990 > > On 14 Mar 2009, at 19:27, Andrew Leach <[email protected]> > wrote: > > > > > On Mar 14, 5:44 pm, steve warburton <[email protected]> wrote: > >> I have testphp1.php running okay locally now. But the 'live' site > >> does > >> not show any maps. Is there any configuration for the xml to work or > >> any other areas i can look at? > > > Have a look at the response from genxml.php and genxmllast.php: > > Can't use db : No database selected > > > I'm not sure how you're getting it to run locally! > > > Andrew --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
