[[Source_Code_ServicesEditionSample_RoutingExtension_RoutingStyles_CS_100211.zip|View Source]]
{{:File:ServicesEditionSample_RoutingExtension_RoutingStyles_CS_100211.zip|C# Download}}
[[Map Suite Samples Applies To|Applies To: Desktop \ Web \ Silverlight \ Services \ Wpf ]]
\\
[[Map Suite Samples Alternate Languages | Need it in another language?]]
The API for the Routing extension product provides a class RoutingLayer. RoutingLayer is basically a convenient layer to have the features for routing being displayed in a default way. You can add the start, end point, the routes and it is going to display that nicely for you without much work on your side. While this is convenient, you may be in the situation when you want more control on the styles and have the whole flexibility that an InMemoryFeatureLayer gives you. In this project, we show how to display in InMemoryFeaturesLayers the start and end points, as well as the resulting route using the full power of InMemoryFeatureLayer such as zoom levels and custom styles.