|
POST
|
Shell hasn't been depreciated, i'll see whats going on there as well. Thanks
... View more
06-23-2021
09:54 AM
|
1
|
0
|
1560
|
|
POST
|
Hey @Anonymous User this sounds like a bug. I see that the max-width is based on the screen (max-width: 20vw). I'll report to the team. Thanks
... View more
06-23-2021
09:48 AM
|
0
|
3
|
1565
|
|
POST
|
Hey Jay, I think that is because either the layer you're using needs the `outFields` set on it to define what fields are needed or you can also set the `outFields` on the popupTemplate. https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#outFields
... View more
08-11-2020
01:50 PM
|
0
|
1
|
8115
|
|
POST
|
Hi Jay, it would be something like this: const popupTemplate = new PopupTemplate({
content: (event) => {
const { graphic } = event;
const container = document.createElement("div");
if (graphic.attributes.FaultZone) {
const faultZone = document.createElement("strong");
faultZone.textContent = "Fault Zone:";
container.appendChild(faultZone);
const faultZoneSum = graphic.attributes.Summary;
const faultTip = document.createElement("span");
faultTip.textContent = faultZoneSum;
container.appendChild(faultTip);
faultTip.onclick = () => {
showHideCalcitePanels("#panelLegend", "#collapseLegend");
query("#customMessage").html(faultZoneSum);
};
}
return container;
}
});
... View more
08-10-2020
03:53 PM
|
0
|
3
|
8115
|
|
POST
|
Hi Kevin! I'm glad you found the presentations helpful Here's the demo code for the extended scalebar widget. You can find all the code you need there. dev-summit-2020-customizing-widgets/demos at master · jcfranco/dev-summit-2020-customizing-widgets · GitHub Let me know if that's what you were looking for. -Matt
... View more
07-29-2020
02:13 PM
|
2
|
1
|
1318
|
|
POST
|
Hello, In 4.14, we are using a HTML sanitizer (https://github.com/Esri/arcgis-html-sanitizer) which removes some HTML for security purposes. We may be able to do something for this in 4.15. As an alternative workaround to a HTML string, you can do the following to modify a dom node directly. var template = {
content: function(){
var div = document.createElement("div");
div.className = "myClass";
div.innerHTML = "<span>My custom content!</span>";
return div;
}
};
... View more
01-03-2020
09:39 AM
|
0
|
7
|
8115
|
|
POST
|
Hello, In 4.14, we are using a HTML sanitizer (https://github.com/Esri/arcgis-html-sanitizer) which removes some HTML for security purposes. We may be able to do something for this in 4.15. As an alternative workaround to a HTML string, you can do the following to modify a dom node directly. var template = {
content: function(){
var div = document.createElement("div");
div.className = "myClass";
div.innerHTML = "<span>My custom content!</span>";
return div;
}
};
... View more
01-03-2020
09:38 AM
|
3
|
2
|
4497
|
|
POST
|
Richard Rhone how are you filtering the layers for each LayerList? - Are you filtering them using layer.listMode? - Are you using `listItemCreatedFunction` to filter them? - Some other way?
... View more
10-09-2019
09:10 AM
|
0
|
1
|
2687
|
|
POST
|
Thanks Richard Rhone. Can you try using `4.13` which is not yet released but the URL is available. I'm wondering if its still an issue. If it is, i'll create an example using a bunch of layers and multiple LayerLists to test with.
... View more
10-08-2019
05:49 PM
|
0
|
1
|
2687
|
|
POST
|
Hi Richard, What version of the API are you seeing this? I'd like to see if I can trace what is causing the slowness. If you have 50 layers with 5 LayerList widgets you shouldn't be seeing a slowdown like that. -Matt
... View more
10-07-2019
03:24 PM
|
0
|
3
|
2687
|
|
POST
|
This should work to fix it as well... var widget = new Search({
view: view
});
widget._set("allSources", widget.allSources.clone());
... View more
03-13-2019
02:34 PM
|
1
|
0
|
1505
|
|
POST
|
Have you tried to use CSS to replace the icon content? An Anonymous Pen on CodePen This should work... .esri-icon-non-visible::before { content: "\e610"; } .esri-icon-visible::before { content: "\e611"; } from the icon font here: Esri Icon Font (Calcite theme) | ArcGIS API for JavaScript 4.10
... View more
03-08-2019
10:16 AM
|
5
|
5
|
5553
|
|
POST
|
Hey Ranga Satish Kumar Tolapi You could have another class that takes in these widgets and handles communication between them. There isn't a defined or suggested way to do this within the API. The custom widgets should just have events or properties that the other widget can listen to in order to update itself.
... View more
02-11-2019
09:18 AM
|
2
|
1
|
1162
|
|
POST
|
Hey Andrew, I don't have any ideas. Have you tried this example in the console and seen what it does? Geolocation.watchPosition() - Web APIs | MDN
... View more
02-07-2019
02:07 PM
|
0
|
1
|
3414
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-14-2024 01:33 PM | |
| 1 | 12-01-2023 11:14 AM | |
| 1 | 06-23-2021 09:54 AM | |
| 1 | 04-12-2018 11:10 AM | |
| 1 | 04-09-2015 03:08 PM |
| Online Status |
Offline
|
| Date Last Visited |
08-21-2025
02:27 PM
|