LatLong: added distance operation used for determining closed polygons (rounding problems with doubles)
Fix for line-dotting on Android 2.3