Making viapoints draggable in Bing Maps v8 -


i've seen lot of posts v8 not yet support viapointpushpinoptions , wondering if still case. make viapoints draggable, have not yet figured out how. code have...

directionsmanager.setrenderoptions({       viapointpushpinoptions: { visible: false },     viapointpushpinoptions: { draggable: true } }); 

any appreciated. thanks!

the viapointpushpinoptions property deprecated , there no plans add v8. in v8 can use following waypoint customizations:

waypointpushpinoptions firstwaypointpushpinoptions lastwaypointpushpinoptions 

that said, planning add function directions manager pushpins route make easy go through , customize each 1 as want. should in experimental branch if isn't there , in main release branch in few weeks.

if can't wait, can hide waypoints, loop through route data , create custom pushpins each waypoint see fit. here sample: http://bingmapsv8samples.azurewebsites.net/#fully%20custom%20waypoint%20pushpins


Comments

Popular posts from this blog

What is happening when Matlab is starting a "parallel pool"? -

angular - DownloadURL return null in below code -

php - Cannot override Laravel Spark authentication with own implementation -