Ti.UI.createWebView({
html:"<html><head><meta name='viewport' content='width=850,user-scalable=no'/><script src='http://maps.google.com/maps/api/js?sensor=false' type='text/javascript'></script></head><body onload=\"new google.maps.StreetViewPanorama(document.getElementById('p'),{position:new google.maps.LatLng("+lat+", "+lon+")});\" style='padding:0px;margin:0px;'><div id='p' style='height:100%;width:100%;'></div></body></html>",
backgroundColor:'#000',
width:850,
height:650
});
Last active
December 16, 2015 20:06
-
-
Save tzmartin/729d9a92181294bda9e6 to your computer and use it in GitHub Desktop.
Titanium Google Maps Streetview Hack
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Result:
