POST
|
The takeScreenshot method only includes map elements, not widgets or other DOM elements. https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#takeScreenshot Some people have reported using html2canvas to capture DOM elements, but I haven't tried it with the Maps SDK.
... View more
12-04-2023
07:01 AM
|
0
|
0
|
233
|
POST
|
I changed the geometry type from "polyline" to "polygon" and it fixed the issue. @ReneRubalcava
... View more
11-22-2023
06:55 PM
|
0
|
0
|
319
|
POST
|
Thank you Rene, There is one limitation that is a bit problematic, when excuting a query against a FeatureLayerView I get only the features that are rendered on the current extent of the map: "The results of the same query could be different when executed at different scales. This also means that geometries returned from any layerView query will likewise be at the same scale resolution of the view". I want to access the FeatureLayer data to present it(like a FeatureTable, but in a different ui), is it possible?
... View more
11-22-2023
06:30 AM
|
0
|
0
|
138
|
POST
|
We are working on ArcGIS JS API 4.28 and using MapImageLayer and join-table with standalone table and join is working perfectly. We are facing the issue in displaying the Label on this joined map image layer but label is not displaying. I am sharing the code - var queryString = "SELECT id,name from test"; const layer = new MapImageLayer({ url: "https://sample/MapServer", title: "United States Population", sublayers: [ { title: "Share of population with Norwegian Ancestry", id: 0, labelingInfo: [ { labelExpression: "[name]", labelPlacement: "always-horizontal", symbol: { type: "text", // autocasts as new TextSymbol() color: [255, 255, 255, 0.7], haloColor: [0, 0, 0, 0.7], haloSize: 1, font: { size: 11, }, }, }, ], opacity: 0.75, source: { type: "data-layer", dataSource: { type: "join-table", leftTableSource: { type: "map-layer", mapLayerId: 0, }, rightTableSource: { type: "data-layer", dataSource: { type: "query-table", workspaceId: "testworkspace", query: queryString, oidFields: "id", }, }, leftTableKey: "name", rightTableKey: "name", joinType: "left-outer-join", }, }, }, ], }); Now I want to know how to display the label on joined tables?? and also want to know which fields will be displayed(Map Layer or System Table).. what is the syntax.
... View more
11-16-2023
01:04 AM
|
0
|
0
|
148
|
POST
|
Hi everyone! This solution works perfectly, but how can I save info of that feature selected when the action triggers?
... View more
11-14-2023
07:16 AM
|
0
|
0
|
151
|
POST
|
Thanks for taking the time to look this over. It works just like you mentioned. Much appreciated!
... View more
11-11-2023
03:12 PM
|
0
|
0
|
1648
|
POST
|
Hey @DavidWilton @ReneRubalcava, warming up this topic one year after the fact.. I hope it's not too late for you. I've had the exact same issue in projects using @arcgis/core (ESM), no matter which other tools (webpack, vite, react, ...) were involved. The solution: Explicitely include the definition in tsconfig.json like: "include": ["./src/**/*", "./node_modules/@arcgis/core/**/*.d.ts"] With this entry I have auto import in all of my projects, while intellisense and type checking did work without it. ✌️
... View more
11-09-2023
02:10 AM
|
0
|
0
|
259
|
POST
|
This seems to no longer function for the popup? It seems "something" happened around version 4.25..? It is possible to make the popup light if you import light stylesheet, and dark if you import dark. But if you switch in runtime, nothing happens in the popup.
... View more
11-07-2023
11:53 PM
|
0
|
0
|
499
|
POST
|
Idea created. https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/create-a-data-browsing-widget-that-searches-arcgis/idi-p/1346376
... View more
11-06-2023
01:30 PM
|
0
|
0
|
228
|
POST
|
Hello Kelly, I just had the same problem and looked for the solution in the documentation. In the end, saw this post. Thank you very much for your important tip! It would be great if the two cases of geodesicBuffer (with and without array) were shown as examples in the documentation for the "geometryEngine" module.
... View more
11-05-2023
07:04 AM
|
0
|
0
|
211
|
POST
|
Thanks for the comment. I've read that GPRecordSetLayer or GPRecordSet, which is a FeatureSet without geometry as much as I understand it. But whether I put geometry or not, json format or not, the error persists (400 Unable to complete... ) My parameter Area_Of_Interest is wrong? I'm using a Query with the Sketch widget to get the FeatureSet. EDIT: Huge fan of your youtube page Rene, you're the reason I learned about esriLoader.
... View more
11-02-2023
01:04 PM
|
0
|
0
|
260
|
POST
|
Do the check on both values like !isNaN(obj.geometry.latitude) && !isNaN(obj.geometry.longitude)
... View more
10-17-2023
02:40 PM
|
0
|
0
|
871
|
POST
|
Using the methods setMaxAllowableOffset or setAutoGeneralize did the trick. The selected features update now on scale changes towards the end of the redraw. You can see them move from where they were before to where they should be. The performance hit was not significant.
... View more
10-11-2023
02:01 PM
|
1
|
0
|
485
|
Title | Kudos | Posted |
---|---|---|
1 | Friday | |
1 | a week ago | |
2 | 4 weeks ago | |
1 | 4 weeks ago | |
1 | a month ago |
Online Status |
Offline
|
Date Last Visited |
4 hours ago
|