Are you adding a KML overlay and zooming to that viewport? I had this problem until; I set preserveViewport: true.
On Jun 28, 6:01 am, Nathan Raley <[email protected]> wrote: > Any ideas why I would sometimes get 2 navigation controls when loading the > map? Or any way to check if the navigation control already exists? > > An example of how I am loading the map and creating the controls can be > found:http://www.suntransformer.com/peter/GoogleAPI3/GoogleAPIv3test.html > > However, the actual page that I am loading is that code in an embedded html > object in a c++ program I am developing. Most of the time I get 1 control, > but there are occasions where I will have 2. > > Any ideas? -- 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.
