diff --git a/src/loading/default.ts b/src/loading/default.ts index 7bb8fd7994..f0ebc55af6 100644 --- a/src/loading/default.ts +++ b/src/loading/default.ts @@ -82,7 +82,9 @@ export default function defaultLoading( fontWeight: opts.fontWeight, fontStyle: opts.fontStyle, fontFamily: opts.fontFamily - } + }, + zlevel: opts.zlevel, + z: 10001 }); const labelRect = new graphic.Rect({ diff --git a/test/loading.html b/test/loading.html index f7b1358038..b1133c6804 100644 --- a/test/loading.html +++ b/test/loading.html @@ -50,6 +50,8 @@