|
POST
|
I need do SceneView.goTo() but I need that my target location be shown NOT in screen center, but in its 3/4 height, as if panned upwards. How do I do this by javascript? Help will be greatly appreciated. Michael
... View more
06-09-2021
04:55 AM
|
0
|
2
|
1769
|
|
POST
|
I'm developing custom widgets for WAB (Develper Edtion) 2.20, Launchpad Theme, on 3D Scenes (ArcGIS API for javascript 4.20). I need do SceneView.goTo() but I need that my target location be shown NOT in screen center, but in its 3/4 height, as if panned upwards. How do I do this by javascript? Help will be greatly appreciated. Michael
... View more
06-09-2021
04:52 AM
|
0
|
0
|
969
|
|
POST
|
Dear SachaBrunnerCH, Thank you for the important info. question: maybe you know how to help in my new post - esri example "Edit features in 3D with the Editor widget" - how to insert the Expand and Snap elements into a custom widget
... View more
06-08-2021
11:13 PM
|
0
|
0
|
3813
|
|
POST
|
I succeeded, by putting the Expand and th einfo label in the widget HTML, thus: <div> <span class="div-left" id="edit3dexpand" data-dojo-attach-point="edit3dexpand"></span> <span class="div-left" id="info">${nls.titleConfigureSnapping}</span> </div> and in the javascript: const configurationExpand = new Expand({ ... (other constructor lines remain the same) container: that.edit3dNode.querySelector("#edit3dexpand") }); and in the css: .jimu-widget-edit3d .div-left { float: left; } .jimu-widget-edit3d .div-right { float: right; }
... View more
06-08-2021
08:13 AM
|
0
|
0
|
1506
|
|
POST
|
I'm developing custom widgets for WAB (Develper Edtion) 2.20, Launchpad Theme, on 3D Scenes (ArcGIS API for javascript 4.20). I am still a newbie. My question: How to put, by code, the snapping elements (the info and the Expand that contains the configuration) from ESRI code example Edit features in 3D with the Editor widget into lower right corner of my widget? The elements are created by code, so they must be put there by code. To be more specific: All I need is to adapt next code (from ESRI example) to insert the 2 components into lower right in the widget: view.ui.add([{ component: configurationExpand, position: "bottom-right", index: 0 }, { component: "info", position: "bottom-right", index: 1 }]); // If the snapping configuration is toggled open, hide the info window configurationExpand.watch("expanded", (value) => { if (value) { document.getElementById("info").classList.add("esri-hidden"); } else { document.getElementById("info").classList.remove("esri-hidden"); } }); Help wil be greatly appreciated.
... View more
06-08-2021
05:33 AM
|
0
|
1
|
1621
|
|
POST
|
Dear SachaBrunnerCH, Indeed I found it by trying to set 4.17 in esri example. So I upgraded my WAB to 2.20 that uses API 4.19. (at first I wrote 4.20 by mistake) Thank you.
... View more
06-08-2021
05:05 AM
|
0
|
0
|
3822
|
|
POST
|
Dear SachaBrunnerCH, Indeed I found it by trying to set 4.17 in esri example. So I upgraded my WAB to 2.20 that uses API 4.20. Thank you.
... View more
06-08-2021
05:03 AM
|
0
|
0
|
1761
|
|
POST
|
In Web AppBuilder Custom Widgets group, I published this question - how to DEFINE layer correctly? 3D Editor widget does not show the ROTATION & RESIZE HANDLES. since we created a feature layer with 3D Ploygons, but the 3D Editor widget does not display the resize and rotation handles. Help will be greatly appreciated.
... View more
06-06-2021
05:59 AM
|
0
|
2
|
1890
|
|
POST
|
I'm developing custom widgets for WAB (Develper Edtion) 2.17, Launchpad Theme, on 3D Scenes (ArcGIS API for javascript 4.17). I am still a newby. I created custom widget based on ESRI code example Edit features in 3D with the Editor widget In our portal we created a feature layer containing 3D Polygon types. my Editor custor-widget succeeds to add our layer 3D polygons to the scene and to edit their location and height, But - we do not see the handles, neither for RESIZE, nor for ROTATION, so the "Edit 3D Widget" does not enable us, neither to resize, nor to rotate the elements we added into the scene from our feature layer. How can we define the feature layer correctly, so that its features could be rotated and resized by the 3D Editor Widget when adding them into the 3D scene or editing them afterwards? I attach the info for both my layer the layer from esri example. I do not know how to make my layer exactly as esri's example layer, and I do not know what parameters are important and what not. Help will be greatly appreciated.
... View more
06-06-2021
05:30 AM
|
0
|
4
|
4511
|
|
POST
|
Thank you, dear Robert, for answering. At last I solved it, by bypassing the problem - indeed 3d scene does not have an option to display symbol by SVG path, so, in order to display SimpleMarkerSymbol with SVG path (for its outline) within 3d scene, I "converted" it to a polygon, dynamically computing the polygon ring points coordinates (using the SVG path, and scene scale), and it works for me. I only have, as usual in 3d, to set the right "z" value, so it will be seen. And polygon can be displayed in a scene.
... View more
05-24-2021
01:08 AM
|
0
|
0
|
2164
|
|
POST
|
Dear rscheitlin , As no one has referred to my short focused question until now, can you help?
... View more
05-18-2021
11:27 AM
|
0
|
0
|
2246
|
|
POST
|
I'm developing custom widgets for WAB (Develper Edtion) 2.17, Launchpad Theme, on 3D Scenes, using ArcGIS API for javascript 4.17 I am still a newbie... I need to convert some code from API 3.* to API 4.* the code displays SimpleMarkerSymbol with SVG path (for its outline). My problem is that I am using 3d Scene, and ArcGIS Javascript API 4.* spec says that this property (path) works only in 2D. So, how can I bypass this limitation and display the API 4.* "equivalent" SimpleMarkerSymbol with SVG path? What is the equivalent in API 4.*, and how to convert, the API 3.* SimpleMarkerSymbol with SVG path, to something valid in API 4.* that will display the symbol with its shape as defined in the SVG Path?
... View more
05-18-2021
03:16 AM
|
0
|
3
|
2398
|
|
POST
|
In esri js api 3.* I have the code: if (this.map.infoWindow instanceof Popup) Now in jas api 4.* I have a 3d scene. How is the above code converted for js api 4 ?
... View more
05-09-2021
01:31 AM
|
0
|
0
|
995
|
|
POST
|
I created 2 files, david--normal.js and davidbd-bold.js each contains: define([ "https://unpkg.com/jspdf@latest/dist/jspdf.umd.min.js" ], function (jsPDF) { var theClass = { addFont: function (doc) { var font = '<here comes a very long string of the fone>'; var callAddFont = function () { doc.addFileToVFS('David-normal.ttf', font); doc.addFont('David-normal.ttf', 'David', 'normal'); }; jsPDF.jsPDF.API.events.push(['addFonts', callAddFont]); } // eof public property functions }; return theClass; });
... View more
04-04-2021
02:11 PM
|
1
|
2
|
19072
|
|
POST
|
I'm developing custom widgets for WAB (Develper Edtion) 2.17, Launchpad Theme, on 3D Scenes (ArcGIS API for javascript 4.17), on our compamy portal (version 10.7.1). I am still a newbie... My first item in the launchpad Teme icons group, is itself a group of 4 icons. I want to "hide" it. I succeeded to hide it in WidgetManager.js by let parent = document.querySelector(".iconList .iconGroup"); parent.removeChild(parent.firstElementChild); BUT - when I increase zoom till the launchpad icons "drawer" is not seen, and then I decrease zoom again in order to see again the drawer, than the icon is automatically seen again...
... View more
04-04-2021
05:19 AM
|
0
|
0
|
1693
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-13-2026 04:27 AM | |
| 1 | 12-15-2024 12:09 AM | |
| 1 | 08-01-2024 03:45 AM | |
| 1 | 01-04-2024 04:00 AM | |
| 1 | 03-28-2024 01:25 AM |
| Online Status |
Offline
|
| Date Last Visited |
02-13-2026
04:26 AM
|