import * as GIA from '@ntj/gaia';
map.setWheelZoomEnable(false); // ホイールズーム無効
map.setDoubleClickZoomEnable(false); // ダブルクリックズーム無効
import * as GIA from '@ntj/gaia';
map.setIsConstantAnimated(false);
import * as GIA from '@ntj/gaia';
map.withPausing(() => {
map.setCenter(new GIA.value.LatLng(35.6762, 139.6503));
map.setZoomLevel(15);
map.setTilt(45);
});
import * as GIA from '@ntj/gaia';
// デフォルト(500ms程度)より長めに設定
map.setMapLongTapMilliseconds(800);
地図の基本的な挙動(操作・アニメーション・3D表示)を制御する — 詳細な使用例
setIsConstantAnimated(flag)setWheelZoomEnable(flag)setKeyZoomEnable(flag)setDoubleClickZoomEnable(flag)setMapLongTapMilliseconds(ms)withPausing(task)isMapRotationEnabled()isMapTiltEnabled()setMapRotationEnabled(flag)setMapTiltEnabled(flag)恒常的なアニメーション (
setIsConstantAnimated)true(デフォルト): 毎フレーム再描画し続けます。動的コンテンツ(アニメーション、UserLocation等)で必要。false: 操作イベント発生時のみ再描画します。静的な表示のみの場合、CPU/GPU 負荷を削減できます。操作無効化 (
setWheelZoomEnable/setKeyZoomEnable/setDoubleClickZoomEnable)setWheelZoomEnable(false)。描画一時停止 (
withPausing)