Good Afternoon,
I'm developing a mobile app and I use outsystems maps (google maps) to list a series of markers (about 1000 for now). Therefore, when I initially load all the markers at once to the home screen, I get a timeout message.
How can I first list only a few markers closest to the defined center, and as the zoom changes, load more markers?
Best regards,
Eduardo Ferreira
Hi @Eduardo Ferreira,
To deal with a large amount of markers like the one you estimate to be the minimum, the only way I could suggest would be using the client actions - AddMarker / RemoveMarker / RemoveAllMarkers - that were created exactly for that use case, so you don't get some limitations from using OS blocks and use the Google Maps APIs directly.I made a test in the past with markers 10000, and it worked well without timeouts.Hope it helps!
Cheers,GM
Thanks Gonçalo, it works now. Now the problem is that I can no longer use the Marker popUp. Is there any alternative or solution for this?