Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Im trying to generate directions using google.maps.DirectionsService and I really need those directions bounded by the paths defined from within a pre-made kml file. I have reviewed the API docs for google maps and doesnt seem they have this functionality.

This is for a custom app where areas are already defined inside a kml file that is layered over google maps.

Any ideas?

Thanks

share|improve this question
    
After looking around, this is the only approach I have. Use Cases: 1.- If start point is outside the KML bounded paths 1.1 - Get directions from start point to nearest entrance to KML bounded path using google.maps.DirectionsService 1.2 - If Destination point is outside KML bounded path 1.2.1 - Get directions to nearest entrance of KML bounded path from destination using google.maps.DirectionsService 1.2.2 - From the nearest entrance used as an end point in 1.1, find shortest path through KML bounded path using Dijkstra's algorithm to entrance found in 1.2.1. –  cs_brandt Mar 27 '12 at 20:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.