Select to view content in your preferred language

Scalebar does not display

792
3
10-29-2010 09:39 AM
ChrisBradberry
Deactivated User
Hey,

I am using the glass template, and the scalebar works before I customize it.  When I changed to my map service, the scalebar quit working.  My map service is a custom projection, but I stated the WKID and the extent.  will changing the map service projection disable the scalebar?

Is there some setting that I am missing?

Chris
0 Kudos
3 Replies
JenniferNery
Esri Regular Contributor
0 Kudos
ChrisBradberry
Deactivated User
Jennifer,

I looked at that, but I have already upgraded to silverlight api v2.0.   Off and on it seems like the scalebar is really squished into the right side of the scalebar area. 

Chris
0 Kudos
ChrisBradberry
Deactivated User
I figured out that the map units were set at decimal degrees, so I added the mapunit to the navigator callout in xaml and it worked fine.

<localtoolkit:Navigator x:Name="nav" Map="{Binding ElementName=Map}" HorizontalAlignment="Left" Loaded="nav_Loaded" Grid.Row="1" d:LayoutOverrides="Height" Grid.RowSpan="2" MapUnit="Feet"/>


Chris
0 Kudos