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.
1 parent 5b3506b commit e526624Copy full SHA for e526624
src/openlayers/mapping/WebMap.js
@@ -1820,9 +1820,9 @@ export class WebMap extends Observable {
1820
if (layerInfo.layerType === 'MIGRATION') {
1821
try {
1822
if (dataSource.type === 'PORTAL_DATA') {
1823
- 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, {
1824
withCredentials: true
1825
- })
+ }).then(res => res.json());
1826
// eslint-disable-next-line require-atomic-updates
1827
layerInfo.xyField = {
1828
xField: dataMetaInfo.xField,
0 commit comments