mapa perfil profesional

This commit is contained in:
Juan Felipe Duarte
2023-04-22 19:02:24 -05:00
parent 03bd8401b5
commit 4f900db559
6 changed files with 320 additions and 128 deletions
+6 -13
View File
@@ -121,7 +121,7 @@ class _ServiceScreenState extends State<ServiceScreen> {
if (place.thoroughfare != '' || place.subThoroughfare != '') {
address =
"${place.thoroughfare}, ${place.subThoroughfare} ${place.subLocality}, ${place.locality}, ${place.administrativeArea}";
"${place.thoroughfare} ${place.subThoroughfare} ${place.subLocality}, ${place.locality}, ${place.administrativeArea}";
} else {
address = '';
}
@@ -164,16 +164,6 @@ class _ServiceScreenState extends State<ServiceScreen> {
});
}
},
// onCameraIdle: () {
// setState(() {
// if (coordinates != null) {
// placemarkFromCoordinates(coordinates.target.latitude, coordinates.target.longitude);
// _locationController.text = coordinates.toString();
// }
// });
// },
onCameraMove: (position) {
setState(() {
coordinates = position.target;
@@ -188,7 +178,7 @@ class _ServiceScreenState extends State<ServiceScreen> {
),
),
const Positioned(
bottom: 0,
bottom: 10,
right: 0,
left: 0,
top: 0,
@@ -233,7 +223,10 @@ class _ServiceScreenState extends State<ServiceScreen> {
// LatLng(position.latitude, position.longitude)));
},
elevation: 0,
child: const Icon(Icons.location_on),
child: const Icon(
Icons.gps_fixed,
size: 30,
),
),
),
Padding(