Skip to content

Commit e4a804c

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/openlayers/overlay/VectorTileSuperMapRest.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,7 @@ export class VectorTileSuperMapRest extends VectorTile {
317317
withCredentials: options.withCredentials,
318318
headers: options.headers
319319
});
320+
this.baseUrl = url;
320321
style = await response.json();
321322
}
322323
await this._fillByStyleJSON(style, options.source);

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