DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 963,864 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Bayazid Sustami
Bayazid Sustami

Posted on

how to load gmaps easily in android?

I am developing an application that uses google maps, but after the application runs and has several users, my application feels heavier than before. is there a way to make my application run effectively?

Top comments (1)

Collapse
 
asynctaskcoffee profile image
EGEMEN

Be carefull using maps means you will have -frozen frames- and -performance- problems. To avoid them, use cluster for markers and if youre using bitmaps for markers create bitmaps on different threads and draw them on ui thread. And also dont draw all markers in same time. In summary you should seperate ui and main threads. In addition load map asynchronously in background and load in main thread when it is ready.

Update Your DEV Experience Level:

Settings

Go to your customization settings to nudge your home feed to show content more relevant to your developer experience level. πŸ›