Mapbox.js returns tiles in wrong order

﹥>﹥吖頭↗ 提交于 2019-12-25 08:14:13

问题


When using Mapbox-gl.js in the latest chrome browser, everything works fine. When I want to use the default mapbox.js implementation, the map tiles are getting al mixed up and shown totally wrong. See screenshot

I have totally no idea why this does not work with mapbox.js, while I did not experience any problem with mapbox-gl.js


回答1:


Make sure you're loading the CSS files for the mapbox.js library. Tiles being arranged that way are usually a symptom of missing CSS rules.



来源:https://stackoverflow.com/questions/37342353/mapbox-js-returns-tiles-in-wrong-order

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!