DOC
|
Jackie, This should not prevent you from using the widget in your app. The widget is very event driven and Chrome has changed how it uses these events. I do see the artifacts that the triangle and circle you are seeing. This is not occurring in Firefox or Safari. Other than being unnecessary, they won't bother your measurements. I am not sure how useful the triangle measurement is anyway. I can look at this when I return to the office next week. Regards, Tom
... View more
07-14-2020
04:38 PM
|
0
|
0
|
7056
|
DOC
|
Jackie, Are you using the current measurement widget with WAB 2.4? They would not be compatible. WAB uses different versions of the JSAPI and some of these are breaking changes. You will need to use a more current version of WAB. Regards, Tom
... View more
07-13-2020
04:33 PM
|
0
|
0
|
7056
|
DOC
|
Greetings Lixin, Thanks very much! Glad you like it. You can override the default values by adding the following lines and modifying them for your colors below line 134 in the measure Widget.js. It will look like this: // set default line color and width
this.lineSymChooser.lineColor.color = new Color([255,0,0]);
this.lineSymChooser.lineWidth.textbox.value = "10";
// set default polygon color
this.fillSymChooser.fillColor.color = new Color([255,0,0,.5]);
this.fillSymChooser.fillOutlineColor.color = new Color([255,0,0,1]);
this.fillSymChooser.fillOutlineWidth.textbox.value = "10"; I hope this helps! Regards, Tom
... View more
06-18-2020
02:38 PM
|
1
|
0
|
7056
|
DOC
|
Monika, Excellent! So glad that did the job. Have a great day! Best Regards, Tom
... View more
05-01-2020
10:06 AM
|
0
|
0
|
7056
|
DOC
|
Monika, Both of those versions use an older version of WAB and in turn the JSAPI. There were breaking changes in the measure widget at 2.15 and they would not be backward compatible. I have posted an earlier version of the measure widget for you to download on our GIS server if you would like to try it. You can download it at: https://gis.yakimawa.gov/temp/Measure.zip I think this will fix the issues you are having. Best Regards, Tom
... View more
04-30-2020
08:36 AM
|
1
|
0
|
7056
|
DOC
|
Monika, Thanks very much for sharing the web map. Switzerland's maps are so detailed and beautiful! I was able to use it in a development project and do a sample measurement in your projection and things are working as expected. Here is a screenshot with measures in kilometers and bearings: What version of web application builder are you using with the measure widget? If it is an older version, that may be the issue. Best Regards, Tom
... View more
04-28-2020
09:03 AM
|
0
|
0
|
7056
|
DOC
|
Monika, I have not tested this projection, but it should still work (but obviously is not). Is this a public map? Do you have a published web map that I could use to test with? Thank you! Tom
... View more
04-27-2020
09:57 AM
|
0
|
0
|
7056
|
DOC
|
Monika, It should work right with no issues. There is a Chrome bug for editing drawn measure lines, but that is a different issue. Are you using a projection other than web mercator? Best Regards, Tom
... View more
04-27-2020
08:07 AM
|
0
|
0
|
7056
|
DOC
|
Chris, I have not published the widget in this context. Do you have more specific information about how you have published it? Regards, Tom
... View more
04-09-2020
09:01 AM
|
0
|
0
|
7056
|
DOC
|
Greetings Measure Widget users, ESRI support was able to replicate my issue and have registered a bug: BUG-000128788 This issue happens on Chrome and Chromium Edge browsers when creating editable vertices on polylines and polygons. The last vertex will have additional vertex points and appear as a ghost vertex. This makes editing the vertex confusing. I will post when I have an update on a fix. It may be a browser fix or an ESRI fix... Regards, Tom
... View more
02-24-2020
04:09 PM
|
1
|
0
|
7056
|
DOC
|
Dan, Yes, you can and some code in the postCreate function in widget.js // override default font color this.textSymChooser.textColor.color = Color.fromString("red"); Regards, Tom
... View more
02-24-2020
11:11 AM
|
0
|
0
|
7056
|
DOC
|
A follow up to my previous post pertaining to the last vertex actually being multiple stacked vertices with a ghost vertex on top. This appears to be a browser issue with Chrome. The editing of measures on Edge (not Edge/Chromium) and FireFox work as expected. Still working with ESRI Support on a resolution.
... View more
02-12-2020
08:12 AM
|
1
|
0
|
7056
|
Title | Kudos | Posted |
---|---|---|
1 | 05-19-2023 08:13 AM | |
1 | 02-22-2023 09:12 AM | |
1 | 02-10-2015 11:19 AM | |
1 | 01-06-2017 08:44 AM | |
1 | 02-10-2015 11:52 AM |
Online Status |
Offline
|
Date Last Visited |
02-26-2024
04:50 PM
|