On May 6, 4:34 pm, klinik <[email protected]> wrote: > I used few addresses with parameters linking to a custom map, by > example:http://www.ville.rimouski.qc.ca/carte/carte.htm?lat=48.45210454520385... > > But now I have to make some changes to the map and I changed the Api > version from 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)}; > See link with the > problem:http://www.ville.rimouski.qc.ca/carte/cartePoly.htm?lat=48.4521045452... > > Any help would be appreciated please.
I think you need to centre the map earlier than you are (it appears to be failing when it's constructing the overview map, although I haven't worked out how it's getting to that bit of code). The treatment of the overview map changed in v2.116 and you now need to centre the map before doing anything with it. A suitable centre might be (88,0) because the map will 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 -~----------~----~----~----~------~----~------~--~---
