thanks for all the info. My long-term plan is to definitely find and pay someone who actually knows what they're doing. But for the short term, how would I tell the map to center on the coordinates? And how would I get rid of the marker it creates?
thank you On Jan 26, 5:36 pm, Rossko <[email protected]> wrote: > >http://www.charitywater.org/projects/map_googlemaps.php > > Your KML doesn't show up in FF2, I don't know why but the > filehttp://www.charitywater.org/map/wells.kml > fails validation inhttp://kmlvalidator.com/validate.htm > > > The goal here is to allow a user to search and locate a project based > > on it's GPS coordinates. The idea is when they punch in a GPS into the > > search bar at the top, the map would go to that project, and pop open > > a balloon. > > It's unlikely that any given set of coordinates will be an exact > match. Even a GPS unit will give different readings from day to day. > So you're going to have to search within some tolerance i.e. find > nearby targets. > > You might find that the use of KML will hamper this. Using GGeoXml > to render the KML en-bloc makes it difficult to get hold of the > individual marker information to do any comparisons. > > The usual way to tackle this kind of requirement is to maintain a > server side database, and have the webpage submit search criteria and > receive in return data to display on the map - > examplehttp://code.google.com/apis/maps/articles/phpsqlsearch.html > > If you're stuck with using a spreadsheet, I guess its not easy to > implement on demand searches in that. So you'd need to implement it > client side - obtain the data for all of your markers, and iterate > through them comparing to your target search data, displaying the > nearest one found. It's not that difficult but not trivial. > > How about an alternative approach - just centre the map on the > 'search' coordinates at a sensible zoom level and allow the end user > to see what's nearby for themselves. You could add a circle to show a > 10km radius or whatever. -- You received this message because you are subscribed to the Google Groups "Google Maps API" 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?hl=en.
