|
POST
|
Shaning Yu if you're using a MapImageLayer, then you can define the visibility of the sublayer (map service layer). Doc: Sublayer | API Reference | ArcGIS API for JavaScript 4.10 Sample: MapImageLayer - Toggle sublayer visibility | ArcGIS API for JavaScript 4.10
... View more
01-15-2019
01:54 PM
|
1
|
1
|
2475
|
|
POST
|
Hi Eric Parrish, sorry for the tardy reply. Is this something you are still needing help with? I checked your sample app, and it seems to work fine at 4.8 and the current version (4.10) of the JS API. -Noah
... View more
01-15-2019
09:08 AM
|
0
|
0
|
910
|
|
POST
|
Hi Andrew Terwiel, can you try with more recent versions of the API? The current version is 4.10, but you could incrementally increase the version number and see if this has been addressed in a previous release.
... View more
01-15-2019
08:53 AM
|
1
|
8
|
4545
|
|
POST
|
Robert Jensen I'm not totally sure what you are trying to do. Are you wanting to print the pop-ups with the map? If so, you can do this with the MapView.takeScreenshot() method: MapView | API Reference | ArcGIS API for JavaScript 4.10 Or if you just want more control over the printing (exporting) process in general, I would refer to the PrintTask documentation: PrintTask | API Reference | ArcGIS API for JavaScript 4.10 Here is also a handy blog post about working with screenshots: https://community.esri.com/people/RLibed-esristaff/blog/2018/12/20/screenshots-with-the-arcgis-api-for-javascript-html2canvas -Noah
... View more
01-15-2019
08:51 AM
|
0
|
2
|
3462
|
|
POST
|
kawish abbas what specific functionality are you looking for? For reference, here is a functionality matrix that compares current 3x to 4x capabilities: Functionality matrix | ArcGIS API for JavaScript 4.10
... View more
01-11-2019
01:40 PM
|
2
|
1
|
2908
|
|
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
|
2389
|
|
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
|
1910
|
|
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
|
1415
|
|
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
|
1353
|
|
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
|
1580
|
|
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
|
1724
|
|
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
|
1737
|
|
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
|
1415
|
|
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
|
1353
|
|
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
|
4024
|
| 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 |
11 hours ago
|