openlayers-3 Firefox 37.0.1与37.0.2 mapserver渲染错误?

openlayers-3 Firefox 37.0.1与37.0.2 mapserver渲染错误?,firefox,openlayers-3,Firefox,Openlayers 3,我认为在Win7 64中从Firefox 37.0.1升级到37.0.2暴露了我的代码或OL3代码中的错误。我的两个图层不再显示在正确的位置。两个不正确的层都使用了表示ArcGIS REST服务并以mapserver结尾的URL。没有其他层使用与以下2个问题类似的源: http://gis.ncdc.noaa.gov/arcgis/rest/services/nidis/usdroughtoutlook/MapServer http://apps.fs.fed.us/arcx/rest/serv

我认为在Win7 64中从Firefox 37.0.1升级到37.0.2暴露了我的代码或OL3代码中的错误。我的两个图层不再显示在正确的位置。两个不正确的层都使用了表示ArcGIS REST服务并以mapserver结尾的URL。没有其他层使用与以下2个问题类似的源:

http://gis.ncdc.noaa.gov/arcgis/rest/services/nidis/usdroughtoutlook/MapServer
http://apps.fs.fed.us/arcx/rest/services/EDW/EDW_Watersheds_01/MapServer
详情:

我正在OpenLayers3地图中显示来自多个源的多个图层。使用运行在Windows7、64位的Firefox37.0.1,一切都正常显示。如果不对javascript代码进行任何更改,其中两个层将不再正确显示。它们相对于以前正确显示的位置向南和向东偏移。例如,这两层的佛罗里达州南端现在位于古巴的顶部。我所知道的唯一不同是Firefox被更新为37.0.2

测试结果 我用以前版本的代码进行了测试,我确信37.0.1中的代码是正确的,但现在这些代码在37.0.2中显示不正确

我在另一台装有37.0.1的Windows7、64计算机上进行了测试,当前代码显示了正确的结果

我在两台Windows7机器上都测试了Chrome和正确显示的图层

我使用产品更新版本为11.0.17的Internet Explorer 11.0.9600.17691进行了测试,层显示不正确

我的结论是Firefox更新导致了显示错误。但是,我无法判断这是Firefox还是OL3代码的问题

代码摘录: 我已经包含了创建不工作的层的代码。我跳过了大部分代码,因为它适用于其他层和Chrome。我添加了一些附加参数LayerOption、layerCode和showMenu,以方便其他处理。每个图层都被推送到一个用于定义地图的阵列myLayers上。 OL库被引用为:

http://openlayers.org/en/v3.3.0/build/ol.js" type="text/javascript
javascript

var huc = new ol.layer.Tile({
title: 'Watersheds',
layerCaption: 'Watersheds',
layerCode: 'huc',
showMenu: true,
source: new ol.source.TileArcGISRest({
    url: 'http://apps.fs.fed.us/arcx/rest/services/EDW/EDW_Watersheds_01/MapServer',
    params: {
        'layers': 0,    // 0 is HUC-2... 5 is HUC-12
        'bbox': '-126.0 24.5 -65.0 51.0',
        'transparent': 'false',
        'f': 'image'
    },
    attributions: [new ol.Attribution({
        html: 'Hydrologic Unit Boundaries, US Forest Service Enterprise Map Services Program'
    })]
}),
visible: false,
opacity: 0.70
});
第二层是:

var ncdcDrought = new ol.layer.Tile({
title: 'NOAA National Climatic Data Cecnter Drought Forecast',
layerCaption: 'Drought Forecast',
layerCode: 'ncdcDrought',
showMenu: true,
source: new ol.source.TileArcGISRest({
    url: 'http://gis.ncdc.noaa.gov/arcgis/rest/services/nidis/usdroughtoutlook/MapServer',
    params: {
        'LAYERS': '0',
        'bbox': '-126.0 24.5 -65.0 51.0',
        'bboxSR': '4326',
        'imageSR': '4019',
        'transparent': 'false',
        'f': 'image'
    }
}),
visible: false,
opacity: 0.70
});
myLayers.push(ncdcDrought);
创建地图的代码:

var view = new ol.View({
 //center: ol.proj.transform([37.41, 8.82], 'EPSG:4326', 'EPSG:3857'),
projection: 'EPSG:4326',
center: [-90, 40],
zoom: 4
});
var map = new ol.Map({
controls: ol.control.defaults().extend([
    new ol.control.ScaleLine({
        units: 'us'
    })
]),
target: 'map',
layers: myLayers,
view: view
});
我已尝试提供有关详情。如果这还不够,我可以提供更多信息

多谢各位

杰夫