I figured it out. You can use in a button event handler. map.setMapType(MapType.SATELLITE_MAP_TYPE);
On Jun 15, 11:58 pm, Levko Yaskewych <[email protected]> wrote: > I have an app being reviewed with this feature. > > I have HYBRID, SATELLITE, PHYSICAL and NORMAL which I made separate buttons > for.. > > Make a page with theses 4 buttons on it. > > When you hit the map appears. > > When you hit another button the map disappears and replaces it with the new > one. > > You need to remove image loader when selecting a new map to remove the old > one. > > Treat the map like an image. > > > > > > > > On Thu, Jun 16, 2011 at 6:20 AM, MOLA <[email protected]> wrote: > > I am trying to build a custom button to toggle SATELLITE_MAP_TYPE on > > and off. I do not want to use the built in controls, I want buttons > > outside the container holding the map clip to be able to change the > > map similar to the way the controls do. I cannot seem to find any > > documentation that shows me how to do this. I can easily create a > > button to zoom the map by using map.zoom(); but don't see a standard > > way to simply change between types. Any help is much appreciated. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Maps API For Flash" 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-for-flash?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Maps API For Flash" 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-for-flash?hl=en.
