我设计了一个基于struts2的web应用。它在firefox中运行良好,但在较新版本的IE上不再有效。我在一个dojo操作中得到了以下错误。有谁能帮帮忙吗?
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C)
Timestamp: M
如何从当前位置路由到目的地?错误显示"map.js:97未捕获TypeError:无法读取未定义的属性'geolocation‘“。下面是我的代码:
var directionsDisplay;
var directionsService = new google.maps.DirectionsService();
var map;
var Latitude = undefined;
var Longitude = undefined;
// Get geo coordinates
function getMapLocation() {
directionsDis