Skip to content

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy