我正在使用 openlayers 来显示地图。我可以显示 Bing Road 地图图层,但是当我添加 Ordnance Survey 图层(通过更改road
为ordnancesurvey
)时,图层会显示,但出现以下错误:
Error: TypeError: providers is null
Source File: http://www.cabotscouts.org.uk/scripts/openlayers-2.12/OpenLayers.debug.js Line: 39605
演示: http: //www.cabotscouts.org.uk/scripts/test.html
有任何想法吗?