Use the select widget with Javascript frameworks

974
2
04-26-2018 12:50 AM
KristofferJohansen
New Contributor

I want to use the select-widget from WebAppbuilder in my Angular application. Where you click-and-drag the mousepointer on the map to select multiple features in a featurelayer.

Has anyone succeeded with porting or recreate the features of the select-widget in the WebAppbuilder for use with Javascript frameworks?

Or has anyone ported any of the WebAppbuilder-widget for use in a Javascript-application?

Select widget—Web AppBuilder for ArcGIS | ArcGIS 

0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus

Kristoffer,

   WAB widgets have a strong dependence on the jimu library. It would not be impossible to port a widget but it would involve a GOOD deal of programming. One of the first would be the widget panel and then all the jimu library dependencies. 

KristofferJohansen
New Contributor

Thank you for taking time to answer. It was kind of the solution I was afraid it could be.

What I ended up doing was using the "Sketch temporary geometry"-tutorial and use the returned geometry/extent from creating a rectangle as a query on the featurelayers. So for now I do not need to import the jimu library for solving this problem.

0 Kudos