Try replicating the issue in a HTML page (not a plugin). If you can't replicate the issue there's not much we can do.
Thanks Ben On Wed, Sep 8, 2010 at 7:03 AM, Jon <[email protected]> wrote: > We use this in a Firefox extension called Forecastfox, so you'll need > to have that installed. The error is appearing when we first load the > map, before searching for anything. Here is the code we're using: > > function load_google_maps() { > var script = document.createElement("script"); > script.type = "text/javascript"; > script.src = "http://maps.google.com/maps/api/js? > sensor=false&callback=map_initialize"; > document.body.appendChild(script); > } > > map_initialize = function() { > var map_options = { > zoom: 2, > center: new google.maps.LatLng(0.0,0.0), > mapTypeId: google.maps.MapTypeId.ROADMAP, > mapTypeControl: false > }; > > map = new google.maps.Map($('#map_canvas')[0], map_options); > } > > These are in a closure, but map_initialize is a global variable. We're > not even passing the locale to Google Maps. Is there any kind of > typical problem that causes this error, or is it a wildcard? I haven't > been able to reproduce the problem myself. > > Thanks > --Jon > > On Sep 4, 11:32 pm, Ben Appleton <[email protected]> wrote: >> I've just tested "&language=pt-PT" in IE, FF, Safari and Chrome. They work >> fine for me. >> >> Can you provide a link to your site? What browser are these users using? >> When does the error appear? >> >> Thanks >> Ben >> >> On Sun, Sep 5, 2010 at 2:40 AM, Jon <[email protected]> wrote: >> > A few users are reporting trouble loading the map in my app. One user >> > found this error: >> >> > Erro: missing } after function body >> > Ficheiro de origem: >> >http://maps.gstatic.com/intl/pt_pt/mapfiles/api-3/2/3/main.js >> > Linha: 22, Coluna: 116 >> > Código de origem: >> > T.G=function(a,b,c,d){return T[$b](a,b,Zd(c,d))};function Zd(a,b) >> > {return function(c){return b[Vb](a,c,this)}}T.H=func >> >> > It looks like something is wrong with the main.js for the pt_pt >> > locale? Has anyone else seen this? >> >> > Thanks >> > --Jon >> >> > -- >> > You received this message because you are subscribed to the Google Groups >> > "Google Maps JavaScript API v3" group. >> > To post to this group, send email to >> > [email protected]. >> > To unsubscribe from this group, send email to >> > [email protected]<google-maps-js-api-v3%[email protected]> >> > . >> > For more options, visit this group at >> >http://groups.google.com/group/google-maps-js-api-v3?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v3" 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-js-api-v3?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
