With ArcGIS Maps SDK for JavaScript version 4.27 an improved media pagination experience was introduced.
In case of multiple media elements, this works well. However, if there is just one element to show, I think it isn't necessary to show the "1 of 1" label as pagination isn't possible here.
This behavior is not coherent as the feature pagination won't show the "1 of 1" in the corner in case of a single feature hit.
The option to disable the "1 of 1" label should be handled automatically or manually controlled by the VisibleElements property.
Thank you for the feedback and idea! This is something we are considering for a future release.
This has been implemented for version 4.28 and can be tested by using the next CDN. Here's an example application showing the new behavior: https://codepen.io/laurenb14/pen/MWzZrJJ?editors=1000
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.