Fleet routing with GeoJson files- Stops.geojson has null geometry

07-26-2021 04:44 AM
New Contributor II

Hi all,

I am trying to download geojson files as a zip file, but Stops.geojson has no geometry. 

Because of that, it is not possible to show this layer in MapViewer.


used these example data for submit job, and then 

Fleet routing | Documentation | ArcGIS Developers



If I change output_format in Submit Job step, as "Feature Set" instead of "GeoJSON File"

downloaded .gdb database is working, Stops layer is visible.


So I think problem is only with getting geojson files, and only for Stops.geojson.

0 Kudos
2 Replies
New Contributor

Hi Dogan,
Were you able to resolve the issue you were getting earlier "Unhandled Promise rejection" ?

0 Kudos
New Contributor II

Hi AgrimJain

I have found another discussion about that and all these stuff were related to Angular version. I have upgraded to Angular 12 and no more errors with Promise rejection. Angular is also releasing 13 todays.

andygup commented here: 

SceneView in Angular · Issue #107 · Esri/feedback-js-api-next · GitHub

and you might check his fix:

  • Upgrade your Angular to 11.2.x: ng update @angular/cli @angular/core
  • Change your ts.config > compilerOptions > target to es2017.
  • Update Zone.js to 0.11.4 - you'll need this update anyways when Angular 12 comes out in a few months.
0 Kudos