We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0189e8 commit 5c145ceCopy full SHA for 5c145ce
lib/core/map_service/map_service.dart
@@ -37,7 +37,7 @@ class MapService {
37
);
38
}
39
40
- Future<BitmapDescriptor?> createMarker(Widget widget) async {
+ Future<BitmapDescriptor> createMarkerIcon(Widget widget) async {
41
return BitmapDescriptor.fromBytes(await ScreenshotController()
42
.captureFromWidget(widget, delay: Duration.zero));
43
@@ -62,7 +62,7 @@ class MapService {
62
controller?.animateCamera(CameraUpdate.newCameraPosition(
63
CameraPosition(
64
target: latLng != null
65
- ? LatLng(latLng.latitude - .005, latLng.longitude)
+ ? LatLng(latLng.latitude, latLng.longitude)
66
: LatLng(0, 0),
67
zoom: zoom ?? 14,
68
),
0 commit comments