alert(map.getMapTypes().length) * ?? pixels (for each control) so easy mike :D
On Feb 7, 12:21 pm, Mike Williams <[email protected]> wrote: > I don't know of any way of asking the API how wide the GMapTypeControl > is, so I just hard coded the "More" to be 210 pixels from the left. If > you add a fourth (Earth) maptype, then you need to increase that value > appropriately. > > --http://econym.org.uk/gmap > The Blackpool Community Church Javascript Team --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
