var MapModule = require('ti.map');
var win = Ti.UI.createWindow({
backgroundColor: 'white'
});
var vert = Ti.UI.createScrollView({
contentHeight: 'auto',
scrollType: 'vertical',
showVerticalScrollIndicator: true,
layout:'vertical',
canCancelEvents: false,
width: Ti.UI.SIZE
});
var mapview = MapModule.createView({
height: 250,
mapType: MapModule.NORMAL_TYPE,
region: {latitude: -33.87365, longitude: 151.20689, latitudeDelta: 0.1, longitudeDelta: 0.1 },
});
var con = Ti.UI.createView({width: 300, height: 250});
con.add(mapview);
con.add(Ti.UI.createView({backgroundColor: 'white', opacity: 0, touchEnabled: false}));
vert.add(Ti.UI.createView({
height: 200, width: 100, backgroundColor: 'red'
}))
vert.add(Ti.UI.createView({
height: 150, width: 100, backgroundColor: 'blue'
}))
vert.add(con);
vert.add(Ti.UI.createView({
height: 300, width: 100, backgroundColor: 'green'
}))
win.add(vert);
win.open();