Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symbols in Legend change size after scrolling - Xamarin Forms iOS #323

Open
Felicity-R opened this issue Mar 27, 2020 · 0 comments
Open

Comments

@Felicity-R
Copy link

I've added a Legend from the Toolkit to a Xamarin Forms project, and ran into this issue on iOS. I have also tested Android and Windows and have not seen this there.

If you have enough layers in the map that the legend will need to scroll, then for legend entries that are initially out of view, or that you scroll out of view and then back into view, the size of the symbol will shrink. I can reproduce this issue in the samples after adding more layers to the map, as well as in a production app.

Screenshots

Sample app with added layers; I loaded the Legend sample, turned off "Filter by scale range" to get all the layers to show up, and the symbols are initially the right size, as seen here:
image

After scrolling the list up and down the symbols for the JeffTest_Hazard layer have shrunk, note that some entries have shrunk more than others:
image

Screenshots are from an iPad Air (3rd gen) iOS 13.3 simulator. I also see this issue on a real device, an iPad Air (6th gen) with iOS 12.2.

The "test hazards" layer in the screenshots can be found at https://services.arcgis.com/p3UBboyC0NH1uCie/arcgis/rest/services/Jeff_Test_Hazards/FeatureServer/0 (although that's not the only layer this affects, it's just a good demo).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants