Sencha Touch - Map.Geo = null

Adr*_*ake 10 javascript google-maps sencha-touch

我试图在Sencha Touch上关注这个简单的教程http://dev.sencha.com/deploy/touch/getting-started.html

我一直收到JavaScript错误:Uncaught TypeError:无法调用null的方法'on'

这与Map.geo属性有关,该属性未正确设置.我正在使用与链接上相同的代码.我已经尝试过另外一个盒子,以防它是防火墙问题,但是得到了同样的错误.

Kar*_*oos 5

在您的应用程序JavaScript文件中,替换getLocation:trueuseCurrentLocation:true.