> I would like to have a way to determine if a user (mobile device with > GPS) has arrived at their destination based on Google Maps directions > and geolocation. What values should be compared and what accuracy > level (+/- distance) should be set in order to make this > determination? Any suggestions would be appreciated.
That's entirely up to you. Factors to take into account: GPS are not accurate to nanometres. Roads, etc, are physical objects with dimensions. If your user is 20m away he may be on the other side of the road to your target - is that good enough for you? We can't decide for you. Buildings, plots, are physical objects etc. If a building has a 100m frontage when does your user arrive at it? If they are walking (you didn't say) that might be more important. Directions results take you to nearest point that they know of, to the point they think you are trying to get to. You might specify an address (you didn't say) which geocodes e.g. to a rooftop. Directions can never quite get to that from the public street. Or, if geocoding is poor in the area or country you are operating in (you didn't say), Directiions may only take you to the end of the street and not a specific address. I'd think I'd start experimenting with proximity in the 20 to 100m range and see how it goes. -- 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.
