Created
November 22, 2013 19:35
-
-
Save srahim/7605555 to your computer and use it in GitHub Desktop.
mapview
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var win = Ti.UI.createWindow(); | |
var Map = Ti.Map; | |
var map = Map.createView({ | |
userLocation: true, | |
mapType: Map.NORMAL_TYPE, | |
animate: true, | |
region: {latitude: -33.87365, longitude: 151.20689, latitudeDelta: 0.02, longitudeDelta: 0.02 }, //Sydney | |
top: '50%', | |
// top:200, | |
pitchEnabled: true, | |
rotateEnabled: true, | |
showsBuildings: true, | |
showsPointsOfInterest: true, | |
// width: '100%' | |
}); | |
win.add(map); | |
win.open(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment