|
POST
|
Thomas And you are sure that the browsers console has no errors?
... View more
07-15-2020
06:19 AM
|
0
|
2
|
3508
|
|
POST
|
featureTable.viewModel.watch("state", function (state) {
if (state === "ready") {
featureLayer.queryObjectIds().then(function (ids) {
featureTable.selectRows(ids);
});
}
});
... View more
07-15-2020
06:17 AM
|
3
|
2
|
2559
|
|
DOC
|
Gerarld, I don't have a lot of experience with this but here are my suggestions. Look at the [install dir]\client\stemapp\widgets\samplewidgets\UseJQuery widget for an example of how to use jQuery in a widget. Put the library in the widget or theme folder and add it to your widget or theme dependency array Do this for the tinysoap library
... View more
07-15-2020
05:52 AM
|
0
|
0
|
18508
|
|
POST
|
As I mentioned before you can only filter the view on a Single geometry. So you would have to get a single feature from the distro featurelayer and grab the one features geometry to use in the filter. mapView.whenLayerView(areaspriorizadas).then(function(featureLayerView) {
var polyFeat, query;
query = distrito.createQuery();
query.outSpatialReference = view.spatialReference;
query.returnGeometry = true;
distrito.queryFeatures(query).then(function(results){
polyFeat = results.features[0].geometry;
});
featureLayerView.filter = {
geometry: polyFeat,
patialRelationship: "contains"
};
});
... View more
07-15-2020
05:47 AM
|
1
|
2
|
3144
|
|
POST
|
The issue is that if geometry: distrito.event.geometry was a single polygon with the same spatial reference as areaspriorizadas then there would not be any issue. So are you sure that distrito.event.geometry is not null and is a single polygon geometry?
... View more
07-14-2020
02:03 PM
|
0
|
4
|
3144
|
|
DOC
|
Matt, Sorry I have not attempted that. That sort of customization is up to you.
... View more
07-14-2020
01:12 PM
|
0
|
0
|
23768
|
|
DOC
|
Lixin, That url worked fine for me when I added it.
... View more
07-14-2020
01:11 PM
|
0
|
0
|
20907
|
|
POST
|
I don't see in your code what distrito.event object is.
... View more
07-14-2020
01:08 PM
|
0
|
6
|
3144
|
|
POST
|
Kieran, Because your path has spaces in it (which is never a good practice) you have to surround your whole path in double quotes. C:\ArcGIS Web AppBuilder Dev Edition\Web AppBuilder 2_16\WebAppBuilderForArcGIS\server>node_x64 upgrade "C:\ArcGIS Web AppBuilder Dev Edition\WebAppBuilderForArcGIS"
... View more
07-14-2020
09:33 AM
|
3
|
1
|
1840
|
|
POST
|
Tom, So some screenshots will help. So in the attached image are you saying that you have selected/clicked on the Identify widget (so that it has the check in the upper left) and the OK button does nothing? Normally that would indicate an error adding the widgets settings page and errors would appear in the browsers web console.
... View more
07-14-2020
08:28 AM
|
0
|
4
|
3508
|
|
POST
|
Michael, You need to try and understand the differences and similarities between the API samples and WAB. Widgets. WAB has widgets and JS API has widgets. The JS API uses the view.ui to place widgets whereas WAB uses it's own internal method. WAB already has a LayerList widget developed so just ignore that portion of the same and use the WAB LayerList widget.
... View more
07-14-2020
08:16 AM
|
1
|
0
|
3667
|
|
POST
|
Arne, Lines 42-44. print: function() {
if (this.printSettingsFormDijit.isValid()) {
var form = this.printSettingsFormDijit.get('value');
lang.mixin(form, this.layoutMetadataDijit.get('value'));
lang.mixin(form, this.forceAttributesFormDijit.get('value'));
lang.mixin(form, this.labelsFormDijit.get('value'));
this.preserve = this.preserveFormDijit.get('value');
lang.mixin(form, this.preserve);
this.layoutForm = this.layoutFormDijit.get('value');
var mapQualityForm = this.mapQualityFormDijit.get('value');
var mapOnlyForm = this.mapOnlyFormDijit.get('value');
lang.mixin(mapOnlyForm, mapQualityForm);
var elementsObj = this.customTextElementsDijit.get('value');
var cteArray = [], hasDate = false, locale = dojoConfig.locale || 'en';
for (var p in elementsObj) {
var cte = {};
if (p === 'Date') {
hasDate = true;
}
cte[p] = elementsObj[p];
cteArray.push(cte);
}
if(!hasDate) {
cteArray.push({ Date: new Date().toLocaleString(locale) });
}
var templateInfo = this._currentTemplateInfo;
var hasAuthorText = lang.getObject('layoutOptions.hasAuthorText', false, templateInfo);
var hasCopyrightText = lang.getObject('layoutOptions.hasCopyrightText',
false, templateInfo);
var hasTitleText = lang.getObject('layoutOptions.hasTitleText', false, templateInfo);
var template = new PrintTemplate();
template.format = form.format;
template.layout = form.layout;
template.preserveScale = (form.preserveScale === 'true' || form.preserveScale === 'force');
if (form.preserveScale === 'force') {
template.outScale = this.preserve.forcedScale > 0 ? this.preserve.forcedScale : this.map.getScale();
}
if(form.layout === 'A3 Portrait'){
template.outScale = 12000;
}
...
... View more
07-14-2020
07:31 AM
|
0
|
1
|
3584
|
|
POST
|
This class is still in beta so, the available properties are not set in stone yet and the doc is not quite there yet.
... View more
07-14-2020
07:08 AM
|
0
|
0
|
2735
|
|
POST
|
Rajni, This is better code. See if this helps. var updatedGeometry = graphicsLayer.graphics.map(function(gra){
return webMercatorUtils.webMercatorToGeographic(gra.geometry);
});
... View more
07-14-2020
07:06 AM
|
1
|
1
|
5419
|
| 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
|