8000 fix 漏兼容 ol 矢量瓦片style 传 url 情况下相对路径不全 · SuperMap/iClient-JavaScript@275e733 · GitHub
[go: up one dir, main page]

Skip to content

Commit 275e733

Browse files
fix 漏兼容 ol 矢量瓦片style 传 url 情况下相对路径不全
1 parent 9d74564 commit 275e733

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/openlayers/overlay/VectorTileSuperMapRest.js

+1
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@ export class VectorTileSuperMapRest extends VectorTile {
309309
const response = await FetchRequest.get(url, null, {
310310
withCredentials: options.withCredentials
311311
});
312+
this.baseUrl = url;
312313
style = await response.json();
313314
}
314315
await this._fillByStyleJSON(style, options.source);

0 commit comments

Comments
 (0)
0