POST
|
In 4.6, which object do I apply these property to? can't find either of the two in the reference.
... View more
02-28-2018
02:44 PM
|
0
|
1
|
451
|
POST
|
Is there anybody know how to create a closed multipatch ? I create two cubes which I believe they are enclosed. but the ArcGIS 3D analyst told me it is not. I wondered if there is any criteria which should be used to create the closed cube . Please help ! the final result I need is to extract the overlapping part of the two cubes, In order to do this, the cubes have to be closed.
... View more
03-30-2016
02:47 PM
|
0
|
3
|
3536
|
POST
|
Hello everyone, I am trying to change the sample codes to run time labeling function, which needs to enable labels to show when you click a button ArcGIS API for Silverlight - Interactive Samples | ArcGIS for Developers ---this is the sample I was trying to modify. and the result I got from step-by-step debugging looks fine. but I don't see any labels show up to my map here are my codes: private void Button_Click(object sender, RoutedEventArgs e) { ArcGISDynamicMapServiceLayer DLayer = new ArcGISDynamicMapServiceLayer(); DLayer = (ArcGISDynamicMapServiceLayer)MyMap.Layers["PDLayer"]; DLayer.LayerDrawingOptions = new LayerDrawingOptionsCollection(); LayerDrawingOptions layerdrawingoptions = new LayerDrawingOptions() { LayerID = 1, ShowLabels = true, ScaleSymbols = true }; LabelClassCollection labelclasscollection = new LabelClassCollection(); LabelClass labelclass1 = new LabelClass() { LabelExpression = "[POP2000]", LabelPlacement = LabelPlacement.LinePlacementAboveAfter, Where = "[POP2000] <= 61", MinScale = 5000, LabelOptions = new LabelOptions() { Color = Colors.Red, FontFamily = new FontFamily("Arial"), FontSize = 10, FontWeight = FontWeights.Bold } }; LabelClass labelclass2 = new LabelClass() { LabelExpression = "[POP2000]", LabelPlacement = LabelPlacement.LinePlacementAboveAfter, Where = "[POP2000] > 61 AND [POP2000] <264", MinScale = 15000, LabelOptions = new LabelOptions() { Color = Colors.Black, FontFamily = new FontFamily("Arial"), FontSize = 10, FontWeight = FontWeights.Bold } }; LabelClass labelclass3 = new LabelClass() { LabelExpression = "[POP2000]", LabelPlacement = LabelPlacement.LinePlacementAboveAfter, Where = "[POP2000] > 264", MinScale = 30000, LabelOptions = new LabelOptions() { Color = Colors.Blue, FontFamily = new FontFamily("Arial"), FontSize = 14, FontWeight = FontWeights.Bold } }; labelclasscollection.Add(labelclass1); labelclasscollection.Add(labelclass2); //=labeldrawingoptions.labelclass.add() labelclasscollection.Add(labelclass3); layerdrawingoptions.LabelClasses = labelclasscollection; DLayer.LayerDrawingOptions.Add(layerdrawingoptions); DLayer.Refresh(); MyMap.UpdateLayout(); }
... View more
05-15-2015
10:19 AM
|
0
|
1
|
2867
|
POST
|
Problem fixed: Solution. I was setting the extent at the runtime, which caused the above problem. So I set the extent in XAML file to let it run in the design time. the problem is gone.
... View more
04-29-2015
10:21 AM
|
0
|
0
|
205
|
POST
|
we are doing a silverlight project and ArcGIS is part of it. when I tried to intergrid my silverlight project into our whole project ,which is build on Devpress and Caliburn.Micro. I got the error mesasge : anyone has clue about how to solve the problem?
... View more
04-29-2015
08:24 AM
|
0
|
1
|
3901
|
POST
|
hello, I reviewed my code. here is my solution to figure out the problem. I didn't use generic.xaml. but I put all the merge directory in the app.xaml. and I add the x:Key in the window panel style . here is my codes look like: <Style x:Key="Windowpanel"> <Setter Property="Effect" Value="{StaticResource dropShadow}" /> <Setter Property="HorizontalContentAlignment" Value="Stretch" /> <Setter Property="VerticalContentAlignment" Value="Stretch" /> <Setter Property="Background" Value="{StaticResource CommonBackgroundBrush}" /> </Style> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="/dms_geo;component/Map/Arc/Styles/NavigationStyle.xaml" /> <ResourceDictionary Source="/dms_geo;component/Map/Arc/UserControls/WindowPanel.xaml" /> <ResourceDictionary Source="/dms_geo;component/Map/Arc/UserControls/CollapsiblePanel.xaml" /> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> </Application.Resources> Application>
... View more
03-06-2015
06:41 AM
|
0
|
0
|
270
|
POST
|
Thank you very much for you respond. I tried and it still didn't work for me. But I got it work finally by your steps plus one more step. I add the x:name
... View more
03-05-2015
07:22 AM
|
0
|
2
|
270
|
POST
|
Hello, I am deploying my ArcGIS silverlight api application into another project and the UserControls (WindowPanel and CollapsiblePanel) don't work at all in another project file. and I changed the resource directory under my current project in generic.xaml .But they still don't work. Please help me out Thank you!
... View more
02-24-2015
02:39 PM
|
0
|
4
|
3807
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|