0

I created a point layer in ArcMap, then, using the Features to JSON tool, converted these points into a JSON file and ticked GeoJSON, trying to add it to the map:

let layer = new GeoJSONLayer({
url: "data/points.json"
});

let map = new Map({
basemap: "dark-gray"
});

map.add(layer);

let mapview = new MapView({
container: "map",
map: map
});

But nothing appears on the map, I tried to change the format to .geojson, the same way, if I change the url to a link from the documentation, then all the rules, dots appear, what am I doing wrong? Maybe the problem is in the json file? https://drive.google.com/open?id=1YxKfhiQMD82W2EI1llsmQaVD3kWgnWP-

0 Answers0