Error loading UDMap

Product: PowerShell Universal
Version: 3.7.3

Error rendering component (ud-map)
TypeError: this.state.features.map is not a function

at UDMap (http://smoidgdev02.dev.jha:5000/CRMBot3000/Components_map_map_jsx.9153e966cc5f5368842c.bundle.js:63:197)
at ErrorBoundary (http://smoidgdev02.dev.jha:5000/CRMBot3000/index.ccc0239de3e8f36c671b.bundle.js:83586:197)
at Suspense
at main
at UDPage (http://smoidgdev02.dev.jha:5000/CRMBot3000/index.ccc0239de3e8f36c671b.bundle.js:80730:23)
at highOrderComponent (http://smoidgdev02.dev.jha:5000/CRMBot3000/index.ccc0239de3e8f36c671b.bundle.js:85577:55)
at Route (http://smoidgdev02.dev.jha:5000/CRMBot3000/index.ccc0239de3e8f36c671b.bundle.js:122597:29)
at Switch (http://smoidgdev02.dev.jha:5000/CRMBot3000/index.ccc0239de3e8f36c671b.bundle.js:122803:29)
at div
at Suspense
at highOrderComponent (http://smoidgdev02.dev.jha:5000/CRMBot3000/index.ccc0239de3e8f36c671b.bundle.js:85577:55)
at Suspense
at InnerThemeProvider (http://smoidgdev02.dev.jha:5000/CRMBot3000/index.ccc0239de3e8f36c671b.bundle.js:44155:70)
at ThemeProvider (http://smoidgdev02.dev.jha:5000/CRMBot3000/index.ccc0239de3e8f36c671b.bundle.js:42493:5)
at ThemeProvider (http://smoidgdev02.dev.jha:5000/CRMBot3000/index.ccc0239de3e8f36c671b.bundle.js:44175:5)
at StyledEngineProvider (http://smoidgdev02.dev.jha:5000/CRMBot3000/index.ccc0239de3e8f36c671b.bundle.js:42678:5)
at n (http://smoidgdev02.dev.jha:5000/CRMBot3000/index.ccc0239de3e8f36c671b.bundle.js:135969:58)
at http://smoidgdev02.dev.jha:5000/CRMBot3000/index.ccc0239de3e8f36c671b.bundle.js:135969:1060
at Dashboard (http://smoidgdev02.dev.jha:5000/CRMBot3000/index.ccc0239de3e8f36c671b.bundle.js:84515:22)
at Route (http://smoidgdev02.dev.jha:5000/CRMBot3000/index.ccc0239de3e8f36c671b.bundle.js:122597:29)
at Switch (http://smoidgdev02.dev.jha:5000/CRMBot3000/index.ccc0239de3e8f36c671b.bundle.js:122803:29)
at div
at Router (http://smoidgdev02.dev.jha:5000/CRMBot3000/index.ccc0239de3e8f36c671b.bundle.js:122228:30)
at BrowserRouter (http://smoidgdev02.dev.jha:5000/CRMBot3000/index.ccc0239de3e8f36c671b.bundle.js:121853:35)
at App (http://smoidgdev02.dev.jha:5000/CRMBot3000/index.ccc0239de3e8f36c671b.bundle.js:82595:197)

Can you share the script you used to get this error? The basic map example is working on the demo site: PowerShell Universal Dashboard

I’ve collapsed some helper functions which aren’t called when the page loads.

I looked at the demo site and saw it working. I think the raster layer -TileServer parameter matches.

@Omzig put an issue in for the same error with a slightly different source: Maps broken? · Issue #1985 · ironmansoftware/issues (github.com)

1 Like