POST
|
Using a mapview we can display KML/KMZ files however when we use a scene view we can only get them to display stamped to the ground. We have tried adjusting the altitude and altitudeMode properties in the KML but no matter the setting they are stuck to the ground. Is it possible to display KML files in a scene view that floats or is there any alternatives for showing images in a scene view. Thanks, Aaron
... View more
03-28-2023
06:06 PM
|
0
|
0
|
295
|
POST
|
There was a error in the code I had where the operational layers were not linked correctly that a co-worker found. Should I take down this post or just mark it as resolved?
... View more
06-20-2022
06:16 PM
|
0
|
0
|
280
|
POST
|
We have noticed that KMLs will not display when added to a offline map. In our situation we are using *.VTPK's generated from ESRI services of portal items. There are sometimes situations where our users would like to view KMLs while they do not have access to the internet. When adding KMLs to portal item basemaps they display fine, we don't have any special methods or properties set when adding KMLs to offline maps. Any help would be appreciated I am lost on why they don't appear. Thanks, Aaron
... View more
06-20-2022
03:48 PM
|
0
|
2
|
313
|
POST
|
I am creating a offline basemap using the ExportTileCacheTask and when I load that basemap it locks the maximum extent of the mapview to the size of the created basemap. However my problem is when I switch to map from the arcgis portal that covers the whole earth the highest I can zoom out is stuck to what was set to when it loaded in the *.vtpk file. I have tried to browse around for some properties to adjust this but haven't had any luck yet. Thanks, Aaron
... View more
04-14-2022
05:38 PM
|
0
|
2
|
332
|
POST
|
In the current 100 SDK I have not been able to find support for these file types but I am told that support for them will be added in the future. I would like to know when these features will be available and in what pricing tier they will be locked behind. Thanks, Aaron
... View more
11-29-2017
12:15 PM
|
1
|
1
|
433
|
POST
|
Hi Mike, thank you for the answer. I gave this a shot and it does seem to work on layers not placed on the AcceleratedLayerCollection however, when I do try it on that collection is says that the source of the PictureMarkerSymbol is not JSON serializable. Can you confirm if that is what you see as well? Regards, Aaron
... View more
02-01-2013
09:16 AM
|
0
|
0
|
261
|
POST
|
Has anyone found a good way to rotate a PictureMarkerSymbol on a accelerated layer yet? The only method I have found that would possible work is to write a new image to the HDD everytime it is rotated and then use the a new PictureMarkerSymbol with a source set to the URI of the new image. I have been looking around trying to make ImageSources JSON serializable with no luck. Any suggestions? Regards, Aaron
... View more
01-29-2013
08:48 AM
|
0
|
2
|
2207
|
POST
|
In the previous release the hybrid version of bing maps would not function(it worked great in the beta though), was that corrected with this release? Also, KML layers were not listed under the "Accelerated display limitations" , have they been setup to work with the accelerated display layers? Regards, Aaron
... View more
01-22-2013
01:51 PM
|
0
|
1
|
638
|
POST
|
We have small raster data sets that we would like users to be able to add dynamically. The Element Layer cannot be accelerated, and we have experimented with adding images with into a PictureFillSymbol without success. Is there another method for adding raster datasets to the accelerated container that I am missing? Regards, Aaron
... View more
10-10-2012
01:33 PM
|
0
|
0
|
678
|
POST
|
I feel I might not have worded this question well enough to invoke a response. 🙂 I am looking for a suitable alternative to the element layer for loading a local geo-referenced image into wpf map. We have a solution using a element layer however the z order cannot be set and we have no way of placing a element layer in the required order. Regards.
... View more
10-09-2012
07:51 AM
|
0
|
0
|
932
|
POST
|
I am having issues finding a suitable method of loading a rastered geotiff file into the accelerated layers collection. My current method that works fine is to load the image into a ElementLayer as follows. var image = new BitmapImage(new Uri(filePath));
var newLayer = new ElementLayer();
var rect = new Rectangle();
rect.SetValue(ESRI.ArcGIS.Client.ElementLayer.EnvelopeProperty, convertedEnvelope);
rect.Fill = new ImageBrush(image);
newLayer.Children.Add(rect);
_esriMap.Layers.Add(newLayer); This method works fine except I have a accelerated layer collection that is rendering points from GPS readings that needs to be plotted on top of the rastered image. The only work around I can find is to change the opacity of the Element Layer in order to at least show the points behind the layer. This is a prefered method, I would like to be able to add the georeferenced image to a layer within my acceleratedLayers collection so I could set the layer order. If I have not explained my situation well enough let me know and I'll attempt to reword it. Regards, Aaron
... View more
10-04-2012
11:27 AM
|
0
|
16
|
5166
|
POST
|
I am having trouble getting local imagery in the TiledMapServiceLayer to render on the Accelerated Layers collection. Can anyone confirm if this works or not? Regards, Aaron
... View more
09-18-2012
02:54 PM
|
0
|
2
|
633
|
POST
|
Thank you sir, I'll look for it in the next release. Regards, Aaron
... View more
09-18-2012
09:04 AM
|
0
|
0
|
464
|
POST
|
Here is the entire section of code I am using that works if I use pre-release .dll's but not with release .dll's. XAML: [HTML]<Window x:Class="esritest.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MainWindow" Height="350" Width="525" xmlns:esri="http://schemas.esri.com/arcgis/client/2009"> <Grid> <esri:Map ZoomFactor="1.5" PanDuration="0" ZoomDuration="0" WrapAround="True" MinimumResolution=".0000001" IsLogoVisible="False" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Name="map1" /> <GroupBox HorizontalAlignment="Left" VerticalAlignment="Top"> <Grid> <Rectangle Fill="White" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/> <StackPanel Orientation="Horizontal"> <RadioButton Name="_radioButtonRoad" Content="Road" IsChecked="True" Checked="_radioButtonRoad_Checked" Margin="3"/> <RadioButton Name="_radioButtonAerial" Content="Aerial" Checked="_radioButtonAerial_Checked" Margin="3"/> <RadioButton Name="_radioButtonAerialWithLabels" Content="Aerial With Labels" Checked="_radioButtonAerialWithLabels_Checked" Margin="3"/> </StackPanel> </Grid> </GroupBox> </Grid> </Window>[/HTML] Code: using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using ESRI.ArcGIS.Client.Bing;
using ESRI.ArcGIS.Client;
namespace esritest
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
TileLayer _bingLayer;
AcceleratedDisplayLayers _acceleratedDisplayLayersGroup = new AcceleratedDisplayLayers();
public MainWindow()
{
InitializeComponent();
Loaded += new RoutedEventHandler(MainWindow_Loaded);
}
bool _loaded = false;
void MainWindow_Loaded(object sender, RoutedEventArgs e)
{
map1.Layers.Add(_acceleratedDisplayLayersGroup);
if (map1.Layers["_bingLayer"] != null)
{
_acceleratedDisplayLayersGroup.ChildLayers.Remove(_bingLayer);
}
_bingLayer = new TileLayer
{
ID = "_bingLayer",
LayerStyle = TileLayer.LayerType.Road,
ServerType = ServerType.Production,
Token = "My Key",
Visible = true,
//ShowLegend = false
};
_bingLayer.Initialize();
_acceleratedDisplayLayersGroup.ChildLayers.Add(_bingLayer);
_loaded = true;
}
private void _radioButtonRoad_Checked(object sender, RoutedEventArgs e)
{
if (_loaded)
{
_acceleratedDisplayLayersGroup.ChildLayers.Remove(_bingLayer);
_bingLayer = null;
_bingLayer = new TileLayer
{
ID = "_bingLayer",
LayerStyle = TileLayer.LayerType.Road,
ServerType = ServerType.Production,
Token = "My Key",
Visible = true,
};
_bingLayer.Initialize();
_acceleratedDisplayLayersGroup.ChildLayers.Add(_bingLayer);
}
}
private void _radioButtonAerial_Checked(object sender, RoutedEventArgs e)
{
if (_loaded)
{
_acceleratedDisplayLayersGroup.ChildLayers.Remove(_bingLayer);
_bingLayer = null;
_bingLayer = new TileLayer
{
ID = "_bingLayer",
LayerStyle = TileLayer.LayerType.Aerial,
ServerType = ServerType.Production,
Token = "My Key",
Visible = true,
};
_bingLayer.Initialize();
_acceleratedDisplayLayersGroup.ChildLayers.Add(_bingLayer);
}
}
private void _radioButtonAerialWithLabels_Checked(object sender, RoutedEventArgs e)
{
if (_loaded)
{
_acceleratedDisplayLayersGroup.ChildLayers.Remove(_bingLayer);
_bingLayer = null;
_bingLayer = new TileLayer
{
ID = "_bingLayer",
LayerStyle = TileLayer.LayerType.AerialWithLabels,
ServerType = ServerType.Production,
Token = "My Key",
Visible = true,
};
_bingLayer.Initialize();
_acceleratedDisplayLayersGroup.ChildLayers.Add(_bingLayer);
}
}
}
}
... View more
09-18-2012
08:53 AM
|
0
|
0
|
464
|
POST
|
Are you using the WPF pre-release .dll's that are version 3.0.0.318 or the release version 3.0.0.396. In the pre-release version I can get all three types of the bing map to display correctly. However if I use the release dll's I can only get road and aerial to work. Regards, Aaron
... View more
09-18-2012
08:35 AM
|
0
|
0
|
464
|
Title | Kudos | Posted |
---|---|---|
1 | 11-29-2017 12:15 PM |
Online Status |
Offline
|
Date Last Visited |
03-29-2023
01:49 PM
|