|
POST
|
Hi, I haven't seen this happening before. Could you provide more details on the computer configuration that you are using? (model, graphics card used, screen resolution / dpi, etc...) Is this reproducible regularly, occurs every time or rarely? Are you using NuGet or SDK download?
... View more
08-26-2015
01:50 AM
|
0
|
0
|
1411
|
|
POST
|
Hi, Synchronization should work with secured services. How are you generating the token and can you confirm that it's set correctly to the GeodatabaseSyncTask?
... View more
08-26-2015
01:46 AM
|
0
|
5
|
3770
|
|
POST
|
Thanks Mark again, I have confirmed issue and logged a bug issue for these ones.
... View more
08-26-2015
01:35 AM
|
0
|
2
|
2837
|
|
POST
|
I have logged a bug issue for this, thanks for providing repro. Could you also provide repros for the GeometryEngine issues that you are seeing?
... View more
08-25-2015
08:48 AM
|
1
|
4
|
2837
|
|
POST
|
I had finally time to check it today and I can see what you are seeing. I sent it to my colleague that knows more about 3d than I do. Hopefully he can figure it out.
... View more
08-25-2015
08:16 AM
|
0
|
3
|
3742
|
|
POST
|
Also if you are using a plane picture in 3d, i would recommend to use ModelMarkerSymbol with 3d plane in instead of simple picture.
... View more
08-14-2015
05:17 AM
|
0
|
1
|
2145
|
|
POST
|
Here is example how to implement symbol rotation / height in Store app (just follow the same approach if you are working with wpf). <Page
x:Class="ArcGISRuntime.Samples.Store.Samples.SymbolRotation3d"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:ArcGISRuntime.Samples.Store.Samples"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:esri="using:Esri.ArcGISRuntime.Controls"
xmlns:layers="using:Esri.ArcGISRuntime.Layers"
xmlns:symb="using:Esri.ArcGISRuntime.Symbology"
xmlns:sceneSymb="using:Esri.ArcGISRuntime.Symbology.SceneSymbology"
mc:Ignorable="d">
<Grid>
<Grid.Resources>
<symb:SimpleRenderer x:Key="SimpleDiamondRenderer">
<symb:SimpleRenderer.SceneProperties>
<symb:RendererSceneProperties HeadingExpression="[Heading]"
PitchExpression="[Pitch]"
RollExpression="[Roll]" />
</symb:SimpleRenderer.SceneProperties>
<symb:SimpleRenderer.Symbol>
<sceneSymb:DiamondMarkerSymbol Color="Blue" Width="1000" Height="2000"/>
</symb:SimpleRenderer.Symbol>
</symb:SimpleRenderer>
<symb:SimpleRenderer x:Key="SimpleBoxRenderer">
<symb:SimpleRenderer.SceneProperties>
<symb:RendererSceneProperties HeadingExpression="[Heading]"
PitchExpression="[Pitch]"
RollExpression="[Roll]" />
</symb:SimpleRenderer.SceneProperties>
<symb:SimpleRenderer.Symbol>
<sceneSymb:BoxMarkerSymbol Width="1000" Height="1000" Depth="1000" Color="Red"/>
</symb:SimpleRenderer.Symbol>
</symb:SimpleRenderer>
</Grid.Resources>
<esri:SceneView x:Name="MySceneView" LayerLoaded="MySceneView_LayerLoaded">
<esri:Scene>
<esri:Scene.Surface>
<esri:ServiceElevationSource ServiceUri="http://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer"
IsEnabled="True" />
</esri:Scene.Surface>
<layers:ArcGISTiledMapServiceLayer ID="AGOLayer"
ServiceUri="http://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer" />
<!--<layers:GraphicsLayer ID="DiamondGraphicsLayer" Renderer="{StaticResource SimpleDiamondRenderer}">
<layers:GraphicsLayer.SceneProperties>
<layers:LayerSceneProperties SurfacePlacement="Draped"/>
</layers:GraphicsLayer.SceneProperties>
</layers:GraphicsLayer>
<layers:GraphicsLayer ID="BoxGraphicsLayer" Renderer="{StaticResource SimpleBoxRenderer}">
<layers:GraphicsLayer.SceneProperties>
<layers:LayerSceneProperties SurfacePlacement="Draped"/>
</layers:GraphicsLayer.SceneProperties>
</layers:GraphicsLayer>-->
</esri:Scene>
<esri:SceneView.GraphicsOverlays>
<esri:GraphicsOverlay ID="DiamondGraphicsLayer" Renderer="{StaticResource SimpleDiamondRenderer}">
<esri:GraphicsOverlay.SceneProperties>
<layers:LayerSceneProperties SurfacePlacement="Relative"/>
</esri:GraphicsOverlay.SceneProperties>
</esri:GraphicsOverlay>
<esri:GraphicsOverlay ID="BoxGraphicsLayer" Renderer="{StaticResource SimpleBoxRenderer}">
<esri:GraphicsOverlay.SceneProperties>
<layers:LayerSceneProperties SurfacePlacement="Draped"/>
</esri:GraphicsOverlay.SceneProperties>
</esri:GraphicsOverlay>
</esri:SceneView.GraphicsOverlays>
</esri:SceneView>
<Grid HorizontalAlignment="Right" VerticalAlignment="Top" Margin="10" Width="100">
<Border BorderBrush="Gray" BorderThickness="2" CornerRadius="4" Background="LightGray">
<StackPanel>
<StackPanel Background="Transparent" Margin="5">
<TextBlock x:Name="txtHeading" Text="Heading" Foreground="Black"/>
<Slider x:Name="HeadingSlider" Minimum="0" Maximum="360" ValueChanged="OnHeadingSliderChanged"/>
</StackPanel>
<StackPanel Background="Transparent" Margin="5">
<TextBlock x:Name="txtPitch" Text="Pitch" Foreground="Black"/>
<Slider x:Name="PitchSlider" Minimum="0" Maximum="360" ValueChanged="OnPitchSliderChanged"/>
</StackPanel>
<StackPanel Background="Transparent" Margin="5">
<TextBlock x:Name="txtRoll" Text="Roll" Foreground="Black"/>
<Slider x:Name="RollSlider" Minimum="0" Maximum="360" ValueChanged="OnRollSliderChanged"/>
</StackPanel>
</StackPanel>
</Border>
</Grid>
</Grid>
</Page> using Esri.ArcGISRuntime.Controls;
using Esri.ArcGISRuntime.Geometry;
using Esri.ArcGISRuntime.Layers;
using Esri.ArcGISRuntime.Symbology;
using Esri.ArcGISRuntime.Symbology.SceneSymbology;
using System;
using System.Linq;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
namespace ArcGISRuntime.Samples.Store.Samples
{
public sealed partial class SymbolRotation3d : Page
{
public SymbolRotation3d()
{
this.InitializeComponent();
}
private void MySceneView_LayerLoaded(object sender, Esri.ArcGISRuntime.Controls.LayerLoadedEventArgs e)
{
if (e.LoadError == null && e.Layer.ID == "AGOLayer")
{
MySceneView.SetViewAsync(new Camera(new MapPoint(-106.57, 39.01, 14614.24), 281.66, 74.47), new TimeSpan(0, 0, 3), true);
AddGraphics();
}
}
private void AddGraphics()
{
Graphic graphic = new Graphic(new MapPoint(-106.981, 39.028, 6000, SpatialReferences.Wgs84));
// Add a graphic to each graphics layer. It will use the renderer specified in the XAML to render the graphic.
foreach (GraphicsOverlay gOverlay in MySceneView.GraphicsOverlays)
{
gOverlay.Graphics.Add(graphic);
}
}
/// <summary>
/// Change the Heading of the graphics based on the slider values (0-360).
/// </summary>
private void OnHeadingSliderChanged(object sender, RangeBaseValueChangedEventArgs e)
{
foreach (GraphicsOverlay gOverlay in MySceneView.GraphicsOverlays)
{
foreach (Graphic g in gOverlay.Graphics)
{
g.Attributes["Heading"] = (sender as Slider).Value;
}
}
// Display the slider Heading value
txtHeading.Text = String.Format("Heading: {0:0.00}", (sender as Slider).Value.ToString());
}
/// <summary>
/// Change the Pitch of the graphics based on the slider values (0-360)
/// </summary>
private void OnPitchSliderChanged(object sender, RangeBaseValueChangedEventArgs e)
{
foreach (GraphicsOverlay gOverlay in MySceneView.GraphicsOverlays)
{
foreach (Graphic g in gOverlay.Graphics)
{
g.Attributes["Pitch"] = (sender as Slider).Value;
}
}
// Display the slider Pitch value
txtPitch.Text = String.Format("Pitch: {0:0.00}", (sender as Slider).Value.ToString());
}
/// <summary>
/// Change the Roll of the graphics based on the slider values (0-360)
/// </summary>
private void OnRollSliderChanged(object sender, RangeBaseValueChangedEventArgs e)
{
foreach (GraphicsOverlay gOverlay in MySceneView.GraphicsOverlays)
{
foreach (Graphic g in gOverlay.Graphics)
{
g.Attributes["Roll"] = (sender as Slider).Value;
}
}
// Display the slider Roll value
txtRoll.Text = String.Format("Roll: {0:0.00}", (sender as Slider).Value.ToString());
}
}
}
... View more
08-14-2015
04:42 AM
|
1
|
3
|
2145
|
|
POST
|
Deployment builder is designed to work with (most) application type projects. One of the reasons why class libraries aren't supported is that if you are creating a centralized component you need to explicitly make sure that runtime is initialized and licensed correctly. Technically you can just create the deployment using normal wpf application and then copy the deployment folder to the same location with your applications that should work.
... View more
08-14-2015
02:53 AM
|
0
|
0
|
1061
|
|
POST
|
Hi Matt, Depending on your requirements for the popup but please see MapOverlays sample from samples repository: arcgis-runtime-samples-dotnet/MapOverlays.xaml at master · Esri/arcgis-runtime-samples-dotnet · GitHub arcgis-runtime-samples-dotnet/MapOverlays.xaml.cs at master · Esri/arcgis-runtime-samples-dotnet · GitHub Implementation is very straight forward and if you for example need to edit / show attributes in the popup, put FeatureDataForm in and you are good to go.
... View more
08-14-2015
02:30 AM
|
1
|
1
|
1830
|
|
POST
|
API support offline editing including editing attachments. Offline model is based on the FeatureServices that are sync enabled and they can be hosted in ArcGIS Online, Portal or Server. Please refer following documentation and check the samples. Tutorials: Create an offline app—ArcGIS Runtime SDK for .NET | ArcGIS for Developers Guide documentation: Create an offline map—ArcGIS Runtime SDK for .NET | ArcGIS for Developers Sync offline edits—ArcGIS Runtime SDK for .NET | ArcGIS for Developers Samples: arcgis-runtime-samples-dotnet/src/Phone/ArcGISRuntimeSamplesPhone/Samples/Offline at master · Esri/arcgis-runtime-sample…
... View more
08-14-2015
02:25 AM
|
1
|
3
|
1936
|
|
POST
|
Just make sure that the path is correct to the dae file. If you include that to the project, make sure that it ends to the bin folder too. If that doesn't help,could you provide me a simple reproducer from your issue?
... View more
08-14-2015
02:13 AM
|
0
|
6
|
3742
|
|
POST
|
Hi Mark, Not that I know. Could you create a simple producer for the issue?
... View more
08-13-2015
01:44 AM
|
0
|
1
|
2837
|
|
POST
|
I would recommend to check that your printer enables border-less printing (other vice it most likely creates margins). Make sure that this is enabled to print full paper maps. If your printer doesn't support it, then you might need to adjust the size of the print so that it's not larger than actual view estate in the print.
... View more
08-12-2015
08:04 AM
|
0
|
1
|
1258
|
|
POST
|
Hi, You should be able to create it more or less like this: Create renderer with ModelMarkerSymbol <esri:SimpleRenderer x:Key="RedArrowModelRenderer">
<esri:SimpleRenderer.Symbol>
<esri:ModelMarkerSymbol Scale="1000" SourceUri=".\\Data\\RedArrow.dae"/>
</esri:SimpleRenderer.Symbol>
<esri:SimpleRenderer.SceneProperties>
<esri:RendererSceneProperties HeadingExpression = "[heading]" PitchExpression="[pitch]" RollExpression="[roll]"/>
</esri:SimpleRenderer.SceneProperties>
</esri:SimpleRenderer> Then just define your layer to use that renderer.
... View more
08-12-2015
07:49 AM
|
0
|
8
|
3742
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-12-2014 03:52 AM | |
| 1 | 08-27-2015 03:47 AM | |
| 1 | 12-08-2014 09:58 AM | |
| 1 | 05-05-2015 10:19 AM | |
| 1 | 07-30-2015 08:43 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|