Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e84d343

Browse files
[fix]??语法
1 parent 1b7979d commit e84d343

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/openlayers/mapping/ImageSuperMapRest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ export class ImageSuperMapRest extends ImageSource {
232232
const loadCallback = decode;
233233
return (extent, resolution, pixelRatio) => {
234234
const image = new Image();
235-
image.crossOrigin = crossOrigin??null;
235+
image.crossOrigin = crossOrigin;
236236
return loadCallback(image, src).then((image) => ({ image, extent, pixelRatio }));
237237
};
238238
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /