SOLVED: Moving around the map is choppy

I find that as soon as I display multiple points on the map using the query loop (24 active for me), the map lags on my mobile phone, moving around the map is very unnatural. If I display just the map without these points the movement is again clean.

Is there anything I can do about this?

Hi @mikes,

moving around is not something we control, but I would like to test the map you have. Can you provide a live link to the page?
Also, which phone/os are you testing on?

Thank you,
Matej

Hello @Matej,

I am currently testing Bricks 2 only on a local network to avoid problems in the beta test. And I have here a nice example where you can see the problem.

As you can notice in the video below, if I move in a map element where there is no listing, the movement is very good. Once I get to where there are currently 24 points, the movement is really very jerky and very uncomfortable. :frowning:

I am currently experiencing this problem on mobile devices, I am testing this on an iPhone 12 Pro, with the latest version of iOS.

Video is here: scr-map

Hi,

Maybe you can enable marker clustering? Also, can you try to load the map with default markers, not custom one, do you see the same issue?

Matej

As you may notice, tag clustering is enabled, but the problem was solved by replacing the icons. I found that SVG icons are causing this behavior. So it would be advisable to prevent such loading, or to prevent the loading of SVG icons in this case.

I’m still solving this problem, which may be related. The map returns to its original location after clicking on the crosses in the popup, which is strange. Is there any way to solve this as well?

Hi,
yeah, we need to check what we can do. I’ve added your case to our tracker, and we will have a look at that.

Thank you,
Matej

Hi mikes,

We fixed this issue in Bricks 2.0 RC, which is now available in your account.
Changelog: Bricks 2.0-rc Changelog – Bricks

Please let us know if you are still experiencing issues.

As with any pre-stable release, please do not use it on a production/live website. It is only meant for testing in a local or staging environment.