This is one of those problems that is easy to describe but not so easy to code.
Maybe the simplest to code is, once you have the bounds from Routeboxer, get an XML file from the database containing all the markers and loop through each marker, testing if the Routeboxer bounds contains the LatLng of the marker. On http://www.roadtripamerica.com/maps/mapwizard.php I do it slightly differently, because I have each marker indexed by distance from three standard points. I use a MySQL search to narrow the prospective marker list, then test each marker individually. Hope this helps... Michael On May 30, 12:08 pm, Tejas B <[email protected]> wrote: > Hi all, > > This might be an age old question, but here it goes again. > > I am looking for some examples of how to display POIs from database > for a route between two points. I have looked at a few examples but > either they are copyrighted, or not enough description to tell me how > it works. > > I have looked at the Routeboxer and tried to integrate it with the > PHPSQl search examples. It sounds very straight-forward but unfort. > isn't so or I am doing something wrong. > > Any more examples or code samples are appreciated. > > Thanks, > -tejas -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
