POST
|
You need to setup a listener on the graphics layer and then search for graphics in the touch radius using the getGraphicsIDs function.
... View more
11-28-2012
05:55 AM
|
0
|
0
|
765
|
POST
|
Can u say how is the path for access? I'm trying to test this sample, but don't know wich files put in the thevice and where (I haven't an SDcard). Thanks! The path is still file:///mnt/sdcard/..... even thought there is no SD card. This is the way that it worked on both and Asus Transformer tablet and a droid phone.
... View more
09-24-2012
05:14 AM
|
0
|
0
|
361
|
POST
|
The return from requesting the legend items is always null. Then when I try and access that collection it throws a nullpointerexception.
... View more
08-02-2012
05:24 AM
|
0
|
0
|
477
|
POST
|
Are there any samples on using a legend with a service that is hosted from my ArcGIS Server. I keep getting errors when I try to usethe get legend method on the LayerInfos.
... View more
07-30-2012
10:23 AM
|
0
|
5
|
832
|
POST
|
Can someone post the code for the symbols used in the esri App for the measuring of areas and distances? I am trying to get the vertexes to be syled a specific way and the only way i can do that is by adding a point graphic at each vertex.
... View more
07-05-2012
08:59 AM
|
0
|
0
|
274
|
POST
|
I am getting really close to what I am trying to do. Is there a way to drag the points to move them and delete them? Also, what are the coordinates that I get off of the geometry(point). It is not the screen coordinates it looks like (1.845, 4800.00). I somehow need to convert these coordinates to Web Mercator so that I can pull them from a SQLite DB and load them to a web application.
... View more
06-08-2012
12:25 PM
|
0
|
0
|
765
|
POST
|
That works for the nulls but what about grouping the values into one symbol. I need a way to merge these three lines into one so that they are only one row in the legend as other and not 3 rows. <esri:UniqueValueInfo Value="{x:Null}" Label="Other" Symbol="{StaticResource OtherAccessLineSymbol}" />
<esri:UniqueValueInfo Value="1WAY" Label="Other" Symbol="{StaticResource OtherAccessLineSymbol}" />
<esri:UniqueValueInfo Value="0" Label="Other" Symbol="{StaticResource OtherAccessLineSymbol}" />
... View more
06-08-2012
05:27 AM
|
0
|
0
|
290
|
POST
|
Is is possible to use the unique value renderer to display null values as a symbol or all other values?
... View more
06-07-2012
12:00 PM
|
0
|
3
|
3455
|
POST
|
Thanks Andy. How do I add attributes to the graphics? I am trying to do it this way. HashMap<String, Object> map = new HashMap<String, Object>();
map.put("note", "");
graphicsLayer.updateGraphic(graphic.getUid(), map);
... View more
06-05-2012
02:01 PM
|
0
|
0
|
765
|
POST
|
Is there a sample that shows how to move points in a graphics layer and display the attributes? The Graphic object does not have an onClickListener or anything else that allows you to click a graphics.
... View more
06-04-2012
01:27 PM
|
0
|
11
|
4088
|
POST
|
I got it working now, thanks for your help. Is there any documentation on using the map control with MVVM? I am working towards adding some feature layers to my map and then bringing up InfoWindows when clicked.
... View more
05-17-2012
12:54 PM
|
0
|
0
|
599
|
POST
|
Now the background is set when I initially load the application to the property set in the ViewModel but when I change the background using the radio button nothing changes. I can see that the command is running and setting the value but it is like the layer is not updataing or refreshing. LayerStyle="{Binding NewLayerType, Source={StaticResource ViewModel}, Mode=TwoWay}" public class MainPageViewModel : ViewModelBase
{
private TileLayer.LayerType _newLayerType;
public RelayCommand UpdateBackgroundCommand { get; private set; }
public MainPageViewModel()
{
_newLayerType = TileLayer.LayerType.AerialWithLabels;
WireCommands();
}
private void WireCommands()
{
UpdateBackgroundCommand = new RelayCommand(UpdateBackground);
UpdateBackgroundCommand.IsEnabled = true;
}
#region Properties
public TileLayer.LayerType NewLayerType
{
get
{
return _newLayerType;
}
set
{
if (_newLayerType != value)
{
_newLayerType = value;
OnPropertyChanged("NewLayerType");
}
}
}
#endregion
public void UpdateBackground(object param)
{
switch(param.ToString())
{
case "Road":
_newLayerType = TileLayer.LayerType.Road;
MessageBox.Show(_newLayerType.ToString());
break;
case "Aerial":
_newLayerType = TileLayer.LayerType.Aerial;
MessageBox.Show(_newLayerType.ToString());
break;
case "AerialWithLabels":
_newLayerType = TileLayer.LayerType.AerialWithLabels;
MessageBox.Show(_newLayerType.ToString());
break;
}
}
} public class ViewModelBase : INotifyPropertyChanged
{
public bool IsDesignTime
{
get { return DesignerProperties.IsInDesignTool; }
}
#region INotifyPropertyChanged Members
public event PropertyChangedEventHandler PropertyChanged;
protected virtual void OnPropertyChanged(string propName)
{
var propChanged = PropertyChanged;
if (propChanged != null)
{
propChanged(this, new PropertyChangedEventArgs(propName));
}
}
#endregion
}
... View more
05-17-2012
09:03 AM
|
0
|
0
|
599
|
POST
|
That got me part of the way. Is the LayerStyle property on the bing tile layer bindable? I have a property of TileLayer.LayerType but the binding does not seem to be working. <bing:TileLayer ID="BingLayer" LayerStyle="{Binding NewLayerType}"
... View more
05-16-2012
11:38 AM
|
0
|
0
|
599
|
POST
|
I am trying to convert the Bing maps sample where you can toggle between the background types to MVVM for practice. I am stuck on how to get the tag off of the radio buttons so that I can toggle and how to bind the layer style property on the bing layer to the LayerType in the ViewModel. Can this be done using MVVM?
... View more
05-16-2012
07:10 AM
|
0
|
7
|
1795
|
POST
|
I am using the popup window to show results from the identify task. Is it possible to put the results in a datagrid inside of a popup window? When the user arrows through the selected features then it would show the attributes in a grid.
... View more
04-03-2012
09:28 AM
|
0
|
0
|
492
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|