javascript - Geting bike paths coordinates from Google Maps API -


introduction: google maps allows show bicycling route on map point x point y. google can show bike paths on given map 4 different types: trails, dedicated lanes, bicycly-friendly roads, dirt/unpaved trails. different bike paths painted different colours.

what need do: need write application (when given start point x, , endpoint y) retrieve information of how big percentage of 4 types of bike paths route contain, result should that, ex. trails: 20% dedicated lanes: 15% bicycly-friendly roads: 40% dirt/unpaved trails: 25%

is possible fetch such information google maps api?

my research: have figured out there bicyclinglayer object (https://developers.google.com/maps/documentation/javascript/examples/layer-bicycling) allows paint bike paths on map, , documentation says bicycling layer painted on map directionsrenderer when bicycling chosen travelmode. have tested can show bicycling paths on map. wonder if possible coordinates of bike paths google map (after got painted), or maybe possible them direction bicyclinglayer after displayed on map?

if can somehow coordinates of bike paths painted, can calculate percentage of 4 types of paths route consists of.

any on that, , sample code appreciated.


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -