Select to view content in your preferred language

Shapefile added by 3D custom widget but not detected by Layer List widget

632
2
Jump to solution
09-01-2020 01:46 PM
MichaelLev
Regular Contributor

I used the exact code from esri’s example Create a FeatureLayer from a shapefile to develop custom widget in esri Web AppBuilder (Developer Edition) 2.17 for adding zipped shapefile to my 3D scene.

The Shapefile is indeed added and seen in the 3D scene, However -

  1. The standard esri “Layer List” widget supplied in the original Web AppBuilder, does not “see” the added shape. My code does exactly what is done in the above esri example. I’d appreciate it to get some help which way to go in order that the “Layer List” widget will “see” the added shape.
  2. which way to go in order that when I click in the 3D scene on some element of the added shape, I’ll get a pop up with the element’s info.


I am relatively new to this area, so heloquently will be greatly appreciated,

Michael

0 Kudos
1 Solution

Accepted Solutions
MichaelLev
Regular Contributor

Dear Robert Scheitlin, GISP‌,

I'm happy to tell you that I solved it myself.

I debugged Layer List widget and found it expects layer to have a title.

So I added title when constructing the feature layer of the shapefile.

Michael

View solution in original post

2 Replies
RobertScheitlin__GISP
MVP Emeritus

Michael,

   Sorry I don't have time to help with that now.

0 Kudos
MichaelLev
Regular Contributor

Dear Robert Scheitlin, GISP‌,

I'm happy to tell you that I solved it myself.

I debugged Layer List widget and found it expects layer to have a title.

So I added title when constructing the feature layer of the shapefile.

Michael