On Apr 12, 10:17 pm, kasa <[email protected]> wrote: > No. I added another map to the google base map. It is a powerline > route. Now I want to be able to calculate the distance between any > location the user input into the find address input box and the > powerline route that I have overlaid on the google base map.
To do that, the API needs to know both ends of the distance: one is the point you geocode (so that's available); the other is the route of the power line. How are you going to get the API to use that route if all you have done is overlay an image? You need something concrete within the API, like a polyline. Create a polyline on the Google map which follows the route, and you can easily find the distance from your geocoded point. And you won't need the overlaid map image either. -- 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.
