Have you tried url encoding it... http://maps.google.com/maps?q=http%3A%2F%2Fobjective-d.com%2FmyKMLgeneratorScript.pl%3Fp1%3Dlondon
http://www.albionresearch.com/misc/urlencode.php There is a 404 not found at the actual link above. 2009/1/15 RobD <[email protected]>: > > I'm developing an IPhone application and would like to open the Google > Maps application on the iPhone from within my application, I can do > this by using the following URL format: > > http://maps.google.com/maps?q=http://objective-d.com/sample.kml > > This will open the Google apps application and display the content of > the sample kml file on the map, but instead of refering to a static > kml file I would like to point at a perl script that will dynamically > generate a kml file based on a parameter, for example: > > http://maps.google.com/maps?q=http://objective-d.com/myKMLgeneratorScript.pl?p1=london > > but google maps doesn't recognise this as a valid kml file. I was > wondering if anyone had any ideas how i can work around this problem? > I had thought of pointing to a static kml file that contained a > network link to the perl script but doing this doesnt allow me to pass > parameters to the perl script? > > Unfortunately, I don't have access to the perl script, i can only > consume it so I can't make changes there. Is there another way I can > open google maps from a url that will populate the map with the > contents of a dynamically generated kml file? > > Regards, > > Rob > > > > -- Barry - www.nearby.org.uk - www.geograph.org.uk - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
