User Tools

Site Tools


map_suite_routing_faq_styles

Map Suite Routing FAQ Styles

How can I show one-way streets arrows on my roads?

This question has a corresponding sample application(s) associated with it.

Sample:Displaying One-Way Streets

In the Discussion Forum Post “Drawing one-way streets in the map”, we have a question on how to display an arrow on a street that is one way as Google Map does. In this project, we show the solution by creating a LineStyle specifically for that purpose. We take the shapefile “AustinWithOneWayRoad.shp” from the sample app “Route On One-Way Roads” of Map Suite Routing Extension to display the arrow according to the traffic direction on the one-way streets

How do I create a custom style to display routes?

This question has a corresponding sample application(s) associated with it.

Sample:Routing Styles

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.

map_suite_routing_faq_styles.txt · Last modified: 2015/09/11 04:00 by admin