问题
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