Re: how to Change type control by button out of map
The onclick function attached to your button should perform one of these
as appropriate
map.setMapType(G_SATELLITE_TYPE);
map.setMapType(G_MAP_TYPE);
map.setMapType(G_HYBRID_TYPE);
Don't forget that your "map" variable will need to be global as you're
referencing it from an external function.
--
The Blackpool Community Church Javascript Team
http://www.econym.demon.co.uk/googlemaps/
0 Comments:
Yorum Gönder
<< Home