|
POST
|
I only know how to do it for esri icons. In your css. .esri-icon-plus::before{
color: red;
content: "\e67a";
}
... View more
08-16-2024
11:52 AM
|
0
|
3
|
946
|
|
POST
|
The question was how to do it without definitionExpression. So marking your solution as the correct one, by using definitionExpression, is a bit miss leading for those searching for the same thing in the future.
... View more
08-16-2024
09:30 AM
|
0
|
1
|
314
|
|
POST
|
You don't need to create a new FeatureLayer each time, just query off the one every time. In fact you don't need to add the FeatureLayer to the map at all. You might need to loop through the response.features, but not sure that is necessary.
... View more
08-15-2024
12:25 PM
|
0
|
1
|
1526
|
|
POST
|
Do what you want with it in the code. It's the same data so it could go something like below. function handleQueryResults() {
let queryBP = bldPermLayer.createQuery();
queryBP.where = "query"
queryBP.outFields = ["*"];
// do the query
bldPermLayer
.queryFeatures(queryBP)
.then((response) => {
featureTable.selectRows(response.features);
featureTable.filterBySelection();
});
}
... View more
08-15-2024
09:31 AM
|
0
|
3
|
1532
|
|
POST
|
What do you mean? Are trying to edit a FeatureTable through a query?
... View more
08-15-2024
07:00 AM
|
0
|
5
|
1551
|
|
POST
|
You can bring it in as a FeatureLayer and query it the same as you would as a feature layer. const bldPermLayer = new FeatureLayer({
url: "https://.../server/rest/services/...",
outFields:["*"]
});
const featureTable = new FeatureTable({
view: theView,
layer: bldPermLayer,
});
function handleQueryResults() {
let queryBP = bldPermLayer.createQuery();
queryBP.where = "query"
queryBP.outFields = ["*"];
// do the query
bldPermLayer
.queryFeatures(queryBP)
.then((response) => {
// code
});
}
... View more
08-15-2024
06:18 AM
|
0
|
7
|
1556
|
|
POST
|
Correct, it won't mess with how the layers are stacked on the map, just how they appear in the layerlist.
... View more
08-13-2024
03:44 PM
|
1
|
0
|
931
|
|
POST
|
If you bring them in as a MapImageLayer you can use the sublayers to modify the order they will show in the LayerList. They will be layered like a cake, for the example below the Lot Lines will be on the bottom and the Roads will be on the top. const baseLayers = new MapImageLayer({
url: "...server/rest/services/...",
sublayers:[
{ id: 24, title: "Lot Lines"},
{ id: 23, title:"Address Annotation", visible: false},
{ id: 22, title: "Bridges"},{ id: 21, title: "Watershed and Drainage Districts", visible: false},
{ id: 20, title: "Sewer Districts",visible: false},{ id: 19, title: "School Districts",visible: false},
{ id: 18, title: "Rural Water Districts",visible: false},{ id: 17, title: "Gas Districts",visible: false},
{ id: 16, title: "Fire Districts",visible: false},{ id: 15, title: "Electric Districs",visible: false},
{ id: 14, title: "Cemetery Districts",visible: false},{ id: 13, title: "Commissioner Districts",visible: false},
{ id: 12, title: "Voting Districts",visible: false},{ id: 11, title: "Zoning",visible: false},
{ id: 10, title: "FEMA Floodplain",visible: false},{ id: 9, title: "Tax Units",visible: false},
{ id: 8, title: "Sections",visible: false},{ id: 7, title: "Subdivisions",visible: false},
{ id: 6, title: "River/Streams"},{ id: 4, title: "Lakes"},{ id: 5, title: "County Boundary"},
{ id: 3, title: "Parcels"},{ id: 2, title: "City Limits"},
{ id: 1, title: "Railroads"},{ id: 0, title: "Roads"},
],
});
... View more
08-13-2024
01:18 PM
|
0
|
2
|
947
|
|
POST
|
ESRI uses vaadin grid for it's tables. So I would start your search there instead of the ESRI api.
... View more
07-16-2024
07:18 AM
|
0
|
0
|
428
|
|
POST
|
Try, resultGraphic.graphic.removeAll(); or resultGraphic.removeAll()
... View more
06-27-2024
12:06 PM
|
0
|
1
|
1948
|
|
POST
|
You just need to create an element that when an event happens, like value entered or a button clicked, it passes that value into the part where you have the 10 miles coded. Here is an example of something similar I have done. Example Link
... View more
06-17-2024
06:06 AM
|
1
|
0
|
1224
|
|
POST
|
It probably has something to do with your IT. Do they make sure to keep Windows up to date? What version of Windows are you currently on? Did you try it off network, like at home or a library?
... View more
06-12-2024
12:49 PM
|
0
|
0
|
549
|
|
POST
|
Not sure exactly why it's not working. However, I switched the MapImageLayer to TileLayer and it work. Perhaps the large MapImageLayer is not rendering fast enough during the print/export? A TileLayer will use a cache in order to render faster.
... View more
05-01-2024
07:26 AM
|
1
|
1
|
1205
|
|
POST
|
Either set the layers you don't want listMode to "hide" or if you have a service with a lot of layers, like a MapImageLayer use the sublayers.
... View more
04-24-2024
01:02 PM
|
0
|
0
|
1328
|
|
POST
|
This is using a portal item, I can get that to work. It's a feature service where the issue is. User error. Thanks for the help!
... View more
04-15-2024
10:28 AM
|
1
|
0
|
1068
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Tuesday | |
| 1 | a week ago | |
| 1 | 04-12-2021 09:58 AM | |
| 2 | 03-18-2025 10:32 AM | |
| 1 | 07-28-2020 11:56 AM |
| Online Status |
Offline
|
| Date Last Visited |
Tuesday
|