moagrius / MapView

(Deprecated, prefer https://github.com/moagrius/TileView) Android widget roughly described as a hybrid between com.google.android.maps.MapView and iOS's CATiledLayer
http://moagrius.github.com/MapView/documentation
69 stars 35 forks source link

Mismatch between x & y values #28

Closed phil-applegate closed 11 years ago

phil-applegate commented 11 years ago

It appears that in PathView.java the drawPath(List points) method has mistake regarding some x and y coordinates.

The line (71) reads: originalPath.moveTo( (float) start.x, (float) start.x );

I believe it should be: originalPath.moveTo( (float) start.x, (float) start.y );

moagrius commented 11 years ago

Good catch, thanks. I'll include in next update.