|
POST
|
Nils, The Measure widgets activeWidget property gives you the AreaMeasurement2D or LinearMeasurement2D depending on which option was chosen by the user.
... View more
09-29-2020
05:56 AM
|
0
|
3
|
3886
|
|
POST
|
Steffi, In your activateTool function you just need to handle the buffer button. function activateTool() {
var tool = this.label.toUpperCase().replace(/ /g, "_");
if(tool === 'Buffer'){
//goto your buffer function
}else{
toolbar.activate(Draw[tool]);
}
map.hideZoomSlider();
}
... View more
09-29-2020
05:47 AM
|
0
|
2
|
2241
|
|
POST
|
Michel, I set several layer properties in my widgets. layer._titleForLegend = layer.title = layer.name = 'blah';
... View more
09-29-2020
05:31 AM
|
0
|
3
|
3264
|
|
DOC
|
I just tested and From defaults worked fine for me. Setting a search layer symbology is covered here in the online help documentation. https://gis.calhouncounty.org/WAB/V2.13/widgets/eSearch/widgets/eSearch/help/eSearch_Help.htm#ESRI_STEP_9 After choosing from layer be sure to click the Add\Edit Layer Specific Symoblogy Link
... View more
09-28-2020
07:24 AM
|
0
|
0
|
23607
|
|
DOC
|
James, So there are three options for symbology in the eSearch widgets settings. From Server From Defaults From Layer Which have you configured? BTW, there should be no need to manually edit the widget config as I have settings dialogs for everything.
... View more
09-28-2020
06:47 AM
|
0
|
0
|
23607
|
|
POST
|
The draw widget does not give you the ability to add attributes to the drawn graphic, but you could then draw a text element next to your graphic.
... View more
09-25-2020
06:00 AM
|
0
|
0
|
1320
|
|
POST
|
Shawn, Use a function to set the content and it avoids the sanitization of the popup content. var propertiesTemplate = { // autocasts as new PopupTemplate()
title: "<h5><strong>{bname}</strong></h5>",
content: contentFunc
};
function contentFunc(feature){
var div = document.createElement("div");
div.innerHTML = "123 Main St.<br/><br/>" +
"<strong>" + feature.graphic.attributes.category + ":</strong> 0.345<br/><br/>" +
'<a target="_blank" href="mydetailpage.html?id=12345">View Details Page</a>'
return div;
}
... View more
09-25-2020
05:56 AM
|
2
|
1
|
2092
|
|
POST
|
Shawn, If you switch your code to use JS API Next url then your code works fine. <script src="https://js.arcgis.com/next/"> So there has been a bug for a couple of version with this.
... View more
09-24-2020
01:47 PM
|
2
|
3
|
2092
|
|
POST
|
Feride, That remaining basemap is the one that your apps web map is using that is why it is showing after you remove all the others. and the reason why you have four in your first image is that though both have a label called "OpenStreetMap" they are not identical.
... View more
09-24-2020
10:25 AM
|
0
|
1
|
1327
|
|
DOC
|
In the onOpen add this line: this.measureTool.setTool("distance",true);
... View more
09-24-2020
07:45 AM
|
1
|
0
|
21322
|
|
POST
|
The QueryTask is limited to the max amount of records that the service is configured to return (i.e. 1000 records by default). So if your service has more than 1000 or what ever the max records for your service is then your auto complete will not have all the records in it. In that case you will have to write code to handle the paging/multiple querytasks to get all your records.
... View more
09-23-2020
04:02 PM
|
2
|
0
|
2686
|
|
POST
|
Michael, You should get out of the habit of addressing your questions directly to me. There are others in the community that can and will answer question I just happen to be the most active. Also you should not have a question with multiple questions each time you post. When people look at your question and see that they have to invest time answering several questions they are less likely to provide any response. How could I run the WAB app on the esri example data? You can see in that sample they (esri) has publicly shared scene with several 3D editable layers. You need the same (not exactly several editable layers but a scene with at least one editable layer). It is a feature service (an editable service). All feature services in AGOL are feature services vs a map service that can be published to an ArcGIS Server. But all feature services do not have editing turned on/allowed. A editable feature services and have the actions of update and/or add features enabled. This is how editing is accomplished and posted back to the feature service.
... View more
09-23-2020
03:56 PM
|
2
|
0
|
2609
|
|
POST
|
Arne, That way is just fine. There is ways to work with Portal items in 3.x as well though. Portal | API Reference | ArcGIS API for JavaScript 3.33 The Portal class allows for querying items to find that portal item id.
... View more
09-23-2020
01:12 PM
|
0
|
0
|
1978
|
|
POST
|
Mark, You can do the filter in the Web Map that your WAB uses in AGOL/Portal then it will be filtered before it even reaches WAB.
... View more
09-22-2020
07:07 PM
|
0
|
1
|
3539
|
| 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
|