Select to view content in your preferred language

Polyline MXD not displying correctly in Silverlight application

1568
4
05-25-2010 09:10 AM
LokeshShakya
New Contributor
Hi There,

I have two issues that I am trying to get answer of

Q1

I created a polyline mxd and published it as Map service via Arc Gis server. And in Silver light I am using that mxd as
<esri:FeatureLayer ID="UserDefinedSegment"  Opacity="1"  Url="http://XXX/ArcGIS/rest/services/XXX/MapServer/1" DisableClientCaching="True"  > in page.xmal
But the lines that it get displayed is very small, I want to make line appear larger or thicker. I increased the font size in MXD and republish it but it does not get reflected at all. Is there a way to do so? Even If I change the symbol from Line to arrow and republish it, it does not work.
I have cleared Rest Cache/ restart IIS.

Q2
I have another polyline mxd that I brought into silverlight application.  But again  this mxd is not correctly displaying on silverlight. It is missing lines and the line breaks up in the middle. MXd is perfect when view in Arcmap.
So I am wondering why silverlight is having this issue. Is there something that I am missing?

Thanks
0 Kudos
4 Replies
DominiqueBroux
Esri Frequent Contributor
What kjnd of line symbols are you using in your MXD?

For test purpose, use a simple line symbol , set the width to 2 or more. Is the result better?
0 Kudos
LokeshShakya
New Contributor
Adding simpleline symbol  did the trick for the first quetion. I am still working on my second issues.

Thanks for you insight
0 Kudos
SantoshV
Emerging Contributor
Adding simpleline symbol  did the trick for the first quetion. I am still working on my second issues.

Thanks for you insight



Hey did u fnid the solution to your second question
I am encountering the same issue..
0 Kudos
dotMorten_esri
Esri Notable Contributor
Note that Silverlight only supports a subset of styles that ArcMap supports, so try and keep your symbology fairly simple if its meant to be consumed by a WebMap client using client side rendering.
0 Kudos