Loading…
This event has ended. View the official site or create your own event → Check it out
This event has ended. Create your own
View analytic
Thursday, May 18 • 1:30pm - 2:00pm
Customizing WebAppBuilder Widgets

Sign up or log in to save this to your schedule and see who's attending!

Feedback form is now closed.
Web AppBuilder for ArcGIS (WAB) is a popular platform for creating web mapping apps.  It provides widgets and tools, but there are some cases where widgets need to be customized.  I will introduce three customized widgets, DataMenu, TableOfContents, and MailingLabels and discuss the process to create those widgets.

Pierce County provides a GIS platform to our customers complete with data from multiple organizations via a data menu.  The DataMenu widget allows users to select a data source/organization.  The widget then populates the appropriate layers in a tree view, where the user can choose which layers to add to the map, and remove layers that are no longer needed. Icons in the tree view indicate the status of layers including those already present in the map.  Another critical complexity that was addressed was when a layer gets added to the map, its geometry type must be recognized and point/line layers are placed above polygon layers in the display order.  A series of Python scripts easily create/manage this data menu.

The TableOfContents widget allows the management of layers in the TOC. The complexity here is that each WAB widget resides in a separate folder, which means sharing processes/functions across different widgets is impossible without utilizing a medium that can be recognized by all widgets.  Since the TableOfContents widget needs to keep track of which layer has been added/removed by the DataMenu widget and vice versa, LocalStorage acts as the medium on the client side storing information about each layers’ in/out status.

Last, the MailingLabel widget allows the fast and easy generation of owner notify-type mailing labels from the selected tax parcels.  Since there is no reporting widget yet, a third-party library was used to create the pdf output.

Existing widgets are best, but customization is often not avoidable!

Speakers
YC

Yunsik Choi

GIS Programmer, Pierce County IT
Yunsik Choi has worked for the Pierce County IT Spatial Services since 2015. Prior to joining Pierce County he worked both in private and public sectors as a GIS Analyst/Programmer for six years.


Thursday May 18, 2017 1:30pm - 2:00pm
Room 315

Attendees (33)