Thanks,

i've done what you said.

It doesn't work. The firefox console says me "Permission denied to get
the propriety of Location.toString"

Try yourself, type '30510' (it's a postal code in France)

http://tinyurl.com/5tydl9

(i use a tinyurl in order to don't have the company name showed
directly, sorry for the inconvenience)

B.S.

Maxime

On 27 août, 00:36, "warden [Andrew Leach - Maps API Guru]"
<[EMAIL PROTECTED]> wrote:
> On Aug 26, 9:52 pm, Maxime <[EMAIL PROTECTED]> wrote:
>
> > I just want the result,notthemapand itinery.
>
> That should be ok: the API allows bothmapand directions-panel to be
> null. You should credit Google and include the data-providers'
> copyright string, though.
>
> > But when i remove the <table> to </table> and a part of the
> > javascript, the firefox console says me that :
>
> > Erreur : a is null
> > Fichier 
> > Source :http://maps.google.com/intl/fr_ALL/mapfiles/124/maps2.api/main.js
> > Ligne : 300
>
> > anyone got an idea to solve my problem ?
>
> It would be far easier to debug what's going on if you provided a link
> to a [temporary] page which exhibited the problem.
>
> However, if you simply remove the result table, then this code
>        map= new GMap2(document.getElementById("map_canvas"));
>         gdir = new GDirections(map,
> document.getElementById("directions"));
> will fail to find "map_canvas" and will fail. Try replacing that with
>         //map= new GMap2(document.getElementById("map_canvas"));
>         gdir = new GDirections();
> and ensuring that the variable "map" isn't used anywhere else.
>
> If that doesn't work, please post a link to a page which exhibits the
> problem.
>
> 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 Google-Maps-API@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to