We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f1b3e83 + e526624 commit 613c377Copy full SHA for 613c377
src/openlayers/mapping/WebMap.js
@@ -1822,9 +1822,9 @@ export class WebMap extends Observable {
1822
if (layerInfo.layerType === 'MIGRATION') {
1823
try {
1824
if (dataSource.type === 'PORTAL_DATA') {
1825
- const { dataMetaInfo } = await FetchRequest.get(`${Util.getIPortalUrl()}web/datas/${dataSource.serverId}.json`, null, {
+ const { dataMetaInfo } = await FetchRequest.get(`${this.server}web/datas/${dataSource.serverId}.json`, null, {
1826
withCredentials: true
1827
- })
+ }).then(res => res.json());
1828
// eslint-disable-next-line require-atomic-updates
1829
layerInfo.xyField = {
1830
xField: dataMetaInfo.xField,
0 commit comments