I can see the code, but I can't see the bug. I loaded that page a few times watching the JavaScript console and nothing shows up there. All I can see is the map with the marker on it, only when I close its infowindow I get:
Error: this.show is not a function Source file: http://maps.google.com/intl/en_us/mapfiles/150c/maps2.api/main.js Line: 1417 But doesn't seem to be the same as issue #1172, where GMap2.addOverlay (new GOverviewMapControl()) was being called before GMap2.setCenter() and that caused the map not to even show up. I think your problem is that your adding the same control (OverviewMap) more than once, which goes against the API reference: A control instance must not be added more than once to the map. http://code.google.com/apis/maps/documentation/reference.html#GMap2.addControl What I can't find is a way to (a) hide it rather than remove it, or (b) collapse it from the API or (c) make sure the control is really not the same, 2nd time you add it. I'm not sure assign null to it will help. On Mar 25, 3:19 pm, IGonza <[email protected]> wrote: > Yes, I do map.setCenter(point, gmap_level);. > You can see it in the codehttp://www.earthpublisher.com/bug.php. > Also, as I said everything works fine in v2.148. > > Thanks, > Igor. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
