Route App query

7/16/2014 1:01:44 AM
Total Posts 28

Route App query

As in RouteApp.aspx.cs..,when Route display Roads name does not hidden..,but in my case when I display route..,roads name get hidden.......,I tried a lot of thing but doesn't make road name visible when route display..,Can anyone tell me any solution fr this

7/16/2014 1:27:07 AM
MVP
Total Posts 323

Re: Route App query

This sample turns on road labels using the following code

layer.LabelField = "FNAME";
layer.ShowLabels = true;

7/16/2014 1:33:27 AM
Total Posts 28

Re: Route App query

But when route display between two points still that road label display.,in route app sample

I also want this to happen...,bcz when I display route between two points roads name got hidden by route layer line.,I want my roads name to display even when route layer line display on them

7/16/2014 2:17:23 AM
MVP
Total Posts 323

Re: Route App query

Set the opacity of the route layer as in the sample or move it below the road layer using Map.MoveLayer

routeLayer.Opacity = 0.3;

7/16/2014 2:30:58 AM
Total Posts 28

Re: Route App query

NOT working bro...,:(

7/16/2014 3:15:28 AM
MVP
Total Posts 323

Re: Route App query

Post your code.

7/16/2014 3:22:53 AM
Total Posts 28

Re: Route App query

bro...,I Don't hv permission for this

can u plz tell me how to use ...... Map.MoveLaye

7/16/2014 3:42:04 AM
MVP
Total Posts 323

Re: Route App query

If you cannot post the code, explore the RouteApp sample, if it works, your code should work too.

After a new layer is added, its index will be 0. To move it below another layer:

map.MoveLayer(0, map.GetLayerIndex("roads"));

7/18/2014 7:59:07 AM
Total Posts 28

Re: Route App query

I explore everthing bro..,

even comment out layer.opacity..,still roads names are displaying on route.,

plz help me finding any way to display roads name on route layer.

7/18/2014 8:28:43 AM
MVP
Total Posts 323

Re: Route App query

Sorry, can't help without looking at the code.

7/18/2014 8:52:19 AM
Total Posts 28

Re: Route App query

bro..route app is the code

I just want to know which part of code display road name when route display on them.