I removed name@ in the directions input, hopefully not breaking anything else by doing so
'<input type="hidden" id="saddr" value="'+name+"@"+ point.lat() + ',' + point.lng() + to: '<input type="hidden" id="saddr" value="'+ point.lat() + ',' + point.lng() + is this a safe thing to do? The directions and everything else work fine now. Did this because I rather keep the html. The text for the overlay labels and sidebar entries come from the same xml variable. These contains some html for styling, so therefor like to keep them the way they are (only using <br> for the labels, and this tag gets filtered out for the sidebar entries). thanks Andrew and Larry for your feedback!! much appreciated regards Frank On 4 aug, 14:56, "[email protected]" <[email protected]> wrote: > On Aug 4, 5:07 am, Frank Post <[email protected]> wrote: > > > Hi, > > I'm making a little website for dutch US and Classic car fanatics to > > find car meetings in their neighbourhood. I build te site with help > > from Mike Williams tutorials, and adjusted it a bit to fit to my > > needs. It gets marker and info data from an external XML file, created > > from a rss feed out of Wordpress (making it into xml code with help of > > MagpieRSS). > > Everything works fine, markers show up, info work etc. except for the > > directions. No matter which start or ending address, it won't find it, > > and show the bad request error. > > Could anybody please help me solve this. > > The website+code can be found athttp://usccm.nl/testing/index.php > > The string you are sending in your gdir.load is: > from: Dordrecht to: Saturday Night Cruise<br>7 > [email protected],4.248104 > > Google's servers can't find destinations like: > "Saturday Night Cruise<br>7 [email protected],4.248104" > > I would suggest removing the html tags from the "name" field. > (if I put name="marker #"+z; just after var z = gmarkers.length; it > can return directions) > > -- Larry > > > > > > > thanks for your help > > > regards > > Frank Post -- 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.
