I would like to put a button on top of a Google Map next to the Map, Satelite and Hybrid buttons.
I was wondering if its possible and how would be the best way to do it?
So ideas I have are overlaying a image on top of the google map that is clickable but not sure if that will take all the events away from the google map.
Do you have any ideas on how it could be done?
There is a pretty good description of how to do this here.
I am pretty sure you can style these guys to look like the standard buttons and you can definitely anchor it to the top right. When I get a chance I’ll give it a try and update with my results.
Update:
I had a chance to try this out and it works ok:
Basically you end up doing very similar things implementing the buttons using GControl or just using absolute positioning of a DIV over the map (as ChrisB suggested). So I don’t think there is a correct (or easier) approach, it’s just a matter of personal preference. Good luck.