|
POST
|
Thanks for the help yesterday, I came up with a solution to my issue. Basically, I'm trying to select features on StreamLayers / FeatureLayers that are under the Lasso Selection tool. This is now working, and I'm getting the graphics I need, so if anyone else needs help doing this, try this method. I'm not sure if there is a better method, but this seems to work. On another point, that draw tool was only active because of another issue, I'm only using the Sketch component for the Lasso / Rectangular selections. this.sketchWidgetPointerDownEvent = this._view.on("pointer-down", (event) => { console.log('Got Pointer Down Event'); const sketch = document.querySelector('arcgis-sketch') as any; const activeTool = sketch?.activeTool; console.log('Active Tool: ', activeTool); if (activeTool !== 'polygon') return; this._view.hitTest(event).then((response) => { if (response.results.length) { this.lassoSet = true; } }) }); this.sketchWidgetPointerUpEvent = this._view.on("pointer-up", (event) => { console.log('Got Pointer Up Event'); this._view.hitTest(event).then((response: any) => { console.log('Response'); console.log(response); }) });
... View more
03-13-2026
07:57 AM
|
0
|
0
|
231
|
|
POST
|
Thanks! That solution is definitely working, so I must have something off on my production code. Very helpful to have a stable solution. 🙂
... View more
03-12-2026
01:46 PM
|
0
|
0
|
258
|
|
POST
|
Good Day What is the event thrown by the Lasso selection tool? <arcgis-sketch hide-settings-menu hide-snapping-controls hide-create-tools-circle hide-create-tools-multipoint hide-create-tools-point hide-create-tools-rectangle hide-create-tools-polyline hide-undo-redo-menu layout="horizontal" (arcgisCreate)="onSketchUpdate($event)" (arcgisPropertyChange)="onSketchUpdate($event)" (arcgisUpdate)="onSketchUpdate($event)" [layer]="sketchLayer" referenceElement="mapElement{{_mapId === 1 ? '1' : '2'}}" [view]="_view"> </arcgis-sketch> The property change event seems to throw something, but not the create or update event, so once I finish drawing how do I get the area I just made, so I can run the intersect check? Thanks
... View more
03-12-2026
12:24 PM
|
0
|
3
|
297
|
|
POST
|
Fixed it, I had @import "https://js.arcgis.com/4.20/@arcgis/core/assets/esri/themes/light/main.css"; In my map CSS, changed it to: @import "https://js.arcgis.com/4.30/@arcgis/core/assets/esri/themes/light/main.css"; And it's fine now, so if you run into this, please make that change if you want to keep your sanity.
... View more
03-12-2026
11:12 AM
|
0
|
0
|
170
|
|
POST
|
Good Day I just upgrade to ArcGIS Core 4.34.8 and now my mouse isn't tracking with the Lasso or Rectangular Selection Tool. When I select them and start to draw, the area is pinned into the top left of the map. I saw this behaviour first with the SketchWidget, so figured it was a deprecation issue, but I see the issue with the web component. Do you have any idea how to fix this? Thanks
... View more
03-11-2026
10:48 AM
|
0
|
1
|
231
|
|
POST
|
Good Morning Is there an updated timeline for this? Getting into ArcGIS JS (if not there), would be very helpful. Thanks
... View more
02-06-2026
07:57 AM
|
0
|
0
|
347
|
|
POST
|
Good Morning Please excuse the delay in response, I thought I responded last week. That is what I thought, the added complexity of doing this is not worth the headache, and it just creates more ways in which my filter can break. I was believing that the queries supported SQL92 syntax, which does not appear to be the case, and I can't remember where I read that. I think the best course of action is to have our backend introduce querying, and since I'm using the Stream Layer, they can just send me updated information. Cheers.
... View more
10-24-2025
07:14 AM
|
0
|
0
|
861
|
|
POST
|
Good Day I want to perform a feature effect query that is both case insensitivity and partial. If the name field has "HELLO" in it, I want to it match any variation of HELLO, hello, he, etc... The best I can get is doing: name LIKE '%HELLO%' Which will find all occurrences, and combinations of HELLO, (HE, HEL, etc...), but when I try to add case insensitivity it doesn't work. How do you make that case-insensitive? I have to do this using a feature effect query because the layer data I'm looking at, is from a StreamLayer, so I have to query the LayerView, I thought doing this might have worked (name LIKE UPPER('%hel%')) But I get an error about UPPER, so now I think the best way to tackle this issue is by asking the Stream for a feature update. Thanks
... View more
10-16-2025
09:03 AM
|
0
|
2
|
966
|
|
IDEA
|
@epckay - I'm in the same boat, I'm legally blind in both eyes and the white on glaring offensive white, with light gray text, is unreadable. ESRI, this is serious, this is a major accessibility violation. Please give us a firm timeline for when proper dark themes will be introduced, they must take the browsers setting for the default to use. Thanks
... View more
10-16-2025
08:18 AM
|
0
|
0
|
1104
|
|
POST
|
Please excuse the delay in response, I can't provide you with access to that data, I was checking if I could. The to the issue was to run the following, when the view is stationary: this.featureLayer.applyEdits({
addFeatures: <new features>,
deleteFeatures: <current features>,
}).then(function (editResult) {
console.log(editResult);
r(null)
}); Which removes all the current features on the map, and adds them again given the current extent, which causes them to render, resolving the issue. I guess due to the fully zoomed out extent, the graphics are stored in the Layer View in a rough form, which is why during the query on the Layer View, and then throwing them into the Feature Layer caused the problem I was experiencing.
... View more
05-12-2025
07:09 AM
|
0
|
0
|
1551
|
|
POST
|
Good Evening It seems to be a problem with the Feature Layer not redrawing the features, if I zoom in to that area above, and force it to query the layerView, the Feature Layer looks fine. I think when the initial query happens, the geometries are messed up, but get refreshed when zooming in. When those coloured features are added to the Feature Layer the map extent is rather zoomed out, is there a way to force the Feature Layer to redraw included Features?
... View more
05-08-2025
03:01 PM
|
0
|
0
|
1649
|
|
POST
|
There's no way to set up a simple Stream Layer example, it would involve setting up a backend, database, frontend, and hooking it altogether, If I give you a SQL file, GO Backend, Angular Frontend, would that work? Can you run each separate part? Thanks
... View more
05-08-2025
01:57 PM
|
0
|
0
|
1653
|
|
POST
|
Good Day I have a bunch of assets which are MutliLineStrings that are sent to a Stream Layer. I need to query them using the StreamLayerView and append some of them to a Feature Layer so I can dynamically work with them. The issue is when I clone the feature from the StreamLayerView, and add it to the Feature Layer, it doesn't show up correctly. The grey lines are from the StreamLayer, and they are correct. The red line is the one I cloned from the Layer View, and added to the Feature Layer. const query = {
outFields: ['*'],
where: '1=1',
returnGeometry: true
}
this._view.map.layers.forEach((layer: StreamLayer) => {
if (layer.type === 'stream') {
this._view.whenLayerView(layer).then((layerView: StreamLayerView) => {
layerView.queryFeatures(query).then((features) => {
const newFeatures = [];
features.features.forEach((feature) => {
newFeature.push(feature.clone())
})
})
}
})
this.featureLayer =
new FeatureLayer(
this.buildFeatureLayer(
newFeatures[0].geometry.type,
fields,
newFeatures
)
) The code above is just a sample, but what would cause the issue I'm experiencing? Is there a way to prevent it, the StreamLayer is showing the feature correctly, so I'm assuming it's a problem from the StreamLayerView query? Thanks
... View more
05-08-2025
09:59 AM
|
0
|
7
|
1699
|
|
POST
|
Thanks! When the socket response gets heavy, 250 MB+ we have a fair amount of load, which takes a while to load, We have taken steps to chunk the data, which helps, but compression would be very welcome 🙂 Thanks
... View more
04-25-2025
11:52 AM
|
0
|
0
|
691
|
|
POST
|
Thank you, that would be helpful, I know this is a stupid question, so thanks for entertaining it. I'm using a server Stream, so I can't modify the fields, which is what caused the problem, the people sending the data don't believe it's an issue. Hence why i posted this thread.
... View more
04-25-2025
07:33 AM
|
1
|
0
|
1288
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-25-2025 07:33 AM | |
| 1 | 03-18-2025 11:15 AM | |
| 1 | 10-07-2022 08:14 AM | |
| 1 | 08-25-2023 10:47 AM | |
| 1 | 02-23-2023 08:22 AM |
| Online Status |
Offline
|
| Date Last Visited |
03-13-2026
07:55 AM
|