Select to view content in your preferred language

Improve media pagination experience in Popup

3592
5
07-23-2023 11:18 PM
Status: Implemented
Labels (1)
StefanUseldinger
Frequent Contributor

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.

2023-07-24_080856.jpg

Tags (3)
5 Comments
LaurenBoyd
Status changed to: Under Consideration

Thank you for the feedback and idea! This is something we are considering for a future release.

LaurenBoyd
Status changed to: In Product Plan
 
LaurenBoyd
Status changed to: Implemented

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 

BjornSvensson
Status changed to: In Product Plan
 
BjornSvensson
Status changed to: Implemented