On Wed, Feb 10, 2010 at 3:43 PM, aspekt9 <aspe...@gmail.com> wrote: > What exactly is the span though, >
This is the distance between the locations demarcated by the edges of the screen. For longitude it's the distance between the locations at the left and right edges of the screen. For latitude it's the distance between the locations at the top and bottom of the screen. how would I calculate if a given > coordinate or geopoint lies in between the span? > You have the mapview's current center location, yes? You have the longitude and latitude spans, yes? With that you can get 2 GeoPoints that represent the min and max points of the view. (center +/- (span / 2)) With that you can check if a given GeoPoint lies within that min and max. ------------------------------------------------------------------------------------------------- TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en