mle 0180 - izudon/izudon.github.io GitHub Wiki
0180 Change the default position for attribution
1.最初はアトリビューションをオフにする
const map = new maplibregl.Map({
// ...
attributionControl: false
});
2.直後に場所指定でアトリビューションを追加する
const map = new maplibregl.Map({
// ...
attributionControl: false
});
map.addControl(new maplibregl.AttributionControl(), 'top-left');
- MapLibre Examples
Add a comment on every example of MapLibre GL JS by Masakazu IZUI