|
|
@ -44,18 +44,18 @@ class _MyAppState extends State<MyApp> {
|
|
|
|
backgroundColor: Colors.green[700],
|
|
|
|
backgroundColor: Colors.green[700],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
body: GoogleMap(
|
|
|
|
body: GoogleMap(
|
|
|
|
onMapCreated: _onMapCreated,
|
|
|
|
onMapCreated: _onMapCreated,
|
|
|
|
initialCameraPosition: CameraPosition(
|
|
|
|
initialCameraPosition: CameraPosition(
|
|
|
|
target: _center,
|
|
|
|
target: _center,
|
|
|
|
zoom: 11.0,
|
|
|
|
zoom: 11.0,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
markers: {
|
|
|
|
markers: {
|
|
|
|
// ignore: prefer_const_constructors
|
|
|
|
const Marker(
|
|
|
|
Marker(
|
|
|
|
markerId: MarkerId('Sydney'),
|
|
|
|
markerId: const MarkerId('Sydney'),
|
|
|
|
position: LatLng(-33.86, 151.20),
|
|
|
|
position: const LatLng(-33.86, 151.20),
|
|
|
|
)
|
|
|
|
)
|
|
|
|
},
|
|
|
|
}),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|