trail-android
trail-android copied to clipboard
Two routes error
When only two routes lib throwing exception, seems wrong condition. (builder.latLngs.size() <= 2)
else if (builder.latLngs == null || builder.latLngs.isEmpty() || builder.latLngs.size() <= 2) { throw new NullPointerException("LatLngs cannot be null or then count less than 2."); }
Yes, agreed.
This issue has been fixed in the development branch. There is a new approach that is being tried out for mapping latlng values to pixels based on google map's zoom level. Once that is done the development branch will be merged to master. Sorry but, I don't have an eta on this. Would accept a pull request if you could make the changes. Thank you.
Yes, agreed.
This issue has been fixed in the development branch. There is a new approach that is being tried out for mapping latlng values to pixels based on google map's zoom level. Once that is done the development branch will be merged to master. Sorry but, I don't have an eta on this. Would accept a pull request if you could make the changes. Thank you.
Hello there, I have the same issue