What information do you have in the DB lat/lng? http://code.google.com/apis/maps/documentation/flash/reference.html#LatLng.distanceFrom
You'd have to pre-load all the data from the DB into the client then run that method for all points being compared to the currently selected point given the appropriate distance (point being if you have a ton of data, like 10s of thousands or hundreds of thousands of entries I'm almost positive you'll run into execution time issues). There's also some discussion on this topic on stackoverflow (in quite a few threads but here's one: http://stackoverflow.com/questions/790206/find-all-records-in-database-that-are-within-a-certain-distance-of-a-set-of-lat-a ) If you find after attempting to implement the pull all data solution you find that there's efficiency issues post back with how many entries you're dealing with and I can try some things out. Shaun -- You received this message because you are subscribed to the Google Groups "Google Maps API For Flash" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api-for-flash?hl=en.
