From 834ed6ede5d35d8a06ddcc51d216b3e2453da65a Mon Sep 17 00:00:00 2001 From: eug-L Date: Tue, 4 Jun 2024 15:24:56 +0800 Subject: [PATCH] fix ajax headers not propagated to navigator --- src/viewer.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/viewer.js b/src/viewer.js index 5431626f..d4e762be 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -515,6 +515,8 @@ $.Viewer = function( options ) { crossOriginPolicy: this.crossOriginPolicy, animationTime: this.animationTime, drawer: this.drawer.getType(), + loadTilesWithAjax: this.loadTilesWithAjax, + ajaxHeaders: this.ajaxHeaders, }); }