|
POST
|
Correct. The Union works with the actual geometry not the layer.
... View more
07-14-2020
06:00 AM
|
1
|
3
|
5420
|
|
POST
|
Are the points and the polygon in the same spatial reference?
... View more
07-14-2020
05:59 AM
|
0
|
0
|
3148
|
|
POST
|
Ranga, Use featureTable.columns this collection of FieldColumn gives you the name, alias, and hidden properties of columns.
... View more
07-14-2020
05:57 AM
|
0
|
3
|
2742
|
|
POST
|
Merge/Union: https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngine.html#union To un-merge you loop though the Polygons rings and copy those ring arrays to another Polygon class.
... View more
07-14-2020
05:39 AM
|
1
|
5
|
5420
|
|
POST
|
Arne, See this tread for those answers https://community.esri.com/thread/224729-customise-print-widget
... View more
07-13-2020
12:55 PM
|
0
|
0
|
3585
|
|
POST
|
Omar, Sure just dont add the widget to the view and then just call the locate method: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Locate.html#locate
... View more
07-13-2020
12:53 PM
|
2
|
1
|
3450
|
|
POST
|
One of the best ways I can think of is to add a GraphicsLayer to the view and watch to the popups selectedFeature property and clone that feature/graphic and add it to the GL.
... View more
07-13-2020
10:54 AM
|
2
|
0
|
1175
|
|
POST
|
Omar, The locate widget has locate event that returns the GeoLocationPostion object that contains position.coords.latitude and longitude. locateBtn.on('locate', function(pos){
console.info(pos.position.coords.latitude, pos.position.coords.longitude);
});
... View more
07-13-2020
10:48 AM
|
2
|
3
|
3450
|
|
POST
|
Cam, When I use the orderByFields: query.outFields = ["*"];
query.returnDistinctValues = false;
query.returnGeometry = true;
query.orderByFields = ["Shape__Area DESC"];
QT.execute(query).then(function (evt) {
evt.features.forEach(function (feature) {
var att = feature.attributes
var test = geometryEngine.convexHull(feature.geometry)
var genpoly = null
if (att.grid_value <= 4.0) {
var rad = att.Shape__Length / 75
genpoly = new Circle({
center: test.centroid,
radius: rad,
radiusUnit: "meters"
})
} else {
genpoly = test
}
var polygonGraphic = new Graphic({
geometry: genpoly,
attributes: att,
type: "polygon"
});
gras.push(polygonGraphic);
});
... And select/check "us7000abmk" today I have no problem selecting each rings popup.....
... View more
07-13-2020
05:49 AM
|
2
|
1
|
4160
|
|
POST
|
Jamie, there are many variables to this question. The answer depends on: What theme? Where is the filter widget placed? Is the widget still active or is another widget receiving the focus? What part of the widgets color do you want to change? The widgets header? The widget icon placeholder?..
... View more
07-13-2020
05:38 AM
|
1
|
0
|
1135
|
|
POST
|
Matt, A css rule would be the simplest way: .jimu-widget-draw .draw-item.point-icon,
.jimu-widget-draw .draw-item.line-icon,
.jimu-widget-draw .draw-item.polyline-icon,
.jimu-widget-draw .draw-item.freehand-polyline-icon,
.jimu-widget-draw .draw-item.arrow-icon,
.jimu-widget-draw .draw-item.triangle-icon,
.jimu-widget-draw .draw-item.extent-icon,
.jimu-widget-draw .draw-item.circle-icon,
.jimu-widget-draw .draw-item.ellipse-icon {
display: none!important;
} Add this to the bottom of the widgets style.css
... View more
07-13-2020
05:28 AM
|
1
|
1
|
1685
|
|
POST
|
Change the URL of ArcGIS API for JavaScript—ArcGIS Web AppBuilder (Developer Edition) | ArcGIS for Developers
... View more
07-12-2020
06:51 PM
|
1
|
0
|
3668
|
|
POST
|
Jared, If that is the case then you have to re-query the layer based on the selected category and re-populate the keyword select. catTypeSelect.addEventListener("change", function(){
var sqlExp = "";
if (catTypeSelect.selectedIndex > 0) {
sqlExp += "USER_Categ LIKE '%" + catTypeSelect.options[catTypeSelect.selectedIndex].value + "%'";
}
var query = recycleLayer.createQuery();
query.where = sqlExp;
recycleLayer.queryFeatures(query)
.then(getValues2)
.then(getUniqueValues2)
.then(addToSelect2)
});
function getValues2(response) {
var features = response.features;
var values = features.map(function (feature) {
return feature.attributes.USER_Keywo
});
return values;
}
function getUniqueValues2(values) {
var uniqueKeyValues = [];
values.forEach(function (item, i) {
var keyVal = item.split(";");
keyVal.map(function (val2) {
if (
(uniqueKeyValues.length < 1 || uniqueKeyValues.indexOf(val2) === -1) &&
val2 !== ""
) {
uniqueKeyValues.push(val2);
}
});
});
return uniqueKeyValues;
}
function addToSelect2(values) {
while (keyTypeSelect.options.length > 0) {
keyTypeSelect.remove(0);
}
var dOpt2 = document.createElement("option");
dOpt2.value = "";
dOpt2.disabled = true;
dOpt2.selected = true;
dOpt2.text = "Select one";
keyTypeSelect.add(dOpt2);
values.sort();
values.forEach(function (value) {
var option = document.createElement("option");
option.text = value;
keyTypeSelect.add(option);
});
return true
}
... View more
07-10-2020
01:56 PM
|
1
|
1
|
2835
|
|
POST
|
Why would you want them to be able to select it?... Just remove this line then: dOpt.disabled = true;
... View more
07-10-2020
11:55 AM
|
1
|
3
|
2835
|
|
POST
|
Create a ListView widget—ArcGIS Web AppBuilder (Developer Edition) | ArcGIS for Developers
... View more
07-10-2020
11:21 AM
|
1
|
1
|
1410
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-14-2020 11:36 AM | |
| 17 | 05-17-2021 01:51 PM | |
| 1 | 07-06-2020 05:32 AM | |
| 1 | 07-10-2018 05:49 AM | |
| 9 | 01-28-2022 10:58 AM |
| Online Status |
Offline
|
| Date Last Visited |
06-08-2026
06:27 AM
|