Reputation: 1259
I'm using Google Map Api ver 2 in Android app. I have implemented drawing marker in call onMapReady(GoogleMap googleMap) and it works fine.
After changing marker cooridnates in the same fragment I would like manually to initialize onMapReady(). Any have idea how to implement this?
Upvotes: 0
Views: 3717
Reputation: 1006644
Step #1: Move the "drawing marker" code into a separate method.
Step #2: Call that method from onMapReady()
.
Step #3: Call that method "after changing marker coordinates in the same fragment".
Upvotes: 2