|
POST
|
Couple ideas to try: 1) esriConfig.request.trustedServers https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#request Indicates whether cross origin requests made to the associated server should include credentials such as cookies and authorization headers. 2) CORS guide page https://developers.arcgis.com/javascript/latest/guide/cors/index.html 3) Try using a proxy https://developers.arcgis.com/javascript/latest/guide/proxies/#example%3A-server-is-not-enabled-for-cors
... View more
07-19-2019
02:06 PM
|
1
|
1
|
3374
|
|
POST
|
It looks like the other color that you see is actually a different layer. If we just look at just the trails layer, they look identical in 3x and 4x (both are solid green) 3x Trails https://codepen.io/noash/pen/xvbNex 4x Trails https://codepen.io/noash/pen/OKPYqx If we display all layers in the MapService, we see what appears to be multi-colored lines, but I think are actually one line layer and some sort of line segment layer. They still look identical in 3x and 4x 3x All Layers https://codepen.io/noash/pen/MNYdxZ 4x All Layers https://codepen.io/noash/pen/dxPErM I would double-check and compare the code between 3x and 4x and make sure you are adding all the layers correctly in both apps.
... View more
07-19-2019
01:56 PM
|
0
|
0
|
3417
|
|
POST
|
It looks like that at around line 295 of the crowdsource-reporter-master\js\utils\utils.js file there is some logic for the Geocoder: createGeocoderInstance: function () { //Default geocoder url var geocodeURL = "https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer"; ...
... View more
07-19-2019
01:28 PM
|
0
|
1
|
1238
|
|
POST
|
Is there any rendering set in the app, or is this how it looks like in the published service? If it's set in the code, can you share the 3x and 4x code snippets? Also, is the service used in this app publicly accessible for testing?
... View more
07-19-2019
01:09 PM
|
0
|
3
|
3417
|
|
POST
|
It looks like the query is being assigned to a string instead of an object. I think you could try setting the body to a string, or pass an object to the query. Hope this helps!
... View more
07-16-2019
04:01 PM
|
0
|
0
|
1607
|
|
POST
|
We also have a hosted sample that shows how to work with the Search widget and setting the source to a FeatureLayer: https://developers.arcgis.com/javascript/latest/sample-code/widgets-search-multiplesource/index.html
... View more
07-12-2019
11:09 AM
|
0
|
0
|
1569
|
|
POST
|
Hi Andrew, sorry to hear about this issue. I tested a handful of 4x and 3x tile layer samples using Edge, and I did not see any errors. Here are my Edge and OS versions: Windows 10 Microsoft Edge 42.17134.1.0 Microsoft EdgeHTML 17.17134 Could you try updating your version of Edge, or post a link to a hosted sample so I could test the same one you are seeing the error with? -Noah
... View more
07-12-2019
10:45 AM
|
0
|
1
|
1884
|
|
BLOG
|
Yes, we will update the downloads page, probably in 1-2 weeks. We apologize for the inconvenience.
... View more
07-11-2019
09:15 AM
|
2
|
0
|
2822
|
|
POST
|
Hi Arun, How about something like this? https://codepen.io/noash/pen/PraaJg If you have access to ArcGIS Pro, you could publish your layer with labels as a vector tile layer, and then consume that in your app as a VectorTileLayer instead of a webmap. The advantage here is that the labels would be baked into the layer, so you could draw graphics on the top. Does that help?
... View more
07-03-2019
01:34 PM
|
1
|
1
|
4140
|
|
BLOG
|
Hi David, Thanks for the comments and your patience. The FeatureTable widget is in active development, and we anticipate it's release later this year. I'll make a note to update this thread when I have more news to share.
... View more
07-03-2019
01:13 PM
|
0
|
0
|
2822
|
|
BLOG
|
Today, we are pleased to release versions 4.12 and 3.29 of the ArcGIS API for JavaScript. Here are some of the 4.12 highlights (please refer to the 3.29 link at the end for 3.x updates). The Stats We added 42 new classes, 11 new widgets, and fixed 34 bugs. Also, 93% of the codebase is now written in TypeScript. Time Time is a key component of this release. We added a TimeInterval class to describe a length of time in different temporal units, a TimeSlider widget to simplify time manipulation in your application, and a timeExtent property in 2D MapViews and 3D SceneViews to easily update all time aware layers. https://developers.arcgis.com/javascript/latest/guide/release-notes/#time Performance Loading, rendering, fetching, drawing, all these verbal nouns saw significant improvements with this release. Parallelization of requests. Tile processing optimizations. We’re talking revamped tessellators folks. Who wouldn’t want the new I3S specification version 1.7 to make your scene layers load 2x faster? Or how about pure client-side queries in 3D that don't require a round-trip to the server? https://developers.arcgis.com/javascript/latest/guide/release-notes/#performance-improvements Modernization We take major strides to modernize our API at every release. This modernization allows our API to play nicer with others (e.g. other frameworks, native browser methods, and 3rd party APIs). This time around we made the BeforeInterceptorCallback function asynchronous, so it can now also return a promise. In fact, most asynchronous methods in the API now support an optional abort signal parameter, so they can be canceled and return a promise that will be rejected with an error. Lastly, there is a new has flag available to enable native JavaScript promises. Look out for an upcoming blog post to discuss this further. https://developers.arcgis.com/javascript/latest/guide/release-notes/#api-modernization Sliders Note: we’re talking widgets, not small hamburgers. We added a slew of new slider widgets to help you interact with any kind of user input involving numbers or a range of values. You already met the TimeSlider, but we have several more Slider widgets that might interest you, including a base Slider widget, which is a great starting point if you want to make your own customized slider experience. https://developers.arcgis.com/javascript/latest/guide/release-notes/#new-widgets And More... There’s so much more to cover. Realistic water rendering with the new WaterSymbol3DLayer. New 2D WebStyleSymbols (used to be only available in 3D)! Scale-dependent visualizations for smart mapping. Even better labeling options and behaviors?? It’s been a great release, and we are excited to share it with you. If we don’t see you at the UC in San Diego next week, please feel free to let us know how we’re doing via email/GeoNet/social media. Couple more links to share: Release Blog https://www.esri.com/arcgis-blog/products/js-api-arcgis/announcements/whats-new-in-arcgis-api-for-javascript-july-2019 Video: What's new with the ArcGIS API for JavaScript 4.12 https://www.youtube.com/watch?v=J7LPAQx8IBg 4.12 Release Notes https://developers.arcgis.com/javascript/latest/guide/release-notes/ 4.12 Samples https://developers.arcgis.com/javascript/latest/sample-code/?search=4.12 3.29 What’s New https://developers.arcgis.com/javascript/3/jshelp/whats_new.html
... View more
07-02-2019
05:43 PM
|
1
|
7
|
5522
|
|
POST
|
Hi Arun, This is the expected behavior. The label will always be above an added graphic. Some questions for you: What is the expected outcome? If you want the graphic above (and partially or wholly blocking) the label, would removing the label entirely (when they collide) be a good outcome? If not, and you would still want to see a partial label, what is the use case for placing a graphic directly on top of a label? Feel free to respond here or send me a direct message. -Noah
... View more
07-01-2019
03:45 PM
|
0
|
3
|
4140
|
|
POST
|
Hi Vic, Here are some of the keyboard and programmatic navigation options available to you: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#programmatic-navigation and https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#navigation
... View more
07-01-2019
01:53 PM
|
0
|
1
|
5513
|
|
POST
|
Are you prompted to enter a username and password? For secure resources, it should automatically prompt you. Another option would be to use a self-hosted proxy to authenticate for you: https://developers.arcgis.com/javascript/latest/guide/proxies/ Using an app login or a user login: https://developers.arcgis.com/javascript/latest/guide/secure-resources/#application-logins
... View more
07-01-2019
01:46 PM
|
0
|
0
|
1295
|
|
POST
|
Hi Nadir. I think what you would want to do would be to create a custom print template and publish it using ArcMap or ArcGIS Pro.
... View more
07-01-2019
12:58 PM
|
1
|
0
|
880
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | yesterday | |
| 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 |
| Online Status |
Online
|
| Date Last Visited |
yesterday
|