mapa perfil profesional
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user