Open Nightwelf opened 3 years ago
Your code: LatLng get coordinate => LatLng(long, lat);
LatLng get coordinate => LatLng(long, lat);
But LatLng constructor is: const LatLng(double latitude, double longitude)
const LatLng(double latitude, double longitude)
Correct code is: LatLng get coordinate => LatLng(lat, long);
LatLng get coordinate => LatLng(lat, long);
And in the end of your need change all your data to fix
hello @Nightwelf thank u for comment, i'll fix soon
Thank you! Your code is perfect! I love it!
Your code:
LatLng get coordinate => LatLng(long, lat);
But LatLng constructor is:
const LatLng(double latitude, double longitude)
Correct code is:
LatLng get coordinate => LatLng(lat, long);
And in the end of your need change all your data to fix