Select to view content in your preferred language

Map refreshes when panning JS API 4.23

585
2
Jump to solution
04-27-2022 01:37 PM
JakeMatthys
Frequent Contributor

Hello,

We have a custom JavaScript app that our that is used on both iOS mobile devices and Windows desktop PCs.  On iOS iPad devices (8th Gen iPad  OS version 15.4), when users pan around at zoomed in scales (1:600 scale), the map will eventually refresh taking the users back to the default extent.  We have noticed that the issue does not occur at zoomed out scales (like 1:4k) even though more content is being displayed.  We just have noticed an increase of these events with the 4.23 API.  We have rolled back to the 4.20 API and notice that the issues still persist in the Safari browser, but not on the Chrome browser.

Any insight about what could be the possible cause of the map refreshing after multiple pan actions (5-15 pans will cause the issue) on iPad browsers only (does not occur on desktop PCs).

Thanks,

 - Jake

 

1 Solution

Accepted Solutions
AndyGup
Esri Regular Contributor

Hi @JakeMatthys  In general, iOS and Safari are more prone to memory crashes than Android and Chrome. Do you have a simple sample or basic github repo that reproduces the issue? If we can take a look, we might be able to make some suggestions.

View solution in original post

2 Replies
AndyGup
Esri Regular Contributor

Hi @JakeMatthys  In general, iOS and Safari are more prone to memory crashes than Android and Chrome. Do you have a simple sample or basic github repo that reproduces the issue? If we can take a look, we might be able to make some suggestions.

JakeMatthys
Frequent Contributor

Thanks for the help @AndyGup .  I believe we are going to move forward by creating a new web map with fewer layers (and more content included in a vector basemap) to see if that will improve performance on iOS mobile devices.

0 Kudos