Xor96
Xor96

Reputation: 432

How to show custom locations in google map in flutter?

I have some locations stored in firebase and when the user wants the location it should display those locations in Google map. how can I show those locations in google map that is integrated with my flutter app?

Upvotes: 0

Views: 1464

Answers (1)

David Sedlář
David Sedlář

Reputation: 777

It depend if you want only move camera to wanted location or if you want to display location on map using Marker. Either way, you will need to get these locations from firebase to your app.

For adding Markers to your map follow these guidlines. If you want only changing camera position try method animateCamera() GoogleMapController.

Upvotes: 1

Related Questions