Ehanced draw widget for WebApp Builder for Arcgis.
Fork and modifications of the official widget draw for WebApp Builder for Arcgis : http://doc.arcgis.com/en/web-appbuilder/create-apps/widget-draw.htm
- add name and description fields on drawings
- enable infowindow on drawings (selection)
- on text drawing, no insert if no name.
- on modification : enable geometry update (with snapping if wanted : CTRL) and preview symbology changes on the fly
- list
- add list of all drawings
- actions on each drawing : modify / delete / [up / down] / zoom
- all drawings : zoom, copy, delete, export
- on drawing infowindow -> select drawing in list
- on zoom on a drawing -> select drawing on map (and show infoWindow)
- re-order graphics with drag&drop
- import/export : allow users to export or import drawings (json format)
- import can be done with file drag&drop in import popup
- localStorage
- dynamic saving on each drawing add/delete/update
- on widget load : load drawings saved in local Storage
- draws plus (from Larry Stout https://geonet.esri.com/people/Larry_Stout)
- preview under mouse when adding text or point
- for text, add font choice, font angle, bold, italic, placement and underline options.
- checkbox to hide drawing's layer (and therefore widget UI)
- add of Nautical unit
- measure's refactoring with automatic update on element's update (or delete). Measure's can be indidualy disabled/enabled on any polygon/polyline graphic.
- defaults symbols can be specified in config's file
- export file name.
- Confirm on delete. A confirm dialog when user delete drawing(s) ?
- add up/down buttons in list ? (N.B. : re-ordering can be done with drag&drop)
- Enable local storage. enable auto-saving in local storage and loading saved drawings on widget load.
- Local storage key : let empty or set a name :
- if empty, all apps with eDraw widgets share the same local storage (apps on the same server)
- if not empty, all apps with the same key share the same local storage (apps on the same server)
- Local storage key : let empty or set a name :
- Choose availables font families in text plus
- (without UI) set default symbols
- use geometryEngine for measure ?
- specify geometryServer for measure (not used if geometryEngine is activated)
- enable measure by default ? (is measure checkbox checked on polygon/polyline add ?)
- measure's labels patterns
Add eDraw folder in your webApp Builder client\stemapp\widgets folder. Download Release here : https://github.com/magis-nc/esri-webappbuilder-widget-eDraw/releases/tag/v1.1.3
http://apps.magis.nc/maps/wab-widgets/?extent=17918900%2C-2706198%2C19092972%2C-2154016%2C102100