如果不使用https,程序可以正常跑起来,但是使用了https,就报脚本错误了,说:Error: 'google' is undefined
代码如下:
var directionsDisplay = new google.maps.DirectionsRenderer();
------解决方案--------------------------------------------------------
要使用google要先定义啊,
var google;
另外说明,project_tree_view最新下载已经改换地址了,redmine中的版本已经不是最新的,最新的版本应该是0.0.4,但是问题依然存在,需要修改,最新地址为:https://github.com/cforce/projects_tree_view