POST
|
I just got this bug logged, and I'd love to see Esri fix it: BUG-000171971 "Setting the label property on the search widget simply does not change/update the default aria-label." If you'd like details, just read the comments in this codepen: https://codepen.io/Mike-Dolbow/pen/eYqvRZd and then see the workaround in another pen: https://codepen.io/Mike-Dolbow/pen/MWNpvQX Not only is this a "documentation is incorrect" issue, but it's a pretty serious accessibility issue. Since the widget can be customized to search a variety of sources, the simple default aria-label of "Search" is woefully inadequate, even for the default sources. The ability to customize it is pretty critical. Hoping I can get some upvotes on this to escalate it and get it fixed in a future version.
... View more
2 weeks ago
|
4
|
0
|
460
|
IDEA
|
I just created this idea over in the Pro section if folks want to upvote it over there. A "newer" idea might get some traction...who knows?
... View more
12-15-2023
07:35 AM
|
0
|
0
|
409
|
IDEA
|
Under current capabilities (as of 2023-12-15), it is not possible to edit spatial tables in a PostgreSQL database with native PostGIS geometry unless you first undertake the "Create Enterprise Geodatabase" process. (And that process requires an expensive enterprise license.) This is true despite the fact that Esri expresses "support" for "using" native PostGIS geometry in this help section. It is true you can read such spatial tables (via query layer), and you can even load them in (via geoprocessing), but you cannot edit them. So that "support" is fairly limited when it comes to a core capability. True, there are many cases when an "Enterprise Geodatabase" is advantageous. But there are other cases where it is not required and introduces unnecessary overhead. For very basic spatial data management, true support for PostgreSQL and PostGIS geometry would include editing from Pro.
... View more
12-15-2023
07:34 AM
|
5
|
0
|
571
|
IDEA
|
Agreed. It seems things are improving - you can now use the native PostGIS geometry. But if you want to both read AND edit in Esri tools (like Pro), you need to do the "Create Enterprise Geodoatabase" routine, which requires an enterprise/server license. Anything less than that, and you can *read* from Pro (via query layer) - but you can't edit. I've found that you can use pro (or ArcPy) to *load* data in, table-by-table, which in some cases is useful. But obviously once you've got your main data loaded in, you just want to edit it there. And the current capabilities prohibit that.
... View more
12-15-2023
07:26 AM
|
0
|
0
|
413
|
POST
|
Thanks Rene! I thought of that on my run yesterday, forehead slap. Another way of saying this: my code is just creating a plain old object that happens to have a type of "point" and lat/long values, not an actual full-blown point geometry object that the geodesic buffer requires. I'll update the code pen to demonstrate this.
... View more
06-14-2023
05:42 AM
|
0
|
0
|
539
|
POST
|
I have a need to take a point geometry, such as what's taken from a search widget, and buffer it with the geometry engine. I can't seem to figure out how. I've set up a CodePen to demonstrate my issue - a simplified version of the Sample Code on geodesic buffer. Check out my code and the "Instructions" in the JS pane: https://codepen.io/Mike-Dolbow/pen/XWymPWx
... View more
06-13-2023
02:03 PM
|
0
|
3
|
584
|
POST
|
Just tested on a Windows 10 laptop with a touch screen, using Firefox, and can't reproduce the behavior. Touches on the graphics reveal a popup and can pan as normal. Thanks for the idea to test on an actual device, I'm a lot less worried about this now!
... View more
06-13-2023
12:47 PM
|
1
|
0
|
554
|
POST
|
I agree it's very strange! I've only tested it with the Firefox emulator. I just realized I have ONE physical device with a touch screen and a Firefox install, so I'm going to test it there. I'm glad to hear you couldn't reproduce, though! I'm thinking this is more a problem with the emulator than with the code.
... View more
06-13-2023
12:40 PM
|
0
|
1
|
554
|
POST
|
I've experienced some weird behavior in an app I'm upgrading and I've duplicated it in the following codepen (basically a modification of a very simple JSAPI sample): https://codepen.io/Mike-Dolbow/pen/abQvOvm "Instructions" are in the JS portion of the code pen. The problem boils down to this: 1) Adding a pointer-move event in order to change the cursor to a pointer when hovering over a graphic 2) Testing in Firefox, then using device emulation and touch simulation 3) now the popup on the graphic doesn't work, and oh boy does panning go bajonkers Anyone else encounter anything like this? Yes, of course I don't need cursor changes in a touch device, but I anticipate this app being used in many types of devices. Other browsers seem fine.
... View more
06-12-2023
12:01 PM
|
0
|
3
|
585
|
POST
|
Just curious if this is in 4.x now, or if I'm missing something. I do see several samples tagged with "TOC", including this one, but none that have the opacity slider. But I don't see anything about the legend in the layerlist properties or anything like that. Maybe I'm just not finding what I'm looking for?
... View more
03-29-2022
11:27 AM
|
1
|
0
|
1394
|
POST
|
Update for anyone struggling similarly to me, I got that method working: watchUtils.on(graphicsLayer, "graphics", "change", function (evt) { The reason it wasn't working was that I had graphics being added/created via app.MapView.graphics instead of the graphicsLayer. They are two separate containers! So the watch was working, but not detecting anything because I was adding graphics to the "wrong" place. Making sure each graphic creation took place within graphicsLayer did the trick. Of course, now I'm struggling to make sure I can detect creation of graphics from several methods. Search result graphics appear to be created in the app.MapView by default...I can override that, but then I need to customize each type. And it appears that featureLayer sources create additional graphics (probably in the app.MapView!) that I can't detect/clear!
... View more
05-28-2021
09:24 AM
|
0
|
0
|
3197
|
POST
|
Dang. I don't remember what happened when I tried it in my code, which is a spaghetti mess of course. But I just tried it in the SketchWidget sample (clicking to create graphics is more like my use case) and it worked fine. watchUtils.on(graphicsLayer,"graphics","change",function(){ console.log("Graphics Changed!"); }); At least this confirms for me that I was on the right track with that methodology...now I just have to debug why it failed with my code at the time. Thanks!
... View more
05-27-2021
12:16 PM
|
0
|
1
|
3212
|
POST
|
Anyone successfully set up a watch event (using watchUtils or some other kind of listener) on changes in the Graphics Layer? I got what I wanted working by watching the mapView for "updating" (code below) but that seems overkill because it fires with every map event, even ones that have nothing to do with graphics. I tried the following but it doesn't work: watchUtils.on(graphicsLayer,"graphics","change",function(){ ... }); ...and watchUtils.when(graphicsLayer.... only fired once, when the layer was added. Here's what worked, just curious if it can be optimized/improved: //Watch the app.MapView for the updating property to assess graphics situation. watchUtils.watch(app.mapView,"updating",function(){ //console.log("map updating."); if (this.graphics.items.length > 0) { ...code block to execute } });
... View more
05-27-2021
10:19 AM
|
0
|
3
|
3256
|
POST
|
I'm researching the same thing today. Haven't figured it out yet but hopefully will post here if I do. Trying to work off: JSAPI sample (more complicated than I need): Reference Arcade expressions in PopupTemplate | ArcGIS API for JavaScript 4.16 AGOL blog: https://community.esri.com/community/gis/web-gis/arcgisonline/blog/2017/07/18/conditional-field-display-with-arcade-in-pop-ups GeoNet question: https://community.esri.com/thread/233503-can-i-eliminate-empty-values-using-arcade-in-my-pop-up Some of the comments after the AGOL blog are leading in me in good directions but not quite there. Have you figured it out yet?
... View more
08-26-2020
11:39 AM
|
0
|
1
|
2576
|
Title | Kudos | Posted |
---|---|---|
4 | 2 weeks ago | |
1 | 03-29-2022 11:27 AM | |
5 | 12-15-2023 07:34 AM | |
1 | 06-13-2023 12:47 PM | |
1 | 03-09-2020 11:03 AM |
Online Status |
Offline
|
Date Last Visited |
2 weeks ago
|