flutter_map: display a custom popup when the marker is tapped
This project uses the flutter_map package to integrate a map and attach a custom popup to a specific marker when it is tapped. Adding a specific popup over marker on a FlutterMap generated some issues for many developers. Here you can find more details.
Read the Flutter_map: custom popup above the marker article on Medium for a detailed documentation.
Running
Before running the app, go to Mapbox, create an account, sign in and stylize your map. After you create a beautiful map, copy its integration URL and paste it inside home_screen.dart
file as a value for urlTemplate
parameter of TileLayerOptions
widget. Complete the additionalsOptions
parameters with requierd values: acceessToken
and id
.