|
IDEA
|
That is correct. The Slice Widget only works in 3D SceneViews. But if your app is displaying 3D data, I'd assume you would want to work with a SceneView anyway. Edit: Are you working with Web AppBuilder for ArcGIS, or the ArcGIS API for JavaScript?
... View more
12-14-2018
12:37 PM
|
1
|
1
|
3768
|
|
POST
|
Hi Nathan, looks like we have this fixed for the upcoming 4.10 release, due out in mid-December. The "headers" will now be honored when the value type is "image". Hope this helps. -Noah
... View more
12-10-2018
07:51 AM
|
0
|
0
|
1635
|
|
POST
|
Ok. Another thing that I don't know a ton about, but I think I narrowed it down a bit. I think the issue is related to the Basemap group content. I found where the 5b4ad9cb601c45e8978901b08dc087b8 comes from (this is what it looks like in my Portal instance): This seems to be the group that holds the AGOL Basemaps, which is currently not public in your portal. E.g.: https://gistestportal.vhb.com/site/sharing/rest/content/groups/5b4ad9cb601c45e8978901b08dc087b8 What does the Basemap Gallery setting look like in your Portal org? This is mine (default setting): Perhaps what we need to do is update the sharing of the Basemap Gallery in your Portal.
... View more
12-03-2018
09:45 AM
|
0
|
3
|
3141
|
|
POST
|
Ok, I don't know a ton about Angular or where the item (5b4ad9cb601c45e8978901b08dc087b8) comes from, but maybe we can simplify this workflow as a proof of concept. Can you try running this sample with your portalURL and webmap id, just to see if it works? This is what I understand of your workflow. Also, which version of Portal for ArcGIS are you running? This works for me with 10.6.1. <!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"> <title>BasemapGallery + Webmap</title> <link rel="stylesheet" href="https://js.arcgis.com/4.9/esri/css/main.css"> <style> html, body, #viewDiv { padding: 0; margin: 0; height: 100%; width: 100%; } </style> <script src="https://js.arcgis.com/4.9/"></script> <script> require([ "esri/Map", "esri/views/SceneView", "esri/widgets/BasemapGallery", "esri/config", "esri/WebMap" ], function( Map, SceneView, BasemapGallery, esriConfig, WebMap ) { var portalUrl = ""; // Set the hostname to the on-premise portal and trust it esriConfig.portalUrl = portalUrl; esriConfig.request.trustedServers.push(portalUrl); var webmap = new WebMap({ portalItem: { // autocasts as new PortalItem() id: "" } }); var map = new Map({ basemap: "gray" }); var view = new SceneView({ container: "viewDiv", map: webmap, center: [139.68, 35.68], zoom: 3 }); var basemapGallery = new BasemapGallery({ view: view }); // Add the widget to the top-right corner of the view view.ui.add(basemapGallery, { position: "top-right" }); }); </script> </head> <body> <div id="viewDiv"></div> </body> </html> <!DOCTYPE HTML><html><head> <meta charset="utf-8"> <meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"> <title>BasemapGallery + Webmap</title> <link rel="stylesheet" href="https://js.arcgis.com/4.9/esri/css/main.css"> <style> html, body, #viewDiv { padding: 0; margin: 0; height: 100%; width: 100%; } </style> <script src="https://js.arcgis.com/4.9/"></script> <script> require([ "esri/Map", "esri/views/SceneView", "esri/widgets/BasemapGallery", "esri/config", "esri/WebMap" ], function( Map, SceneView, BasemapGallery, esriConfig, WebMap ) { var portalUrl = ""; // Set the hostname to the on-premise portal and trust it esriConfig.portalUrl = portalUrl; esriConfig.request.trustedServers.push(portalUrl); var webmap = new WebMap({ portalItem: { // autocasts as new PortalItem() id: "" } }); var map = new Map({ basemap: "gray" }); var view = new SceneView({ container: "viewDiv", map: webmap, center: [139.68, 35.68], zoom: 3 }); var basemapGallery = new BasemapGallery({ view: view }); // Add the widget to the top-right corner of the view view.ui.add(basemapGallery, { position: "top-right" }); }); </script></head><body> <div id="viewDiv"></div></body></html>
... View more
11-29-2018
09:15 AM
|
0
|
5
|
3141
|
|
POST
|
Hi James. I did some testing with a webmap and the Basemap Gallery widget using my own portal in the esriConfig.portalUrl and version 4.9 of the ArcGIS API for JavaScript, and it seems to work fine. What version of the API are you using? Which browser? Could you share a code sample that reproduces the issue?
... View more
11-27-2018
09:52 AM
|
0
|
7
|
3141
|
|
POST
|
Hi Travis, looks like we have this fixed for the upcoming 4.10 release, due out in mid-December. The "headers" will now be honored when the value type is "image". I can't say with any degree of confidence why the exception was there, but I can tell you that user feedback really helps us drive the product forward. I am also not sure of a workaround at this point. Hope this helps. -Noah
... View more
11-27-2018
08:42 AM
|
2
|
0
|
6737
|
|
POST
|
Here is an example of the functionality that you are looking for I think: WebMap+ It combines these 3 sample: Load a basic WebMap | ArcGIS API for JavaScript 4.9 Search Widget | ArcGIS API for JavaScript 4.9 Sketch temporary geometries | ArcGIS API for JavaScript 4.9 Hope this helps.
... View more
11-21-2018
04:01 PM
|
1
|
0
|
642
|
|
POST
|
Hi Shane. Well, I'm glad to hear that the test app works at least. It sounds like the issue is related to how IE11 is communicating with the requested resource. The issue could be SSL related (http vs https, as you suggested), or CORS related (if the server hosting the image is acting suspicious to the server hosting the app), or some other issue with IE11 (e.g. some potential research ideas to test in this article: 7 Most Common Internet Explorer Issues (And Easy Ways to Fix Them). I would suggest doing some research using your specific OS (windows version) and IE11 version (up to three decimal places, for example, mine is: 11.726) and seeing if there are any Microsoft forums or StackOverflow posts where other people have shared similar experiences. Also, look in the console for errors. Maybe this is just a 404 error if you're trying to access an image locally, or is there some other kind of server error? With regards to resources available on static.arcgis.com, the only list I have are for Esri Web Style Symbols. I'm not sure if this will actually help you in your case though. Example: Esri Web Style Symbols | ArcGIS API for JavaScript 4.9 I would suggest looking for images also hosted on https by trustworthy domains and see if you can find some resources that will make your IE11 happy. Hope this helps.
... View more
11-20-2018
08:04 AM
|
0
|
0
|
1452
|
|
POST
|
Hi Shane, do you see any errors in the console? I just tested this sample with PictureMarkerSymbol and IE11, and it works for me: JS Bin - Collaborative JavaScript Debugging The issue could be related to the path to the image file, or something else in the code that is not IE11 compliant.
... View more
11-19-2018
08:12 AM
|
1
|
0
|
1452
|
|
POST
|
Update: Still unsure of a workaround, but we have this fixed for version 4.10 (due out in December). Thanks again for raising this issue to our attention.
... View more
11-14-2018
02:44 PM
|
1
|
0
|
4008
|
|
POST
|
Just to chime in here, there are a couple of caveats about printing labels with FeatureLayers: Labels currently cannot be printed as part of a FeatureLayer with ArcGIS Server 10.5.1 or any Printing Service published with ArcMap. PrintTask | API Reference | ArcGIS API for JavaScript 4.9 Currently the labelsVisible property must be explicitly set to true for labels to be printed. FeatureLayer | API Reference | ArcGIS API for JavaScript 4.9 -Noah
... View more
11-08-2018
03:27 PM
|
1
|
4
|
4507
|
|
POST
|
Hi Sebastian, thank you for reporting this issue. Looks like a problem with 4.9. We are currently investigating. Not sure of a workaround at the moment, but I will update this thread when we learn more. -Noah
... View more
11-06-2018
08:23 AM
|
2
|
1
|
4008
|
|
POST
|
Hi Sebastien, I checked several of the samples with Firefox (62.0.3 - 64-bit) and Windows 10, and they all seem to work. What version of Firefox are you using? Mac or PC? Do you see any error message(s) in the console?
... View more
11-02-2018
01:00 PM
|
1
|
2
|
1644
|
|
POST
|
Hi Markus, this looks like a new issue at 4.9. We are currently investigating. Thank you for posting your issue. -Noah
... View more
11-02-2018
11:45 AM
|
2
|
0
|
846
|
|
POST
|
Hi William. Currently, the `where` property only has limited support. We are hoping to expand it's usage at the next release. https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-LabelClass.html#where For now, I would recommend using Arcade for the labeling logic in the labelExpression or labelExpressionInfo. -Noah
... View more
11-02-2018
09:40 AM
|
0
|
2
|
1948
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-14-2026 11:59 AM | |
| 1 | 05-13-2026 10:29 AM | |
| 1 | 04-10-2026 09:11 AM | |
| 1 | 03-24-2026 11:39 AM | |
| 1 | 03-23-2026 09:30 AM |
| Online Status |
Offline
|
| Date Last Visited |
yesterday
|