FeatureLayer from JSON autocast?

109
1
03-12-2019 08:08 AM
DavidButz
New Contributor III

I want to export data from Pro using Features to JSON (or Features to GeoJSON) and be able to use that to construct a FeatureLayer in a JS 4.x app using autocasting. I don't see any current 4.x examples on this and I am not even sure if it's possible or where to start.

I attached my exported json file from Pro. I will figure out how to load it from disk later, but for now, if I wanted to copy/paste it into some code in a sandbox example, which sample should I be looking at to model it after?

Reply
0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Esteemed Contributor

David,

  Built in support for GeoJSON is coming in 4.11 by the end of this month.

Reply
0 Kudos