POST
|
In earlier 2.x versions you could export your map series like 'folderlocation\.pdf' and it would export it with just the suffix name only. In 3.x you cannot anymore? It says something like 'folder location not available'. I upgraded to 3.x so I could export the map series as jpegs. The main reason I want the suffix name only is it makes it super simple to create a match table so I can create attachments with those jpegs. Then later use the points in a story maps map tour. Why the change?
... View more
a week ago
|
0
|
0
|
97
|
POST
|
If you are bringing it into you application as a MapImageLayer you would do this with the sublayers property.
... View more
09-24-2024
11:23 AM
|
0
|
0
|
128
|
POST
|
Why do you not create your own templates for the widget that are ADA compliant? Or create your own custom widget? Seems like that is unique to your state agency and you have the ability to create your own.
... View more
08-23-2024
11:09 AM
|
0
|
0
|
185
|
POST
|
I would call ESRI support. This seems to be a bug with the f-strings. Or perhaps in the original code create variables for both of the f-strings like the template creation is trying to do.
... View more
08-23-2024
08:14 AM
|
0
|
0
|
287
|
POST
|
For geojson you can query the feature you want to extract, get the graphics and use its properties to extract the geojson. let newGraphic = new GraphicsLayer();
newGraphic.listMode = "hide";
theMap.add(newGraphic);
newGraphic.addMany(results.features);
newGraphic.listMode = "hide";
var graphJSON = []
graphJSON.push(newGraphic.graphics.toJSON())
... View more
08-23-2024
07:48 AM
|
1
|
1
|
158
|
POST
|
Make sure to change includeDefaultSources to false. I also make sure my sources searchFields, outFields, and diplayField are all the same. const searchWidget = new Search({
view: theView,
searchAllEnabled: true,
maxResults: 10000000,
maxSuggestions: 10000000,
title: "Quick Parcel Search",
label: "Quick Parcel Search",
includeDefaultSources: false,
locationEnabled: false,
exactMatch: false,
sources: [
{
layer: parcelLayer,
searchFields: ["PartyName_1"],
name: "Search by Owner",
exactMatch: false,
outFields: ["PartyName_1"],
displayField: "PartyName_1",
},
{
layer: parcelLayer,
searchFields: ["PropertyAddress"],
name: "Search by Address",
exactMatch: false,
outFields: ["PropertyAddress"],
displayField: "PropertyAddress",
},
{
layer: parcelLayer,
searchFields: ["QuickRefID"],
name: "Search by Quick Reference ID",
exactMatch: false,
outFields: ["QuickRefID"],
displayField: "QuickRefID",
}
],
});
... View more
08-23-2024
07:21 AM
|
0
|
1
|
166
|
POST
|
Start trying to query the field and use the angle on the TextSymbol. Never done this before so I am not positive this is the answer. https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-TextSymbol.html#angle
... View more
08-23-2024
07:10 AM
|
1
|
0
|
230
|
POST
|
Here is a code pen sample. In ESRI fashion they change these things all the time and don't clearly document the change or error messages for things like this. This works in 4.28, but not higher. Perhaps call support and see what the change was? https://codepen.io/mbdriscoll/pen/gONzWdL
... View more
08-23-2024
06:41 AM
|
0
|
1
|
169
|
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
|
223
|
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
|
77
|
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
|
325
|
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
|
331
|
POST
|
What do you mean? Are trying to edit a FeatureTable through a query?
... View more
08-15-2024
07:00 AM
|
0
|
5
|
350
|
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
|
355
|
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
|
186
|
Title | Kudos | Posted |
---|---|---|
1 | 08-23-2024 07:48 AM | |
1 | 08-23-2024 07:10 AM | |
1 | 08-13-2024 03:44 PM | |
1 | 06-17-2024 06:06 AM | |
1 | 05-01-2024 07:26 AM |
Online Status |
Offline
|
Date Last Visited |
Wednesday
|