Skip to content

Commit

Permalink
スクロールズーム
Browse files Browse the repository at this point in the history
  • Loading branch information
rensanrenren committed Feb 14, 2025
1 parent 57d8474 commit 2c31583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const map = new mapboxgl.Map({

// ナビゲーションコントロールを追加し、スクロールによるズームを無効化
map.addControl(new mapboxgl.NavigationControl());
map.scrollZoom.disable();
//map.scrollZoom.disable();

// スタイルロード後に Fog(大気効果)を設定(必要に応じて調整可能)
map.on('style.load', () => {
Expand Down

0 comments on commit 2c31583

Please sign in to comment.