|
POST
|
VectorTile printing is supported in 3.21 and 4.4 Print widget using a VectorTileLayer | ArcGIS API for JavaScript 4.4 The way it works is we take an image of the VT on the client and send that image with the normal print information to the Print Service and it will embed the image in the print for you. Server still can't print VT directly, but this is a workaround introduced into the JSAPI.
... View more
07-21-2017
01:36 PM
|
0
|
1
|
2776
|
|
POST
|
George Bochenek #askgeorge has a cool sample showing this behavior. GitHub - gbochenek/vector-tile-demo-js: Demo Application for switching vector tile styles on the fly You can then apply a filter to the style file. The data isn't in the style, it's in the cooked tiles, but you can style on it. vector-tile-demo-js/vectorTileDemo.js at master · gbochenek/vector-tile-demo-js · GitHub This is purely for styles though, not stuff like popups.
... View more
07-18-2017
01:38 PM
|
1
|
1
|
1770
|
|
POST
|
That's a solid method and accurate. Popup joining that list soon.
... View more
07-17-2017
02:51 PM
|
1
|
1
|
1784
|
|
POST
|
That kind of information is added to the release notes. Release notes for 4.4 | ArcGIS API for JavaScript 4.4 Related info is added to breaking changes if needed Release notes for 4.4 | ArcGIS API for JavaScript 4.4
... View more
07-16-2017
10:21 AM
|
1
|
3
|
1784
|
|
POST
|
Go to your Online page, something <user>.arcgis.com, go to Content, filter by Apps/Registered Apps Click on your app, go to settings. Under settings, go to Application Settings area and click on Registered Info button. Update the URI redirects here, this is what one of mine looks like.
... View more
07-11-2017
09:36 AM
|
2
|
1
|
1796
|
|
POST
|
You need to update it with your own appId and set up the redirect to your dev machine. Implementing App Login | ArcGIS for Developers
... View more
07-10-2017
01:58 PM
|
2
|
3
|
1796
|
|
BLOG
|
There's some technical limitations that prevent us from fully using Webpack for building the API. You can get almost there, but not single-file builds. We're looking at how far we can push it, and if we can overcome the technical hurdles, believe me, I'll be the first to talk about it.
... View more
07-03-2017
06:50 PM
|
0
|
0
|
6004
|
|
POST
|
One of those was right, ha. Looking at recent activity, I think the overrides property will be in 3.21. Not sure on 4x as there's lots of development currently happening around those modules, but we'll check. As far as the design of what properties are passed to the REST API, I'm not too familiar with routing, but we'll look into it. Sometimes it's compatibility, but I couldn't say for sure. Thanks!
... View more
06-13-2017
02:28 PM
|
1
|
1
|
3172
|
|
POST
|
There's a ton of videos on the JS API from UC/DevSummit also available on Youtube. Esri Events - YouTube
... View more
05-17-2017
11:33 AM
|
0
|
0
|
1977
|
|
POST
|
It's not invoking a method on itself, the proxy.connection invoking a method on the object you are passing to workers.open(), that exist on the client. It can be anything you want, it just needs to have a method that returns a promise, because it's also a way for you to request information from the main thread from within the worker.
... View more
05-16-2017
02:30 PM
|
0
|
0
|
3156
|
|
POST
|
I just updated this gist to handle worker communication for things like progress updates index.html · GitHub Turns out you can pass an object as the first argument to workers.open(). You can then invoke any functions from the worker on this argument. // client
workers.open({
progress: (msg) => {
console.log("progress:", msg);
return promiseUtils.resolve(msg);
}
}, workerUrl)
// worker
const Request = function() {}
Request.prototype.magic = function magic({ extent }, { proxy }) {
proxy.connection.invoke("progress", "starting");
const area = Polygon.fromExtent(Extent.fromJSON(extent));
proxy.connection.invoke("progress", "polygon created");
const centroid = area.centroid;
proxy.connection.invoke("progress", "centroid found");
const ptBuff = geometryEngine.buffer(centroid, 1000, "feet");
proxy.connection.invoke("progress", "buffer created");
const data = ptBuff.toJSON();
proxy.connection.invoke("progress", "buffer serialized");
return promiseUtils.resolve({ data });
}
return Request;
... View more
05-16-2017
11:13 AM
|
3
|
2
|
3124
|
|
POST
|
The client doesn't have access to the created worker, so you can't add event listeners to listen to messages. I can check if there is some other route for that or if we can expose it in some manner. Here is a sample using a worker to buffer the centroid of the view extent. index.html · GitHub
... View more
05-16-2017
10:19 AM
|
0
|
0
|
4213
|
|
POST
|
If you are using 4x, there is a Worker framework in the API that we use for some of our internal processing of things like VectorTiles. Connection | API Reference | ArcGIS API for JavaScript 4.3 There are limitations to what currently works in a Worker, for example esri/request works in a Worker, but in 4.3, Authentication does not, unless you authenticate on the main thread first. You also can't pass Geometries from workers to the main thread, you need to convert them to JSON first, but if your main thread used a typed Collection to load that JSON, it could work. In the future we'll try to add a sample or two on workers, as we can make sure other parts of the API can be loaded in workers.
... View more
05-16-2017
08:07 AM
|
1
|
0
|
4213
|
|
POST
|
Johns right, the properties? parameter is actually an object with the x/y property values.
... View more
03-23-2017
01:27 PM
|
0
|
0
|
1283
|
|
POST
|
As of 4.3, yes! SceneLayer filter and query | ArcGIS API for JavaScript 4.3
... View more
03-03-2017
09:40 PM
|
1
|
1
|
1367
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 2 weeks ago | |
| 1 | 07-17-2026 10:17 AM | |
| 2 | 07-22-2026 11:24 AM | |
| 2 | 05-19-2026 02:12 PM | |
| 1 | 04-24-2026 11:01 AM |
| Online Status |
Offline
|
| Date Last Visited |
Wednesday
|