I'd view the map with Firefox and after changing from StreetView back to RoadMap use Firebug to inspect the map.
Find the custom control div if it's there and look at it's style - display, visibility and position etc. Martin. On Dec 20, 4:09 pm, Marc <[email protected]> wrote: > I have created custom controls on my map using the code: > > map.controls[google.maps.ControlPosition.RIGHT_BOTTOM].push(homeControlDiv); > > where homeControlDiv is a div that I have created with other controls inside > it. The controls are visible when I view the default map in RoadMap mode. > When I switch to StreetView and then back to RoadMap view my controls > disappear. I think the map object still thinks they are there because if I > add the controls again they are added above where they would originally be > added. > > Anyone got any ideas what is going on and how I can fix this? > > Cheers, > > Matc -- 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.
