Skip to content

Commit

Permalink
fix 漏兼容 ol 矢量瓦片style 传 url 情况下相对路径不全
Browse files Browse the repository at this point in the history
  • Loading branch information
xilanhuaweidapao committed Feb 14, 2025
1 parent 81b7bdb commit bbbed71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/openlayers/overlay/VectorTileSuperMapRest.js
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ export class VectorTileSuperMapRest extends VectorTile {
withCredentials: options.withCredentials,
headers: options.headers
});
this.baseUrl = url;
style = await response.json();
}
await this._fillByStyleJSON(style, options.source);
Expand Down

0 comments on commit bbbed71

Please sign in to comment.