|
POST
|
Hi there, I am able to reproduce the issue using Wetland Conditions Layer. We created an issue for this. I will update you once we have a fix for this issue. Hopefully, wetland conditions map service will be around for a while for us to test the issue. Thanks, -Undral
... View more
01-13-2022
12:05 PM
|
0
|
2
|
8210
|
|
IDEA
|
Hi there, I have couple of questions to understand your requirements. 1. Are you showing both dates and times along the TimeSlider ticks? Or just hours? 2. Do you want to show 24 hours format only in TimeSlider or do you expect 24 hours format in any widget that shows date and time? Examples would be popup, FeatureTable and FeatureForm etc. If the latter is the case, then we can look into a global time setting where time will be displayed the same way in all widgets.
... View more
01-13-2022
11:50 AM
|
0
|
0
|
3569
|
|
IDEA
|
Hi there, This can be done with TimeSlider by setting its labelFormatFunction and tickConfigs properties. This blog talks about how to set the tickConfigs property for TimeSlider. You can use Intl.DateTimeFormatter to format the dates and times you want to show on the TimeSlider. I created this simple app shows how to format ticks and labels on the TimeSlider. Hope this helps. https://codepen.io/U_B_U/pen/YzrRgmK?editors=1000
... View more
01-12-2022
05:05 PM
|
0
|
0
|
3597
|
|
POST
|
Hi there, I shared a very simple test app that showcases what you are asking a while back in one of the threads. Hopefully, you can find it helpful. https://codepen.io/U_B_U/pen/bGgaBKX?editors=1000
... View more
01-12-2022
01:14 PM
|
1
|
2
|
7827
|
|
POST
|
Hi there, Can you please try setting MapView.constraints.lods by calling TileInfo.create() method in your app? I tested this and it works. Also, I noticed that it does not work for me in 4.19. In any case, we will create an issue on our side to set the MapView's tileInfo when wmtslayer is added. Please check out this test app to see how to set the MapView's tileInfo and how this sets the zoom levels accordingly. In the test app, I am setting the LODs to ArcGIS online tiling info. It is documented in TileInfo.create doc referenced above.
... View more
01-12-2022
08:56 AM
|
1
|
2
|
2853
|
|
POST
|
You also need to set MapView.popup.defaultPopupTemplateEnabled to true on top of what @ReneRubalcava pointed out.
... View more
01-06-2022
09:33 AM
|
0
|
0
|
1690
|
|
POST
|
Hi there, Are you using 4.22 version of the js api? We have an issue where the text symbols are not honoring the bolded fonts. This issue will be fixed in our next release. However, the font size and weight will be honored without issues if font family is specified as @Noah-Sager pointed out. This test app uses version 4.22 and you can see that font weight and sizes being honored. https://codepen.io/U_B_U/pen/XWWJwxq?editors=1000 At 4.23, your code should work as expected.
... View more
01-06-2022
09:15 AM
|
1
|
1
|
2712
|
|
POST
|
Hi there, We had an issue with the HeatMapRenderer not updating when the renderer's field changed at runtime. This issue was fixed at version 4.16. So versions 4.16 and greater, the renderer should change whenever you update the renderer's field. Changing maxPixelIntensity/minPixelIntensity values at runtime always worked. I created this simple app for you to showcase that it is working at 4.22: https://codepen.io/U_B_U/pen/eYGjNZG?editors=1000 If you can't still get it to work then can you please provide me with a simple reproducible case? Thanks, -Undral
... View more
01-06-2022
09:01 AM
|
1
|
1
|
2750
|
|
IDEA
|
Hi there, As you mentioned this cannot be done at the moment. We have plans to add support for this. However, I do not have a timeline for this. I will update you once this behavior is supported. -Undral
... View more
01-05-2022
12:51 PM
|
0
|
0
|
2294
|
|
POST
|
Hi there, Perhaps you will find this sample useful: https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=featurelayerview-query-geometry Circle is drawn on the map. It can be moved and resized after it is created. Please take a look atet drawBufferPolygon function in particular. -Undral
... View more
01-05-2022
12:34 PM
|
0
|
0
|
1658
|
|
POST
|
Hi there, You do not have a VectorTileLayer being added in your codepen. In any case, the spatialReference of your VectorTileLayer must match the spatialReference of the MapView since VectorTileLayer cannot be reprojected on the fly. If they have same projection and throwing an error then can you please update your codepen? Thanks, -Undral
... View more
12-13-2021
03:39 PM
|
0
|
0
|
1062
|
|
POST
|
@JanHellenberg , If you upgrade to 4.22, you will be able to do what you are asking with the use of GeoJSONLayer.customParameters and GeoJSONLayer.refresh. The section @RobertScheitlin__GISP referenced in his answer explains the updates we installed at 4.22 for CSV and GeoJSONLayers. The following video explains what this means. https://community.esri.com/t5/arcgis-api-for-javascript-blog/what-is-new-at-4-22-for-geojsonlayer-and-csvlayer/ba-p/1125082/jump-to/first-unread-message This sample shows the updates in action.
... View more
12-13-2021
02:46 PM
|
0
|
1
|
2336
|
|
POST
|
Hi there, If you go to the refresh event description, you will see that refresh event was added at 4.21. See the since tag in the screenshot. https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#event-refresh Hope this helps, -Undral
... View more
12-10-2021
03:41 PM
|
0
|
0
|
2186
|
|
BLOG
|
At ArcGIS API for JavaScript version 4.22 we added many new features for GeoJSONLayer and CSVLayer. We have a section for those updates in the Release Notes. Just reading the Release Notes might not be enough to fully understand and appreciate the updates we made. So I created a 10 minute video explaining the updates in greater detail. Please check out the video below to understand what those updates mean for you and how to take advantage of them in your applications. Please leave me a message if you have questions or feedback. Happy coding!
... View more
12-10-2021
01:43 PM
|
6
|
0
|
1157
|
|
POST
|
Hi there, So there are couple of issues with the metadata of the image service. As of time of my checking, the service's metadata says the following. However, the image service is returning the data for today (Dec 9, 2021). So setting the timeSlider.timeExtent to the ImageryLayer.timeInfo.fullTimeExtent won't work because it would be set to Oct. Time Info:
Start Time Field: IDP_ValidTime
End Time Field: IDP_ValidEndTime
Time Extent:
[2021/10/25 10:08:19 UTC, 2021/10/25 14:10:57 UTC] So to get this service working with the TimeSlider, couple of things need to happen. We need to query all the rasters to dynamically update the TimeSlider.fullTimeExtent whenever the app loads. Please see the code snippet with explanations. // the service's timeInfo advertises really old time extent
// therefore, the query should be done to fetch all time attributes
// from the service while ordering the results by the IDP_ValidTime field
// set the timeslidder's fullTimeExtent based on the first and last values
// from the result
const query = {
where: "1=1",
outFields: ["objectid", "IDP_ValidTime", "IDP_ValidEndTime"],
returnGeometry: false,
orderByFields: ["IDP_ValidTime"]
};
layer.queryRasters(query).then((results) =>{
const fullTimeExtent = {
start: results.features[0].attributes.idp_validendtime,
end: results.features[results.features.length -1].attributes.idp_validendtime
};
// set up time slider properties
timeSlider.fullTimeExtent = fullTimeExtent;
// service's metadata says the data is updated with 10 minute interval
// so setting the timeSlider animate the data with 10 minute interval
timeSlider.stops = {
interval: {
value: 10,
unit: "minutes"
}
};
}); Check out this working codepen to see this in action. Hope this helps, -Undral
... View more
12-09-2021
10:20 AM
|
3
|
0
|
1659
|
| 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
|