|
POST
|
Distance Measurement widget was also added: DistanceMeasurement2D | API Reference | ArcGIS API for JavaScript 4.10 Live sample: Measurement in 2D | ArcGIS API for JavaScript 4.10
... View more
12-26-2018
01:57 PM
|
0
|
0
|
829
|
|
POST
|
Himal Patel the FeatureLayer will only work when the resources come from ArcGIS Server, ArcGIS Online, ArcGIS Enterprise, or client side graphics. The last bit might be the most interesting for you, here is an example: Create a FeatureLayer with client side graphics | ArcGIS API for JavaScript 4.10 However, there are a couple of layers that the ArcGIS API for JavaScript offer that work with non-ArcGIS resources: KMLLayer | API Reference | ArcGIS API for JavaScript 4.10 WebTileLayer | API Reference | ArcGIS API for JavaScript 4.10 WMSLayer | API Reference | ArcGIS API for JavaScript 4.10 Hope this helps.
... View more
12-26-2018
01:52 PM
|
0
|
0
|
974
|
|
POST
|
irtiza hussain what Robert posted is correct. The 2D MapView does not contain an altitude property. Please refer to the documentation here: MapView | API Reference | ArcGIS API for JavaScript 4.10 However, if you are working with a 3D SceneView, then your code looks fine to me. Here is an example app showing what I think you are trying to accomplish: SceneView Constraints Do you see any errors in the browser console? Please feel free to refer to the relevant documentation here: SceneView | API Reference | ArcGIS API for JavaScript 4.10
... View more
12-26-2018
01:27 PM
|
1
|
0
|
1793
|
|
POST
|
Abdelrahman Abdelrazek there are some limitations when working with IE11. Note that even Microsoft recommends using Microsoft Edge (instead of IE11). A few things to try: 1) Version 4.10 just released, so I would try updating to that version and see if there is a change in behavior. 2) Are there any warnings or errors in the console? Apart from the FeatureLayer being too heavy to load in IE11, there could be other issues here, such as methods or properties that are not supported in IE11. 3) Have you tried with other versions of IE11? There are actually different versions of IE11, depending on the OS and if the browser is automatically updated or not. 4) Lastly, we list the recommended browsers in our documentation, so if there is a need to justify using a different browser, we have that covered. ArcGIS API for JavaScript 4.10 - Supported Browsers System Requirements | ArcGIS API for JavaScript 4.10 Hope this helps. -Noah
... View more
12-17-2018
10:31 AM
|
2
|
1
|
1281
|
|
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
|
2108
|
|
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
|
3504
|
|
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
|
1517
|
|
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
|
2975
|
|
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
|
2975
|
|
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
|
2975
|
|
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
|
6171
|
|
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
|
582
|
|
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
|
1313
|
|
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
|
1313
|
|
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
|
3798
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Wednesday | |
| 1 | 04-10-2026 09:11 AM | |
| 1 | 03-24-2026 11:39 AM | |
| 1 | 03-23-2026 09:30 AM | |
| 1 | 02-26-2026 07:52 AM |
| Online Status |
Offline
|
| Date Last Visited |
10 hours ago
|