Using GeoJsonLayer in react with esri-loader

104
1
4 weeks ago
particular
New Contributor

I'm trying to use esri-loader in react but can't seem to get hold of "GeoJsonLayer"

In  the browser console it says a 404 for it 

(index):52 GET https://js.arcgis.com/4.18/esri/layers/GeoJsonLayer.js net::ERR_ABORTED 404

 

Like this 

loadModules(['esri/Map''esri/views/MapView''esri/layers/GeoJsonLayer'])
        .then(([ArcGISMapMapViewGeoJsonLayer]) => {

 

Here's my code

https://github.com/parameter/navdock_map/blob/master/client/src/App.js

0 Kudos
1 Reply
particular
New Contributor

Sorry. I tried to remove it. 

It was a missspelling! 

0 Kudos