Select to view content in your preferred language

Closest Facility Widget for Web AppBuilder

6114
8
01-12-2016 10:50 AM
Labels (1)

Closest Facility Widget for Web AppBuilder

Here's a port of my FlexViewer Closest Facility Widget for the Web AppBuilder.

http://www.arcgis.com/home/item.html?id=9a81bb2f4d7c416d8eaca4fe2864c910

Try it live here or get the code here.

Changes:

v1.1.5, 1/21/2016:

  • Fixed a problem in which some facilities datasets with lots of attributes confuse the solver. Create a copy of the facilities, but without attributes, before sending to the solver.

v1.1.1, 1/15/2016:

     * Settings page: animation duration field now forces the value to be a nonnegative integer

     * Displays a busy indicator while the server runs the solver

Labels (1)
Comments
RickeyFight
MVP Regular Contributor

This looks awesome thank you!

RebeccaStrauch__GISP
MVP Emeritus
CarmellaBurdi1
Regular Contributor

This is really amazing!

TimWitt2
MVP Alum

This is great, well done!

GregNewton
Occasional Explorer

This is really cool.  I tried deploying on WAB 2.1, but it doesn't seem to be working.  Have you had any luck deploying on newer versions?

MarkDeaton
Esri Contributor

Greg,

Sorry for the very, very late reply. I was able to use the widget fine in WAB 2.2. Did you make sure to copy the widget "ClosestFacility" folder into WAB's stemapp > widgets directory before creating a new application?

WAB CF widget in action

GregNewton
Occasional Explorer

Ok I did get it working.  After extracting, I renamed the folder "ClosestFacility." It was previously called closest-facility-wab-js-master.

MarkDeaton
Esri Contributor

Thanks, Greg. I've updated the GitHub readme to include this renaming step.

Version history
Last update:
‎01-12-2016 10:50 AM
Updated by:
Contributors