|
POST
|
Hi Abdelrahman Abdelrazek, the geodesic mode is the more appropriate (accurate) mode in this scenario. From our doc: "When using input geometries with a spatial reference of either WGS84 (wkid: 4326) or Web Mercator, it is best practice to calculate areas using geodesicArea()." geometryEngine | API Reference | ArcGIS API for JavaScript 4.10 We will be updating the behaviors of the 2D measurement widgets in the upcoming release to make this less confusing. Hope this helps. -Noah
... View more
01-10-2019
10:57 AM
|
2
|
1
|
2857
|
|
POST
|
Hi Denis Pokotylyuk, this is known issue with 2D FeatureLayer labels at version 64.0 of the 64-bit Firefox browser on macOS. Older versions of Firefox seem to work fine, as well as the latest versions of Chrome and Safari on macOS. All Windows browsers appear to behave fine. We are working to address this for the next release. I do not know of a workaround at this time (other than using a 3D SceneView or a different browser).
... View more
01-08-2019
01:32 PM
|
2
|
2
|
2083
|
|
POST
|
The documentation is correct. Currently, SketchViewModel is designed to work with 2D MapViews only.
... View more
01-07-2019
02:07 PM
|
0
|
1
|
1635
|
|
POST
|
Also, this recent blog post about labeling with version 4x of the API might be of use: Choose Your Own Labeling Adventure
... View more
01-02-2019
09:28 AM
|
1
|
0
|
1491
|
|
POST
|
Hi Markus Åfelt, it looks like we fixed this at 4.10. Could you update your app and verify that it works for you?
... View more
12-31-2018
01:36 PM
|
1
|
1
|
1716
|
|
POST
|
Hi Jillian Stanford, you can customize the zoom duration with 4x using the goTo() method of the 2D MapView or the 3D SceneView. There are several properties that can be modified in the options parameter. MapView.goTo() documentation MapView | API Reference | ArcGIS API for JavaScript 4.10 SceneView.goTo() documentation SceneView | API Reference | ArcGIS API for JavaScript 4.10 -Noah
... View more
12-31-2018
01:23 PM
|
0
|
0
|
1931
|
|
POST
|
Daniel Ben I'm not 100% sure, but this sounds like a good use case for RequestInterceptors. This would allow you to add a token parameter or an authorization header. esriConfig.request.interceptors: config | API Reference | ArcGIS API for JavaScript 4.10
... View more
12-28-2018
11:41 AM
|
1
|
0
|
1860
|
|
POST
|
chen zero can you try with version 4.10? We made some recent enhancements to our ability to add larger datasets to SceneViews. Release notes for 4.10 | ArcGIS API for JavaScript 4.10
... View more
12-28-2018
11:34 AM
|
0
|
2
|
1635
|
|
POST
|
Hi irtiza hussain, we added support for labeling polylines in 2D FeatureLayers at version 4.10. Please see the release notes for more information. Release notes for 4.10 | ArcGIS API for JavaScript 4.10
... View more
12-28-2018
11:26 AM
|
1
|
2
|
1491
|
|
POST
|
Jared Pilbeam the code that Robert provided is fine, but if you don't want to use the dojo/on (which we have been removing from our samples to reduce dependencies), you could do a similar thing by just passing the event in the unnamed function. This also works fine across browsers, including Firefox. What is surprising is that Chrome and IE were smart enough to determine what the value of event was supposed to be.
... View more
12-28-2018
08:52 AM
|
2
|
0
|
4257
|
|
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
|
974
|
|
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
|
1071
|
|
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
|
2044
|
|
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
|
1511
|
|
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
|
2371
|
| 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 |
Monday
|