Map update

I have a mapview in my application. When the page loads, I show some points on the map. I also have a search button on this page. Therefore, after I give something to search and click the search button, the map does not update. It is updated only when we touch the map on the map. I also gave mapview.invalidate (). Still not working...

Any idea why this issue is occurring?

+3
source share
1 answer

We have to give ..

mapview.invalidate()

I had a problem displaying overlays. So he did not work before. Now it works great.

+10
source

Source: https://habr.com/ru/post/1783801/


All Articles