appcelerator/titanium_modules — pull request #90 by isis (2013-03-05 06:20:14+00:00)
Title: map module:add some event properties on "rangechanged"event, and add "infowindowclick" event

#1) add some event properties on "rangechanged"event,
*"zoom" : a value directly from Google Map v2 API
*"tilt" : a value directly from Google Map v2 API
*"bearing" : a value directly from Google Map v2 API
*"letitudeDelta" : a value calicurated from "zoom" from Google Map v2 API
*"longitudeDelta" : a value calicurated from "zoom" from Google Map v2 API

usage)
```javascript
mapview.addEventListener('regionchanged', function(e) {
console.log('regionchanged ' + e.latitude + ' ' + e.latitudeDelta + ' ' + e.longitude + ' ' + e.longitudeDelta
+ ' ' + e.zoom + ' ' + e.tilt + ' ' + e.bearing);
});
````
#2) add "infowindowclick" event
you use "infowindowclick" event, when user click on annotaion's info window, you will handle it.
*"clicksource" : clicked annotation object

usage)
```javascript
mapview.addEventListener('infowindowclick', function(e) {
console.info('infowindowclick ' + e.clicksource);
if (e.clicksource) {
console.log('infowindowclick ' + e.clicksource.title
+ ' ' + e.clicksource.latitude
+ ' ' + e.clicksource.longitude);

}
});
````