- error: o
- details: {url: 'https://www.arcgis.com/sharing/rest/content/items/My_Portal_Url}
I am getting this error when trying to convert to Arcgis/Map-Components. I set the PortalURL and ProxyURL in NgOnInit()
I also have a boolean on the map to wait to render until the config is set.
esriConfig.request.proxyRules = [
{
urlPrefix: myPortalUrl,
proxyUrl: myProxyUrl
}
];
But the request from the {arcgis-map} is still trying to find the portalUrl through arcgis. I did try setting the portalUrl in the {arcgis-map portal-url="myUrl" item-id="My_Portal_Url"}. Neither of these seem to work.
Any help with this would be great.