How i add an addListener to GOOGLE MAPS to get MapType
+1
A:
Try:
GEvent.addListener(map, "maptypechanged", function() {
var newMapType = map.getCurrentMapType();
// ...
})
Crescent Fresh
2009-03-30 11:22:47