打开街道地图 Web 向导用法
Open Street Map Web Wizard Usage
为什么在SUMO中调用OSM Web Wizard会出现粉红色的画面?
我附上了下面的图片。
OSM WEB view page
加载 OpenStreetMap 图块似乎有问题。我们最近提出了在加载图块时使用 https 而不是 http 的修复建议。您可以尝试应用此补丁 https://github.com/eclipse/sumo/commit/3da7939ea19b246fb845267aa60f0d23ce66908a 或简单地在 tools/webWizard/script.js
中手动替换
行
map.addLayer(new OpenLayers.Layer.OSM);
与
var maplayer = new OpenLayers.Layer.OSM("OpenStreetMap",
// Official OSM tileset as protocol-independent URLs
[
'https://a.tile.openstreetmap.org/${z}/${x}/${y}.png',
'https://b.tile.openstreetmap.org/${z}/${x}/${y}.png',
'https://c.tile.openstreetmap.org/${z}/${x}/${y}.png'
], null);
map.addLayer(maplayer);
为什么在SUMO中调用OSM Web Wizard会出现粉红色的画面? 我附上了下面的图片。 OSM WEB view page
加载 OpenStreetMap 图块似乎有问题。我们最近提出了在加载图块时使用 https 而不是 http 的修复建议。您可以尝试应用此补丁 https://github.com/eclipse/sumo/commit/3da7939ea19b246fb845267aa60f0d23ce66908a 或简单地在 tools/webWizard/script.js
中手动替换行
map.addLayer(new OpenLayers.Layer.OSM);
与
var maplayer = new OpenLayers.Layer.OSM("OpenStreetMap",
// Official OSM tileset as protocol-independent URLs
[
'https://a.tile.openstreetmap.org/${z}/${x}/${y}.png',
'https://b.tile.openstreetmap.org/${z}/${x}/${y}.png',
'https://c.tile.openstreetmap.org/${z}/${x}/${y}.png'
], null);
map.addLayer(maplayer);