Reputation: 658
I have a GoogleMap in a ScrollView. Vertically scrolling the map does not work as it scrolls the ScrollView instead.
I previously solved this by using a similar workaround to the one provided in: how to set google map fragment inside scroll view
But, that uses getMap() which was deprecated, and is no longer in 9.2.0.
Downgrading to 9.0.0 allows the workaround to work, which I was doing, but now I want to use Google's Awareness API in v9.2.0, so this workaround doesn't work anymore.
I've looked around and I can't find any recent answers on the topic, so does anyone know how to solve this?
Upvotes: 1
Views: 189
Reputation: 658
All you need to do if you already have the workaround made, is use getMapAsync() instead of getMap and then put the parts after that into onMapReady().
If you don't have the workaround made, check the link in the question for an example
Upvotes: 1