情况描述:
1.MAPXTREME 2005/2008 在IE8下出现“参数错误”问题 (command.js 出错),而火狐正常
只需要在页面中加入如下HTTP meta-tag:
只要IE8一读到这个标签,它就会自动启动IE7兼容模式,保证页面完整展示.
还有一种方法是针对整个网站的,在IIS中加入如下描述符就可以有相同的效果,当然这么做范围更广.
?
或者你还可以使用IIS admin tool来定义,更为简单.
2.Interaction.js 在IE中出现错误,而火狐却运行正常
DragInteraction.prototype.OnUp=function (e)
{
if (this.drag)
{
this.element.style.position='relative';
this.element.style.left = 0;
this.element.style.top = 0;
this.element.style.clip = 'rect(' + 0 + ' ' + this.element.width + ' ' + this.element.height + ' ' + 0 +')';
this.PointsData.AddPoint(e.clientX+GetScrollLeft(this.element), e.clientY+GetScrollTop(this.element));
if (this.onComplete) this.onComplete();
this.PointsData.Clear();
this.drag = false;
} else {
this.PointsData.Clear(); //没拖动要清除选中的点,这条语句必须加否则单击地图但是没有拖动时,下次再单击但没有拖动出现地图自动拖动的现象
}

















