Here’s what worked for me, without so much bs. int x = (int) ((MAP_WIDTH/360.0) * (180 + lon)); int y = (int) ((MAP_HEIGHT/180.0) * (90 – lat)); The lat,lon coordinates were given to me by Android devices. So they should be in the same standard used by all Google Earth/Map products.
Here’s a simple Kalman filter that could be used for exactly this situation. It came from some work I did on Android devices. General Kalman filter theory is all about estimates for vectors, with the accuracy of the estimates represented by covariance matrices. However, for estimating location on Android devices the general theory reduces to … Read more