Ehanced draw widget for WebApp Builder for Arcgis
UPDATE 2018/05/09 (new Release v2.8.1) :
(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) :
This message was updated by Jeremie Cornet (New Release)
Solved! Go to Solution.
In WAB builder, if you make a modification in the default config of a widget, WAB create a specific config file (in the "configs" folder of your app).
This is this file you have to modify.
You can see in the config.json file of the app to see the config file used for the widget.
Maybe i will add a textarea in the settings' UI of the eDraw widget to modify the config as json.
Cheers Jeremie, that would be very helpful.
Hi Jeremie,
My Apologies if I missed where this was mentioned. Great WIdget by the way.
Have you implemented or plan on showing measurements on the fly? E.g. A User is drawing a line but wants the line drawn to be 10 Miles in length ?
Thanks
This would be a fantastic enhacement. I just wanted to bump this particular suggestion!
Wouldn't export via GP require that the users be not simply Viewers?
Jeremie Cornet I found a bug...
I have what appears to be the latest version (and perhaps a beta?) I downloaded your version 1.3.3 you linked to in one of the posts, and tested the local Measurement. As I replied above, it's great, the measurement is accurate.
However, I found a reproducible bug:
First, create a new Text label. Place it.
Second, then go to create a Point. It will create another Text. In fact, you can't create a Point. The Text click handler takes over and kills Point permanently.
This happened in both Chrome and IE 11. Anyone else seeing this?
Jeremie, if this helps...I just tested for this in your current release also. I notice this bug and it is exactly the same, in the posted demo version: https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fapps.magis.nc%2Fmaps%2Fwab-widgets%2F...
Also, sometimes it seems like you have to click twice to get the feature (whether it be point, or Text) to place onto the map.
I love this widget so much. I will be glad to be of service if you'd like me to test it more.
Thanks Kevin MacLeod.
I found this bug too and it's corrected in the next release .
Also, sometimes it seems like you have to click twice to get the feature (whether it be point, or Text) to place onto the map.
It happens sometimes to me. I hav'nt found exactly why it happens (although i know it comes from symbol under mouse).
New release (see first post).
Awesome widget, Jeremy!
I really like the new features and bug fixes but I have to say I was experiencing some errors when testing the new release together with my other widgets in Firefox because of the
for (var i in someList) { ... }
array loop constructs.
Changing them to
for (var i = 0; i < someList.length; i++) { ... }
solved the problems.
(EDIT: This was also true for the previous release)