|
POST
|
Did anyone came across this error when developing a custom widget for ExB. I want to use the non-minified version but I don't know how to do it, I already executed this command in windows: set NODE_ENV=development It is frustrating since I cannot see the detailed error so I can resolve it. "Load module error. Error: Minified React error #321; visit https://reactjs.org/docs/error-decoder.html?invariant=321 for the full message or use the non-minified dev environment for full errors and additional helpful warnings."
... View more
01-10-2022
03:23 PM
|
1
|
2
|
4183
|
|
POST
|
No it doesn't have any arguments. In the Screening_pmtools.js there is a function that does a query on a REST service and it results to a Lat, Long. Then, a point graphic is defined and added to a feature layer. At last, the fL is added to the map and the emit is performed. The point is plotted on the map but the emit never worked. -------
var thePoint = new Point(thecoords, new SpatialReference({
wkid: 4326
}));
var pointWebMercator = webMercatorUtils.geographicToWebMercator(thePoint);
var thePMPTgraphic = new Graphic(pointWebMercator, symbolfoundstart);
this.PtLayerfromPM.add(thePMPTgraphic)
--------
this.map.addLayer(this.PtLayerfromPM);
this.emit("onDrawComplete", thePMPTgraphic);
... View more
11-24-2021
07:42 PM
|
0
|
1
|
724
|
|
POST
|
I did now and it is empty. I don't understand why it is empty since it is declared properly as shown in previous posting.
... View more
11-24-2021
02:13 PM
|
0
|
3
|
3841
|
|
POST
|
I declared my component './drawTool/Screening_pmtools',
-----
], function (
----
Screening_pmtools,
----- then I called it: this._drawPM = new Screening_pmtools()
this.own(on(this._drawPM, "onDrawComplete", lang.hitch(this, function (graphics) {
console.log(graphics)
this._initToCreateAOIBuffer(graphics);
})));
... View more
11-24-2021
01:31 PM
|
0
|
5
|
3848
|
|
POST
|
THanks Robert. The Evented module is present and is still not working.
... View more
11-24-2021
12:46 PM
|
0
|
0
|
3859
|
|
POST
|
I am trying to modify the Screening widget. In one of its subfolders, "drawtool" in the file drawtool,js it emits the completion of the draw by using: this.emit("onDrawComplete", [graphics]); to the widget.js this.own(on(this._drawTool, "onDrawComplete", lang.hitch(this, function (graphics) {
this._initToCreateAOIBuffer(graphics);
}))); I created my own file under the drawtool folder and I need to emit the same event from that file: this.emit("onDrawComplete", [thePMPTgraphic]); However, the emit is not working. The issue is not the thePMPTgraphic, since it was tested. Any ideas why the emit works in drawtools.js and not in the custom file? I have other functions in the custom file and are working properly.
... View more
11-24-2021
11:47 AM
|
0
|
11
|
4620
|
|
POST
|
Chrome. Not selecting the block in the frame. Refreshed several times. Thanks.
... View more
11-05-2021
08:24 AM
|
0
|
0
|
1018
|
|
POST
|
Did anyone had this experience? Drag the "widget controller" and then click on the plus icon you get a black block.
... View more
11-01-2021
02:39 PM
|
0
|
2
|
1097
|
|
POST
|
In Web App Builder I used to modify ESRI's widgets (out the box) to suit better our needs. Where are the ESRI widgets in ExB? Where do I find the List and Query widgets?
... View more
10-29-2021
08:57 AM
|
1
|
1
|
1249
|
|
BLOG
|
@RobertScheitlin__GISP what is the path you followed to get yourself familiar with typescript and ReactJS? Any tutorials you recommend? Thanks.
... View more
10-07-2021
01:26 PM
|
0
|
0
|
8159
|
|
DOC
|
This is an old file and I don't currently maintain it. You can see a newer version in an app posted at: https://svctenvims.dot.ca.gov/DEA_Library/ Create a map and then use the Save/Restore widget located in the toolbar.
... View more
10-07-2021
08:17 AM
|
0
|
0
|
1608
|
|
POST
|
THe widgets from JS API 4.x (Layerlist, Bookmarks...) are shown with no close button. Some of them are using the Expand widget to minimize them. If the widget is posted on a toolbar, there is no way to close them. I created a close button for a custom widget, but for a widget template from the API library how to insert a close button? CSS?
... View more
10-07-2021
08:06 AM
|
1
|
7
|
3389
|
|
POST
|
I added the banner above the WAB when I had a total control over its display (see link). It is not easy to change the WAB banner beyond of what ESRI template config, since it involves changing the css code in the ESRI core files. Link
... View more
09-07-2021
11:47 AM
|
0
|
0
|
1082
|
|
POST
|
No.if you want to create custom widgets use the developer's version of WAB and deploy it on your web server.
... View more
09-03-2021
07:28 AM
|
0
|
1
|
1911
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 1 | 3 weeks ago | |
| 1 | 06-19-2025 10:13 PM | |
| 3 | 02-06-2026 10:44 AM | |
| 1 | 01-08-2026 12:50 PM |
| Online Status |
Offline
|
| Date Last Visited |
3 weeks ago
|