Skip to content

Instantly share code, notes, and snippets.

@exclusiveTanim
exclusiveTanim / app.js
Last active August 29, 2015 13:58
Code for Geolocation and Mapping
/*Its a simple code for Map*/
var MapModule = require('ti.map');
var win = Ti.UI.createWindow({backgroundColor: 'white'});
var scrollView = Ti.UI.createScrollView({
top : 20,
layout : 'vertical',
contentWidth : 'auto',
contentHeight : 'auto',
showVerticalScrollIndicator : true,