The first thing that comes to mind is java.awt.Polygon.contains(). I've used it, but obviously with AWT and also with polygon data from http://www.census.gov/geo/www/cob/
One approach then would be to find a similar Android polygon class that can be used to draw and hit test your map and a way to convert the map's bitmap image into a vector image, or at least a vector overlay for the bounds hit test. There are some ways you can get vector from a bitmap. I've used Visio by putting the image on one layer and tracing out the vector shapes in another layer, then writing some VB to export the shape vector data to XML. Do you have Adobe CS? That might have some tools for converting bitmap shapes to vectors. Or perhaps the image was originally authored with vectors? There may also be some clever ways to do hit tests on the color values in the bitmap. -- 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