eDraw widget

93279
251
Jump to solution
02-24-2015 01:17 AM
JeremieCornet1
Frequent Contributor

Ehanced draw widget for WebApp Builder for Arcgis

UPDATE 2018/05/09 (new Release v2.8.1) :

  • refactoring
  • use esri/geometry/projection (available since esri js api 3.24) instead of proj4js (external libs)
  • systematic use of geometry engine (no more mercator utils, geometry server...)
  • for polyline, the user can now add an arrow (available since esri js api 3.23)
  • live measure while drawing
  • WARNING : this release needs Esri API >= 3.24

Release 2.8.1 on Github 

(Direct zip link : https://github.com/magis-nc/esri-webappbuilder-widget-eDraw/releases/download/v2.8.1/eDraw.zip )

Demo : https://apps.magis.nc/demo/eDraw/ 

Github  :

https://github.com/magis-nc/esri-webappbuilder-widget-eDraw

Wigdet's Features (improvments of standard Draw widget) :

  • 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 (initially 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.
    • add arrow menu for polyline
  • checkbox to hide drawing's layer (and therefore widget UI)
  • add of Nautical unit
  • measure's for points/polylines/polygons with automatic update on element's update (or delete). Measure's can be indidualy disabled/enabled on any graphic.
  • "On the fly" measure when drawing
  • defaults symbols can be specified in config's file
  • use of builtin projection engine (available since esri js api 3.24) instead of proj4js library

This message was updated by Jeremie Cornet (New Release)

Jérémie - MAGIS NC
GIS enthousiast, python & javascript lover
251 Replies
ModyBuchbinder
Esri Regular Contributor

Hi all

The widget is great. Is there any option to search an element by name or description?

It can be a nice enhancement.

Thanks

Mody

0 Kudos
GeoNZ
by
Frequent Contributor

This is a great tool- many thanks for giving your time to develop it.

What would be really handy for us is to enable 'show measurements' on point features and have the coordinates shown/associated with that point. The coordinate format would be set in the config (WKID and Transformation WKID). This would enable the tool to generate a list of coordinates and would make a really awesome addition.

Cheers

HumzaAkhtar
Deactivated User

Hi,

great widget.. really well done. !

Has anyone tested the widget on touch screens eg phones and tablets ? I am having difficult time drawing stuff on iPad using this widget, as touching the drawing tools (point polyline etc) is a little unresponsive sometimes.

0 Kudos
BenCamp
Deactivated User

I just found this and have to say that it's an unbelievably great project. So much potential. Thank you for developing it.

0 Kudos
PiyaSansee
Emerging Contributor

Is it possible to export to kml or kmz instead of json?

0 Kudos
JeremieCornet1
Frequent Contributor

Hi Piya,

This is not possible.

With a geoprocessing service that get the json export and return the wished format, this could be possible with few modifications of the widget.

Jérémie - MAGIS NC
GIS enthousiast, python & javascript lover
PiyaSansee
Emerging Contributor

Thanks Jeremie.

0 Kudos
LauraGuthschmidt
Occasional Contributor

Hey Piya,

I know this is an old comment, but have you succeeded to modify the widget to export as Kml? I am interested in the same modification, but not sure how to modify the eDraw widget I am new to web appbuilder.

Thanks!

0 Kudos
WilliamHayden3
Deactivated User

Haven't read the whole thread, but

  1. amazing job!
  2. confirmed it works with Web AppBuilder Developer 2.1
0 Kudos
SebastienPelletier
Frequent Contributor

Hello,

First I want to congratulate you for this widget I like it .

Unfortunately I found a bug I can not fix. Even with your demo the bug is present.

With IE 11 when I placing a point or text it takes 2 or 3 clicks to make it work . With Chrome everything works.

Thanx

0 Kudos