mapbox隐藏左下角的log或者改变位置
删除logo
css中加入
.mapboxgl
-ctrl
{
display
: none
!important
;
}
改变位置
map1
= new mapboxgl.Map({
container
: "map1",
style
: "mapbox://styles/mapbox/streets-v11",
zoom
: 12,
center
: [117.716, 39.06],
logoPosition
:"bottom-right"
});
转载请注明原文地址:https://tech.qufami.com/read-23332.html