|
POST
|
Hi there, This bug has been addressed at JS API version 4.12. This version will be released later this month.
... View more
06-14-2019
08:07 AM
|
2
|
2
|
2266
|
|
POST
|
Hi there, We have verified that it is a bug in the API. Thank you for bringing this issue to our attention. We will get it fixed as soon as possible. Thanks,
... View more
06-07-2019
11:54 AM
|
0
|
0
|
4207
|
|
POST
|
Hi there, The behavior you describe and see is how it works today (features are being requested on demand). We have this on our to do list so that features are not requested on demand if certain requirements are met. I do not have the exact time frame for this, but I am hoping before the end of this year.
... View more
06-06-2019
11:34 AM
|
1
|
0
|
997
|
|
POST
|
Hi there, This issue will be fixed at version 4.12 which will be released end of June, 2019.
... View more
06-04-2019
02:54 PM
|
0
|
0
|
855
|
|
POST
|
Hi there, You cannot create multipoint geometries with hybrid or freehand mode as they are used for lines and polygons. See this document. So please update your code as shown below: sketchViewModel.create("multipoint");
... View more
05-31-2019
08:13 AM
|
0
|
0
|
858
|
|
POST
|
Hi there, Your code for `view.whenLayerView` logic is running before you add the layer to the map. LayerView for the layer will be created when the layer is loaded to the view. So either move your code out of the current function and place after you add the layer to the map or do something like the following then you will get the layerView back: map.add(featureLayer);
view.goTo(graphics);
view.whenLayerView(featureLayer).then(layerView => {
console.log('we have the layer view.')
}, (error) => {
console.log('we dont have the layer view: ', error)
});
... View more
05-29-2019
11:00 AM
|
2
|
0
|
5643
|
|
POST
|
Hi there, You will be able to do this on the client using ImageryLayerView.pixelData by getting updated pixel data whenever the layerview is updated. You'll have to create the ImageryLayer.format with `lerc` option so that you can access the pixel data on the client. You can set the pixelFilter to change the pixel colors. This sample shows you how to do it. In view's click event, you'd have to figure out the pixel index from the mouse location and get the data for that pixel. I have created this sample app to show what is involved. Hope this helps
... View more
05-17-2019
11:37 AM
|
0
|
0
|
1247
|
|
POST
|
Hi there, The exifInfo is only supported with hosted featureservices at this point and also the service needs have attachmentProperties.exifInfo enabled. For example take a look at the following service. https://services.arcgis.com/V6ZHFr6zdgNZuVG0/ArcGIS/rest/services/AttachmentTest/FeatureServer/0/?f=pjson Once on the page, search for attachmentProperties. You will see that exifInfo is not enabled on this service. So attachment query will never return exifInfo associated with attachments. You need to enable exifInfo through your organization admin page for the service. Newly created hosted services will have this property enabled by default. With this said, we will add attachment properties to FeatureLayer.capabilities so that you can check if attachment properties are enabled before you issue a request for attachments. Hopefully this is the case for you. If not, please give me more details so I can reproduce the issue. Thanks, -Undral
... View more
05-16-2019
09:35 AM
|
0
|
0
|
669
|
|
POST
|
Hi there, A developer on the team was able to reproduce the issue you are describing. We created an issue for this and thank you for bringing this issue to our attention.
... View more
05-16-2019
07:57 AM
|
0
|
0
|
2266
|
|
POST
|
Hi there, What Robert suggested. You can also use queryFeatureCount on FeatureLayer or FeatureLayerView if you have created a FeatureLayer. Use FeatureLayerView.queryFeatureCount, if you want to get the total count of features available on the client (fast and performant). User FeatureLayer.queryFeatureCount, if you want to get the exact number of features that meet your requirements. This will issue a network request to the server.
... View more
05-16-2019
07:55 AM
|
1
|
1
|
2042
|
|
POST
|
Hi there, I am not able to reproduce the issue using our workers framework which uses webworkers. I am able to create a new instance of ElevationLayer without errors. The following is super simplified version of the test app. Worker script
define([
"esri/layers/ElevationLayer",
"esri/core/promiseUtils"
],
function (ElevationLayer, promiseUtils) {
return {
createPoints: function (data) {
var url = data.url;
var elevationLayer = new ElevationLayer({
url: data.url
});
return elevationLayer.load().then(function(){
console.log("layer", elevationLayer);
return promiseUtils.resolve({
data: {
sr: elevationLayer.spatialReference.toJSON()
}
});
})
.catch(function(error){
return promiseUtils.resolve({
data: {
error: error
}
});
});
}
}
}); HTML APP
<script src="https://js.arcgis.com/4.11/"></script>
<script>
require([
"esri/Map",
"esri/views/MapView",
"esri/layers/ElevationLayer",
"esri/core/workers/workers"
], function (
Map, MapView, ElevationLayer, workers
) {
var local = window.location.href.substring(0, window.location.href.lastIndexOf('/'));
var workerUrl = local + "/createPointsWorker.js";
var map = new Map({
basemap: "oceans",
});
view = new MapView({
container: "viewDiv",
map: map,
zoom: 4,
center: [-100, 35]
});
var url = "https://sampleserver6.arcgisonline.com/arcgis/rest/services/ScientificData/SeaTemperature/ImageServer"
view.when(function () {
var params = {
url: url
};
executeWorker(params);
});
function executeWorker(params) {
console.log(workerUrl);
var connection;
return workers.open(workerUrl)
.then(function (conn) {
console.log(params);
connection = conn;
return connection.invoke("createPoints", params);
})
.then(function (results) {
connection.close();
console.log("results from the workers", results);
});
}
});
</script>
</head>
<body>
<div id="viewDiv"></div>
</body>
</html>
... View more
05-15-2019
07:57 AM
|
0
|
2
|
2266
|
|
POST
|
Hi there, No we do not have something out of the box. You will probably have to write your own. The following utility converts ArcGIS JSON geometries to GeoJSON geometries and vice versa. https://github.com/Esri/arcgis-to-geojson-utils Hope this helps
... View more
05-14-2019
10:24 AM
|
0
|
1
|
3945
|
|
POST
|
There's no GeoJson support out of the box. Every ArcGIS geometry has toJSON method which allows to you to convert geometry objects to JSON geometry object. You can then perhaps use the following library to convert it to GeoJSON. https://github.com/Esri/arcgis-to-geojson-utils
... View more
05-14-2019
10:14 AM
|
2
|
0
|
2339
|
|
POST
|
Hi there, Set the renderingRule on imageServiceParameters in the layer constructor. So in your code, move the rendering rules to imageServiceParameters. The reason is that renderingRule is not an option for the image layer constructor but imageServiceParameters is. Hope this makes sense, -Undral
... View more
04-30-2019
10:21 AM
|
1
|
1
|
1828
|
|
POST
|
Hi there, Undo/Redo is part of the measurement widget. https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DistanceMeasurement2D.html
... View more
04-23-2019
08:05 AM
|
2
|
0
|
487
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-17-2025 03:29 PM | |
| 1 | 07-09-2025 08:48 AM | |
| 2 | 07-08-2025 08:09 AM | |
| 2 | 07-07-2025 03:57 PM | |
| 1 | 06-11-2025 03:25 PM |
| Online Status |
Offline
|
| Date Last Visited |
12-01-2025
08:03 AM
|