Skip to content

Commit 802087b

Browse files
fix ol webmap ut
1 parent 40eee05 commit 802087b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/openlayers/mapping/WebMap.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4822,6 +4822,7 @@ export class WebMap extends Observable {
48224822
let url = dataSource.url;
48234823
if (this.isRestMapMapboxStyle(layerInfo)) {
48244824
url = url.replace(restMapMVTStr, '');
4825+
url = this.getRequestUrl(url + '.json');
48254826
}
48264827
if (url.indexOf('/restjsr/') > -1 && !/\.json$/.test(url)) {
48274828
url = this.getRequestUrl(url + '.json');

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