Many thanks, Andrew! That was exactly the problem. klinik
On May 6, 12:10 pm, Andrew Leach <[email protected]> wrote: > On May 6, 4:34 pm, klinik <[email protected]> wrote: > > > I used few addresses withparameterslinking to a custommap, by > > example:http://www.ville.rimouski.qc.ca/carte/carte.htm?lat=48.45210454520385... > > > But now I have to make some changes to themapand I changed theApi > >versionfrom 2.s to 2 and I get an error msg in main.js, line 551. > > Firebug description:zm.prototype=new To;zm.prototype.fromLat...+g)/(1- > > g))*-c.At[b]);return new W(e,h)}; > > Seelinkwith > > theproblem:http://www.ville.rimouski.qc.ca/carte/cartePoly.htm?lat=48.4521045452... > > > Any help would be appreciated please. > > I think you need to centre themapearlier than you are (it appears to > be failing when it's constructing the overviewmap, although I haven't > worked out how it's getting to that bit of code). The treatment of the > overviewmapchanged in v2.116 and you now need to centre themap > before doing anything with it. A suitable centre might be (88,0) > because themapwill be grey. > > 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 [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 -~----------~----~----~----~------~----~------~--~---
