2017-07-17 46 views

回答

0

您可以像添加其他圖層一樣添加衛星圖層。

map.addLayer({ 
    id: 'satellite', 
    source: {"type": "raster", "url": "mapbox://mapbox.satellite", "tileSize": 256}, 
    type: "raster" 
}, 'optional_before_argument'); 

http://jsbin.com/cucemulala/1/edit?html,output