Update:
- MapTile-Filesystem-Cache can now be limited in size (if the size exceeds, tiles get deleted to 90% of max)
- MapTile-Memory-Cache can now be limited in quantity (I'm using
LRU-Cache-Strategy here)
- Running Animations can now be stopped at any point in time.
- Overlays are working, just as with the original MapView. See sample:
[align=center]

[/align]
There is currently a common 'bug' or better a problem within the Projection(that is when converting from a GeoPoint to Screencoordinates) in far out zoomed maps:
Using java Syntax Highlighting
/**
* Converts a GeoPoint to its ScreenCoordinates. <br/>
* <br/>
* <b>CAUTION</b> ! Conversion currently has a large error on <code>zoomLevels <= 7</code>.<br/>
* The Error on ZoomLevels higher than 7, the error is below <code>1px</code>.<br/>
* TODO: Add a linear interpolation to minimize this error.
* <PRE>Zoom Error(m) Error(px)
* 11 6m 1/12px
* 10 24m 1/6px
* 8 384m 1/2px
* 6 6144m 3px
* 4 98304m 10px </PRE>
* @param in the GeoPoint you want the onScreenCoordinates of.
* @param reuse just pass null if you do not have a Point to be 'recycled'.
* @return the Point containing the approximated screencoordinates of the GeoPoint passed.
*/
public Point toPixels(final GeoPoint in, final Point reuse) {
// ...
}
Parsed in 0.031 seconds, using
GeSHi 1.0.8.4
That is when you have zoomed in that about the half of the united states convers the screen, you have about 5px of error, that is almost not recognizable. But anyway I am working on a interpolation for this.
The first public release will contain a couple of samples to show how easy it is to utilize my OpenStreetMapView.
Best Regards,
plusminus