none
Limit items displayed by the RouteSummaryView RRS feed

  • Question

  • Hi,

    I am using Bing Maps in my Windows Store (8.1) application. I am displaying the route directions from A to B in the RouteSummaryView as follows:

    vardirectionsManager = MyMap.DirectionsManager;      

    RouteResults.Content = directionsManager.RouteSummaryView;

    In the above code, RouteResults is a ScrollViewer. I am getting the directions correctly but am unable to manipulate the data displayed by the RouteSummaryView.

    How can I display ONLY the next 3 direction steps in the ScrollViewer?

    Thanks in advance!

    Wednesday, May 28, 2014 5:19 AM

Answers

  • YoOu are pretty limited in the type of customizations you can do to the route summary view. You can set the options through the RenderOptions property of the DirectionsManager. Here are the available options: http://msdn.microsoft.com/en-us/library/dn306010.aspx

    That said, if you only want to show a smaller list you can always give your ScrollViewer a height that only shows approximately 3 instructions at a time.


    http://rbrundritt.wordpress.com

    Wednesday, May 28, 2014 8:02 AM