fluttermapsadvance icon indicating copy to clipboard operation
fluttermapsadvance copied to clipboard

coordinate LatLng mistake (with fix)

Open Nightwelf opened this issue 4 years ago • 2 comments

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

Nightwelf avatar Dec 28 '20 04:12 Nightwelf

hello @Nightwelf thank u for comment, i'll fix soon

VB10 avatar Dec 28 '20 07:12 VB10

hello @Nightwelf thank u for comment, i'll fix soon

Thank you! Your code is perfect! I love it!

Nightwelf avatar Dec 28 '20 17:12 Nightwelf