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.
Hi Bob Wheeler, could you add an example (json exported by the widget) ?
My first tests seems correct but i'm not familiar with the non-metric system
Hello Jeremie - I never saw your reply until today - attached is a json file of my drawing.
Update: downloaded the latest proj4.js librabry and pushed into \\stemaps\libs and was testing - appeared to be working great. Cleared cache (Chrome) to test again and back to acres being calculated incorrectly. The only thing I've been able to note is that when the tool does NOT autocalc as I am drawing then it produces the correct area. I know the new widget is supposed to autocalc, but I've experienced this several times in troubleshooting. If the tool doesn't autocalc the measurements, but only renders at the end of drawing - then the acres populate correctly.
When I use your demo site ArcGIS Web Application - the acres are reported incorrectly for me as well.
Hello Jeremie,
Wondering if I'm the only one still having issues with the measurements being off similar to issues back in 2015 based on the threads. All of our stuff is using the Web Mercator projection. Any suggestions greatly appreciated.
Bob
Hi
Firstly, thanks for the fab widget!
Is there a way to get the widget to show the measurements of each segment rather like the enhance measure widget (https://community.esri.com/docs/DOC-3209-measure-widget-21-for-web-app-builder )? That way we wouldn't need to have separate measure and draw widgets in our apps.
Many thnaks
Thank you for the great work!
My question is about how to send the drawings to another widget: e.g., I would like to send the drawings from this eDraw widget to the layer list widget as operational layer(s). I use the following post information, but can not figure out.
Adding Custom Graphic As Operational Layer
Is there any suggestion to do this? Thanks a lot!
L.M
Hi,
thank you for this wonderful widget!
I have noticed that, when I try to export a map using the Print Widget, in the resulting PDF the lines are missing the arrow marker. Is it a bug of the Print Widget?
Thanks,
Marco
Have been running version 2.1.2 on Portal for ArcGIS 10.6. Several users have asked about the live measuring so was excited to see it support that now, thank you! Problem is Portal 10.6 runs on WAB 2.6 with JSAPI 3.22. Went ahead and tried it anyway but see it is missing projection.js. Can I just copy that file over to the Portal server? Or will it need much more than that?
Thanks!
Anyone have any luck running the latest 2.8.1 on Portal 10.6?
I first tried copying "projection.js" and its dependencies "pe.js", "GeographicTransformation.js" and "GeographicTransformationStep.js" to the local widget folder. Changed all the define references to that local folder. But that errored in widget.js at the line "projection.load()" saying load was not a function and the debugger just said the projection object was a value of "3", odd. So then reset the references and copied the files to the Portal server. This got a step farther as the projection object seemed meaningful, but somewhat similar it gave an error that "g.load" is not a function. That was in "projection.js" this time.
Any thoughts? Is trying to mash up JSAPI 3.22 with a few 3.24 bits a bad idea?
Hi Jeremie,
Thanks for the fantastic widget! One thing I noticed from your demo site was that the 'live measuring' isn't working for the extent and polygon tools.
Also, I have an enhancement request. I think it would be useful to add the 'live measuring' during edit mode.
I downloaded the latest version I am having trouble with this tool overestimating measurements. Is there a fix? I saw a discussion about it in the past but it wasn't clear to me how to fix it. Changing the geometry engine?