POST
|
Hi Luiza, Your solution design is absolutely fine. You will need to get a paid Developer plan (Builder) in this scenario. Julie
... View more
07-15-2020
01:09 PM
|
0
|
0
|
498
|
POST
|
Yes! Measurement widgets are in 4.10; here's a blog on that topic: Measure Twice with the new 2D Measurement Widgets. Please let us know if you have any feedback. (and I wish I could take credit but it's 100% the dev team :-))
... View more
12-17-2018
02:24 PM
|
2
|
0
|
1687
|
POST
|
Hi Russ, thank you for reminding me to update you guys on this. Unfortunately, we had to move the 2D measurement widget to the 4.10 (Dec) milestone in order to achieve the design/quality we wanted.
... View more
09-19-2018
04:51 PM
|
0
|
0
|
1325
|
BLOG
|
Support for CORS will be enhanced in 4.9 and will potentially require changes to your code. Read further for the full scoop on this. The ArcGIS API for JavaScript has long supported CORS. CORS allows web applications to bypass a browser's same origin policy and access resources or services on other servers/domains. When the web server supports CORS, a proxy is not required to do cross-domain requests. Supporting CORS as opposed to using a proxy is helpful as it can: Provide a performance boost since the web application no longer has to send a CORS detection request back to its server, wait for the server to access the desired resource, and interpret the result before sending it back to the client. Simplify development as it is no longer necessary to maintain a proxy on your server. Avoiding the use of a proxy also ensures that web tier authentication (i.e. Active Directory) can be used when accessing secured resources. CORS and WebGL There are multiple scenarios when either CORS or a proxy is needed due to cross-domain requests for a resource. CORS is more important now than ever before when using the ArcGIS API for JavaScript due to the API’s use of WebGL. Thanks to WebGL, the API can render hundreds of thousands of features with fast performance using the GPU. However, WebGL has different requirements than the traditional method of rendering using SVG. When loading images (such as an image used by PictureMarkerSymbol), SVG simply adds an image in the DOM, while drawing on the WebGL canvas requires access to the raw image data. Since the raw image data is required for rendering, the image must meet one of the following requirements: (1) be on the same domain as the app, (2) be hosted on a server that supports CORS, or (3) a proxy must be used. With WebGL becoming the primary way in which the API renders graphics and its requirement to access raw image data, we’ve optimized the way in which we approach CORS. Changes to how the API will handle CORS, starting at 4.9 The API will assume web servers support CORS. Here are the details behind how the API handled CORS until 4.8, and how it will change starting at 4.9. Previously, the API would handle CORS in the following way: Developers could predefine a list of corsEnabledServers to explicitly indicate whether CORS was setup for a given server. If the service was published with ArcGIS Server, the API would automatically send a request to see if CORS was supported (note: this resulted in an extra request to the server before a resource could be requested). If the server didn’t support CORS, a proxy rule could be configured (note: this resulted in the extra hop and performance hit described above). JSONP was used as a workaround when the server wasn't known to support CORS and the request was a GET request for JSON. An example would be using a FeatureLayer from an ArcGIS Server version 10.0 or earlier. If none of the above criteria could be met (not listed in corsEnabledServers, not an ArcGIS Server service, and no proxy setup), the API didn’t make the request to the resource and generated a console error. Starting at 4.9, the API will handle CORS in the following way: If you have configured a proxy rule in your code, the API will continue to use your proxy. Otherwise, requests will always be made with the assumption that CORS is supported. Assuming CORS support is particularly useful when you don’t know what web servers you might be accessing in advance, for example in some scenarios when loading a web map with a mash-up of services. The first request will be sent assuming CORS is supported, and if the request fails due to the lack of support the API will automatically fallback to the configured proxy (via the proxyUrl property in esri/config.request). This change also results in a performance gain when working with ArcGIS Server because it is no longer necessary to send a CORS detection request before accessing a resource (in the case when the server isn’t listed in corsEnabledServers). What do you need to do? If it doesn’t already, configure your web server to support CORS (if possible). Another change at 4.9 is support for JSONP is being removed, which will simplify webpack builds. If your server doesn’t support CORS, setup your proxy so that the app would fallback to using the proxy when the CORS request failed. If you have a specific requirement for using JSONP, you can use the dojo request script module as a workaround. If you previously used any of these APIs, they should be removed as they are no longer needed. Your CORS enabled server should “just work” since the API will make the request assuming CORS support. esri/config.request corsDetection corsDetectionTimeout corsEnabledServers* forceProxy useCors esri/request allowImageDataAccess option * If your app is using corsEnabledServers with objects that have withCredentials: true, you should push the domain to esri/config.request.trustedServers instead. This guide topic will be updated with the latest information about working with CORS after the 4.9 release.
... View more
08-30-2018
11:42 AM
|
11
|
1
|
18606
|
BLOG
|
We recently published a series of blogs (with one more to go) aimed at helping JavaScript developers wanting to migrate from Google to ArcGIS come up to speed on the JS API: Getting Started: Displaying a marker with a popup Getting directions and displaying a route Search and Geocoding Adding a shape Have you gone through the experience of migrating from Google or are you considering starting the process? This GeoNet post serves as a way in which you can provide feedback on the above blogs, as well as share your experience coming up to speed on ArcGIS. How can we help?
... View more
08-24-2018
11:50 AM
|
4
|
0
|
927
|
POST
|
Hi folks, the 2D measurement widget is looking good for 4.9 actually (Sept release)! I will post an update when we get closer to the release date to let you know where we are.
... View more
08-10-2018
03:58 PM
|
3
|
4
|
1325
|
BLOG
|
This post provides insight into how we manage version 3.x of the ArcGIS API for JavaScript (JSAPI) release plan and technical support strategy. The JavaScript development team has made great progress bringing version 4.x of the JSAPI closer to parity with 3.x, meanwhile introducing new tech for building very dynamic, expressive 2D and 3D apps. Over the next year, each release will be a balance between capabilities for reaching full parity with 3.x and brand-new innovation. Many customers’ app requirements are fully met by the current release of the 4.x API (4.7) while others are still dependent on 3.x (either with existing apps that they are maintaining or new apps that have requirements such as full editing support). We also have many Esri apps built on 3.x, such as the 2D version of Web AppBuilder for ArcGIS. Technical Support Plan Because we have a large customer base that still depends on 3.x, we are very careful about how we manage the Product Life Cycle (PLC). Our strategy is to make all PLC dates relative to our estimation of the last 3.x release. When is the last release? It depends on when we reach full parity in 4.x, enabling us to move critical apps such as ArcGIS Online’s map viewer to 4.x. When we reassess our estimation of the final release date, PLC phase dates are updated accordingly. Relative dates for each PLC phase are determined in the following manner: - 3.x remains in "General Availability" until the last release of 3.x. - 3.x moves into "Mature Support" after the last release, and lasts for 1 year. - 3.x is retired 3 years after General Availability ends. For more information about the above software support phases and what they entail, refer to the PLC. Recent Update to the PLC Version 3.x was scheduled to move into mature phase next month; July 2018. Based on the current status of the API, this was moved to July 2019, with the mature phase starting August 2019 and retirement in August 2022. As mentioned above, these dates will be revisited depending on progress made towards 3.x parity. If you need further clarification on the above, please reach out to Technical Support through the normal channels. ArcGIS API for JavaScript Kwasi Asante
... View more
06-01-2018
01:36 PM
|
6
|
4
|
5149
|
POST
|
Hi David, sorry I don't have an update on the analysis widgets yet. At this time, all I know is that they won't be in 4.5 (~end Sept).
... View more
08-04-2017
11:34 AM
|
0
|
0
|
1202
|
BLOG
|
This is the draw sample I was referring to: Draw polygon for spatial query | ArcGIS API for JavaScript 4.4
... View more
07-17-2017
10:30 AM
|
0
|
0
|
3600
|
BLOG
|
Here is the simple measure sample that I was referring to: Measure while drawing | ArcGIS API for JavaScript 4.4
... View more
07-17-2017
10:29 AM
|
0
|
0
|
3600
|
BLOG
|
We are currently targeting the December release (4.6) for the measurement widget. However, 4.4 will have a sample demonstrating how you can implement simple measurement on your own using map events and the geometry engine.
... View more
07-05-2017
10:02 AM
|
0
|
0
|
3600
|
BLOG
|
The team is currently working hard on the sketching implementation for 4.x. We had hoped that we'd have an initial release of 2D draw tools in the 4.4 release, and while the team made good progress on the overall design and beginning implementation, it isn't ready for release. 4.5 is due out in the fall and we are working towards getting 2D drawing into that release. I can share any updates to this thread as the release approaches. 3D drawing will likely be next year. The full *editing* experience will take more time and will be a multi-release implementation (that includes editing widgets). That being said, we will likely have a sample released with 4.4 that shows how you can simply use map events to draw a polygon (that is then used for a spatial query). For those of you that have projects that can't wait for OOB drawing in the API, you can use this code as an example for writing (simple) custom drawing tools. I hope that helps!
... View more
06-21-2017
02:01 PM
|
3
|
0
|
3600
|
BLOG
|
New ArcGIS API for JavaScript releases are just around the corner! Here is a preview of some of the new capabilities coming in early July. (Note: These are some of the highlights; a full list of new capabilities and enhancements will be provided in the release notes.) ArcGIS API 4.4 for JavaScript New styles for points in city landscapes: Styling the point data in city scenes can now be done more effectively. Point graphics can be configured to display above buildings with the new relative-to-scene elevation mode. Callout lines can be used to better understand point locations (a callout is essentially extended from the top of the scene). Highlight in 3D: The ability to highlight features in a 3D scene, with options to configure the color and opacity of the highlight effect. Styling building data: We added the option to remove building textures to better emphasize thematic mapping of buildings, and also the option to make textures grayscale (one example of when you might want to do this is if you want to draw attention away from the buildings, and highlight a particular set of interest). Smart Mapping You can now automatically generate renderers for SceneLayers using SmartMapping. Generating type renderers with smart mapping is new to both 2D and 3D views. Note: When we reference smart mapping/generating renderers, we mean that the API creates smart defaults for your map/scene styles on the fly. This capability is typically used in data exploration type apps (as opposed to defining the styling explicitly in code). PointCloudLayer enhancements Added the ability to add natural lighting conditions to a point cloud layer in order to better distinguish objects. Better web map support Added support for Map Notes, WMS, and WMTS layers. OGC support Added support for WMS and WMTS layers. VectorTileLayer printing This release of the JavaScript API includes a support for vector tile layer printing through client-side image. Arcade support in popups Arcade expressions can now be applied in the popup’s content. This is useful for situations when you want to display data that isn't present as an attribute value in your FeatureLayer instance. Web maps that have been created in Portal or Online that contain popups with Arcade expressions will be honored in apps built with the JS API, and developers can also write Arcade expressions directly in their code. Widget standardization In this release, the following widgets have been updated to the widget framework, initially introduced at 4.2: Legend, Popup and Search widgets. Custom Layers The SDK will include documentation and samples for creating your own custom layers. ArcGIS API 3.21 for JavaScript Arcade support in popups As described above. VectorTileLayer printing As described above. (...plus minor enhancements and bug fixes)
... View more
06-20-2017
08:15 AM
|
13
|
17
|
12662
|
POST
|
Correct, esri/dijit/analysis/* refers to the analysis widgets. We don't yet have these widgets scheduled yet; I will provide an update to this post once I have more information.
... View more
03-31-2017
01:17 PM
|
1
|
2
|
1202
|
POST
|
Hi Adam, the print widget will be included in this release as well (and has been redesigned for 4.x; it's pretty nice!). The draw widget will be part of the summer release at the earliest.
... View more
12-16-2016
12:05 PM
|
0
|
0
|
652
|
Title | Kudos | Posted |
---|---|---|
1 | 3 weeks ago | |
7 | 05-07-2024 01:21 PM | |
8 | 10-23-2023 08:59 AM | |
1 | 09-23-2021 03:12 PM | |
1 | 04-13-2022 11:17 AM |
Online Status |
Offline
|
Date Last Visited |
a week ago
|