Re: Problem with Directions

2009-01-22 Thread kitemap
> Try changing this ... > > to this... > Thank you very much. I have done the things you said but It was in fact the "this locale.value' that had to be removed as I pinched the code and forgot to remove that part of the language part. Doh --~--~-~--~~~---~--~~

Re: Problem with Directions

2009-01-22 Thread kitemap
> Google apply style settings directly to some parts of the directions > info. The exact details vary slightly between releases. The way that > styles cascade means that the styles that Google applies directly to the > elements countermand any styles that cascade from CSS that you apply to > the c

Re: Problem with Directions

2009-01-21 Thread Mike Williams
Wasn't it David Brown :o) who wrote: >Also while I'm here, I might as well grab some basic HTML help. In the >left directions column, I want to change the font size, which is at the >moment reading from my style sheet. When I try and set the font size >it only effects the total distance font

Re: Problem with Directions

2009-01-21 Thread Updater
Hi Try changing this ... to this... You should also name & id your forms ... becomes etc etc ... http://groups.google.com/group/gtrack On Jan 21, 1:16 pm, "David Brown :o)" wrote: > Hello, > I'm having a problem with my site and wondered if anyone can help. > I'm sure I'm missing

Re: Problem with directions when the second(!!) request fails

2009-01-15 Thread Jürgen
Thanks Marcelo, that works perfectly. I guess I wasn't aware, that you can open an infowindow at a marker, that is defined but not currently displayed on the map. Actually, it turns out that I don't need the flag at all. I just check if gdir.getNumRoutes() > 0. If true then use the endpoint marke

Re: Problem with directions when the second(!!) request fails

2009-01-15 Thread marcelo
Ah, but your 'flag' variable is not reset when there is an error. Add to the error function: function handleErrors() { alert("Error (status=" + gdir.getStatus().code + ")"); flag = "original"; } -- Marcelo - http://maps.forum.nu -- On Jan 15, 1:38 pm, Jürgen wrote: > Oops, wrong adress

Re: Problem with directions when the second(!!) request fails

2009-01-15 Thread Jürgen
Oops, wrong adress. This one is correct: http://www.einberg-volleyball.de/maps/test/directions2.shtml On 15 Jan., 13:36, Jürgen wrote: > I think I did give the map as the first parameter to the constructor. > However, I can't get it work properly without map.clearOverlays(). See > yourself:http:

Re: Problem with directions when the second(!!) request fails

2009-01-15 Thread Jürgen
I think I did give the map as the first parameter to the constructor. However, I can't get it work properly without map.clearOverlays(). See yourself: http://einberg/maps/test/directions2.shtml On 15 Jan., 13:18, marcelo wrote: > Its because in the function onGDirectionsLoad() you're doing > map

Re: Problem with directions when the second(!!) request fails

2009-01-15 Thread marcelo
Its because in the function onGDirectionsLoad() you're doing map.clearOverlays(). If you've given the map as the first parameter to the GDirections() constructor, you don't need to clearOverlays yourself. The GDirections object does it for you. -- Marcelo - http://maps.forum.nu -- On Jan 15, 11