POST
|
for your reference. https://legacy.reactjs.org/docs/strict-mode.html#detecting-unexpected-side-effects
... View more
04-01-2024
03:52 AM
|
0
|
1
|
531
|
POST
|
Probably you are doing something wrong. I cloned your sample and commented the strict mode. It is working without any issue. Have a look.
... View more
04-01-2024
03:49 AM
|
0
|
0
|
531
|
POST
|
@AndresKasekamp hey, the reason is you are running you app in strict mode. comment these lines and app should work fine. Also one more observation, every variable you are storing in state, which may cause issue as application will grow. Try state only where it is must. Else you can simply store values without state also. Thanks. if solution works please mark it as answer.
... View more
04-01-2024
02:29 AM
|
0
|
4
|
554
|
POST
|
Hi @fb1 the zoom which you are removing is the default widget which automatically gets created while creating view and that is why you have passed it in double quotes. And the zoom which you are adding is your new instance of zoom widget which is separate from the default one.. here no need to create a new instance. Just remove the already created zoom instance and add it back.. view.ui.remove("zoom"); view.ui.add("zoom", "top-left");
... View more
04-01-2024
01:53 AM
|
0
|
1
|
1221
|
POST
|
yes. I think for now it is good to remove zoom component from mapview and add it back. This works smoothly. Even I faced similar issue with webscene, if anyone else facing this issue. Than use loadAll function of webscene and on load event of webscene add it to sceneview. this.map = new WebScene({ portalItem: { id: sceneId, }, }); this.map.loadAll() .catch((error: any) => { console.log(error); }) .then(() => { this.mapView = new SceneView({ map: this.map, container: 'mapContainer' }); });
... View more
03-26-2024
05:14 AM
|
0
|
3
|
1325
|
POST
|
How can we use a Picture Marker symbol as a highlightoption. Is there a way to achieve it? Or we should do it by some random way?
... View more
07-30-2023
11:01 PM
|
0
|
0
|
755
|
POST
|
for someone who is looking for a solution in 4.x can use below function to recompile layerlist this.layerListWidget.viewModel._recompileList();
... View more
05-16-2023
05:05 AM
|
1
|
1
|
972
|
POST
|
2D distance measurement is only supported in MapView. You are using Sceneview. Also declare activeWidget variable. Your code throws error as there is no declaration of activeWidget on first time. so assign it like below before you are creating view. you can make use of below sample. https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=widgets-measurement-3d let activeWidget = null;
... View more
05-15-2023
02:22 AM
|
1
|
0
|
754
|
IDEA
|
@Sage_Wall : Partial checkbox I mean intermediate state of a checkbox. If a Layer contains multiple sublayer and any of the sublayers is selected visible false, then parent checkbox should show intermediate state like it used to do in webappbuilder TOC widget. FYR
... View more
05-15-2023
02:04 AM
|
0
|
0
|
804
|
IDEA
|
Please provide partial checkbox option in layerlist out of the box or give more control to customize it.
... View more
05-11-2023
06:27 AM
|
1
|
4
|
878
|
POST
|
I am getting same error in fieldmaps android version 22.0.1 Build 1050. Can anybody suggest is there any limitation of number of layers or the area? @MichaelBranscomb
... View more
02-22-2022
06:11 AM
|
0
|
0
|
1190
|
POST
|
Hi Andy, As I understood you want to display dropdown based on type and filter results accordingly in the search widget. You can achieve it by setting definition expression in the feature layer for each type and also add multiple sources for each type. sources.push({ featureLayer: new FeatureLayer("https://services.arcgis.com/V6ZHFr6zdgNZuVG0/arcgis/rest/services/US_Senators/FeatureServer/0",{ definitionExpression:"name in ('Akaka, Daniel K.','Alexander, Lamar')" }), searchFields: ["Name"], displayField: "Name", exactMatch: false, name: "Senator", outFields: ["*"], placeholder: "Senator name", maxResults: 6, maxSuggestions: 6, //Create an InfoTemplate infoTemplate: new InfoTemplate("Senator information", "Name: ${Name}</br>State: ${State}</br>Party Affiliation: ${Party}</br>Phone No: ${Phone_Number}<br><a href=${Web_Page} target=_blank ;'>Website</a>" ) Regards, #itsMeRhitz
... View more
10-22-2019
01:49 AM
|
0
|
0
|
919
|
POST
|
As I understood below solutions should work for you. 1. Set Infowindow content outside the click event. map.infoWindow.setContent(atInspcForBldg.domNode); 2. You can create separate Infowindows for both the layers rather using the defaut map infowindow. It should work in your case. Please test above mention solution and let me know if still you face any difficulty. Regards, Rhitz
... View more
08-20-2019
04:17 AM
|
0
|
1
|
565
|
Title | Kudos | Posted |
---|---|---|
1 | 05-16-2023 05:05 AM | |
1 | 05-15-2023 02:22 AM | |
1 | 05-11-2023 06:27 AM | |
1 | 04-17-2015 12:20 AM | |
1 | 02-19-2015 03:25 AM |
Online Status |
Offline
|
Date Last Visited |
a month ago
|