Thanks Mike for your help, I have done this. I have removed all buttons representing the map types and I have created my custom three buttons. One button for normal map type, the second is for satellite map type, and the third is for Hybrid type. The behavior should be such that: at the beginning the button representing normal map type has to be of a bold border and bold text. when another button gets clicked it has to be changed to bold and the other buttons have to be of a normal border and normal text (not bold). this is not happening and I do not know how to do it. your time for helping me is appreciated.
Many thanks in advance. On May 5, 2:05 pm, Mike Williams <[email protected]> wrote: > You can create your own custom GControl to have whatever button styles > you want. > > See:http://code.google.com/apis/maps/documentation/controls.html#Custom_C... > ols > > The example shown there is fairly close to what you want, just get it to > make setMapType calls instead of map.zoomIn and zoomOut, and change the > setButtonStyle_ function to use styles that you like. > > --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 -~----------~----~----~----~------~----~------~--~---
