Compare commits

..

No commits in common. "5e0b541786cc7978b0928dbf14f9d87259581006" and "67b56b576460ff23e6c0669b6627ecf47c72a9ee" have entirely different histories.

3 changed files with 3 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

View File

@ -244,14 +244,14 @@ class _MapboxPagesState extends State<MapboxPages> with ShowErrorDialog {
// Register the custom images
// Add event marker
final eventMarkerImage = await _loadMarkerImage('images/marker-red.png');
final userMarkerImage = await _loadMarkerImage('images/marker.png');
// Register the image with Mapbox
await mapController.addImage('user-marker', eventMarkerImage);
await mapController.addImage('user-marker', userMarkerImage);
await mapController.addSymbol(SymbolOptions(
geometry: userPosition,
iconImage: 'user-marker', // Custom icon for event
iconSize: 0.2,
iconSize: 0.4,
));
// Fetch and draw route

View File

@ -79,7 +79,6 @@ flutter:
- .env
- images/search.png
- images/marker.png
- images/marker-red.png
# - images/a_dot_ham.jpeg
# An image asset can refer to one or more resolution-specific "variants", see