POST
|
Hi, Nope, no transparency (opacity) is required to replicate the problem at my side.
... View more
09-21-2016
06:48 PM
|
0
|
1
|
444
|
POST
|
I have checked that the same issue occurs in SDK version 10.2.5 which probably indicates that the issue occurred for quite a long time. Since the issue is easy to replicate but there isn't any other with the same issue, may I know if there's any methods of reordering layer on the MapView that I should be using instead?
... View more
09-04-2016
07:16 PM
|
0
|
0
|
444
|
POST
|
Note for people having the same issues, Quartz does not have the same issue but upgrading from 10.2.8 is not a simple change in Gradle.
... View more
08-30-2016
08:08 PM
|
0
|
0
|
444
|
POST
|
Hi Everyone, I am trying to use the order of the MapView.Layers to track the layer order in my program. However, I realized that when I remove a layer from the MapView then subsequently adding the layer back, the layer in the operations will eventually become invisible. I have tried setting the layer opacity and visibility but the layer just does not appear. Even if I add additional Graphics to test the layer, the objects in the layer just does not appear. However, I can still find the layer and all the Graphics, even the recently added but still as invisible ones, when I debug the program at break points. Here is a section of the code that I have used for reordering of Layers. if (actualToPosition >= 0 && fromPositionLayer instanceof GraphicsLayer) {
GraphicsLayer graphicsLayer = (GraphicsLayer) fromPositionLayer;
mapView.removeLayer(graphicsLayer);
mapView.addLayer(graphicsLayer, actualToPosition);
} Does anyone know if there's missing operation that I need to do for the MapView to "redraw" or "reload" a layer. I have the other option of reassigning DrawOrder of each Graphic object in a layer instead of a remove and add but the operation seems too heavy when dealing with a heavily populated layer. I could also reload the layer by serializing then de-serializing but it is again a very heavy operation. If anyone have any alternatives that I am missing out at the moment, do let me know as well. Thanks in advance for any help. Edit: I realized that if I perform the 3 operations again after I pinch to zoom, the Graphics will reappear. Android 6.0.1 Esri 10.2.8-1
... View more
08-29-2016
07:54 PM
|
0
|
5
|
1231
|
POST
|
Hi, May I know if it is possible to load a Local MBTiles file into the Dotnet Universal Windows Platform? So far, the only example I have managed to find is for Android API. Any help and preferably with example is greatly appreciated. Thanks and Regards, Steelis2013
... View more
01-19-2016
11:53 PM
|
0
|
3
|
3547
|
POST
|
I have found out how to load from the local folder using the SetSourceAsync(Uri). Instead of constructing an Uri from a StorageFile path, construct an Uri using the format "ms-appdata://local/<filename>". I was hoping that the input for PictureMarkerSymbol to be similar to BitmapImage or the Image control. I think it will still be great if someone is able to share how to load the images into the PictureMarkerSymbol using the StorageFile, StorageFolder API for navigating through a Folder(Temp, Local, LocalCached etc..) or Library.
... View more
12-28-2015
05:21 PM
|
0
|
0
|
194
|
POST
|
Hi Everyone, I am currently developing an app on the Universal Windows Platform with Esri Runtime for Dotnet10.2.6. I have a dynamic list of Images that needs to be applied different Color before being inserted into the Esri Map via PictureMarkerSymbol. I am currently facing problem trying to load an image from my App’s Local folder into the PictureMarkerSymbol although I have no problem loading an image that is already included In the project. This is the code that is able to load the Image properly into a Image control: var folder = Windows.Storage.ApplicationData.Current.LocalFolder; var file = await folder.GetFileAsync("test.png"); Uri path = new Uri(file.Path, UriKind.Absolute); image_Button.Source = new BitmapImage(path); This is the code that is not loading the same image correctly for the PictureMarkerSymbol: var folder = Windows.Storage.ApplicationData.Current.LocalFolder; var file = await folder.GetFileAsync("test.png"); Uri path = new Uri(file.Path, UriKind.Absolute); await myPicMarkerSymbol.SetSourceAsync(path); However, if I were to load an image of an image already included in the project, I will be able to load the image correctly within the PictureMarkerSymbol. Uri path = new Uri(@"ms-appx:/// Assets/MapSymbolsDefault/test.png"); await unitPicMarkerSymbol.SetSourceAsync(path); As the online resources that I have found thus far are currently using some online image as the PictureMarkerSymbol, is the PictureMarkerSymbol able to load images from the Local folder(or Temporary, Cached etc)? If so, may I know if there are sample codes on how to do it? If not, what are the proper ways to do dynamic image generation for usage with PictureMarkerSymbol? Thanks in advance for any help.
... View more
12-27-2015
11:11 PM
|
0
|
1
|
2626
|
POST
|
Hi Xueming, Thank you for the answer. Actually I'm just verifying that it is a bug in the ArcGIS Android API and hopefully let the Developers in Esri be aware of it. I have workarounds in my use case for now but I thought it will be better in the future for that to be fixed in future releases. Best Regards, Steelis
... View more
06-08-2015
07:13 PM
|
0
|
1
|
583
|
POST
|
Hi Will and Everyone, This is a sample value from debugging the TextSymbol. I have obttaiend the value from the List of Graphic in the MapView Font [family=null, size=8.0, style=normal] Note that the Size was 18 prior to adding. After adding into the list then immediately obtaining the object using the Graphic UID, the value is now 8. I have verified the problem with my colleague who also encountered the same problem previously. Thank you in advance for the help.
... View more
05-19-2015
08:34 PM
|
0
|
3
|
583
|
POST
|
Hi Everyone, I have recently created a CompositeSymbol that consist of a PictureMarkerSymbol, TextSymbol and a SimpleMarkerSymbol. After adding the CompositeSymbol into the GraphicLayer, I realize that the TextSymbol within the added GraphicSymbol have actually lost the Font information. This is a portion of the code where the CompositeSymbol is created and the values tested: Graphic graphic = CreateACompositeSymbol(); if (graphic != null) { int graphicUID = graphicslayer.addGraphic(graphic); Graphic graphicAdded = graphicslayer.getGraphic(graphicUID); Symbol symbol = graphicAdded.getSymbol(); if(symbol instanceof CompositeSymbol){ CompositeSymbol compositeSymbol = (CompositeSymbol) symbol; List<Symbol> listofSymbols = compositeSymbol.getSymbols(); for(Symbol innerSymbol : listofSymbols){ if(innerSymbol instanceof TextSymbol){ float size = ((TextSymbol) innerSymbol).getSize(); } } } I think you can create your own composite symbol then just place a breakpoint at the last line to see the difference in the Font value for the TextSymbol in the graphic and graphicAdded object. The text value is the same and the color in the Attributes map is correct though. Can anyone confirm if they have the same problem? Thanks in advance for any help.
... View more
05-15-2015
02:48 AM
|
0
|
5
|
4081
|
POST
|
Hi, I am writing a program to load in old data files to display on ArcGIS Runtime and run across the following coordinates 374123990 4729222. I know that the set of coordinate refer to a location in Singapore and was told it was using the Kertau RSO Malaya Meters Spatial Reference. I have tried Googling for a formula or method but I couldn't really find any help on the issue. Or at least from a non-GIS background, I couldn't really link the information to the issue. So, I'm hoping if there's anyone that could help or know of any method or formula to convert a coordinate from Kertau RSO Malaya to WGS84 or something that is humanly possible to display on ArcGIS runtime (Android to be exact)? A big "Thank You" in advance for any help.
... View more
04-26-2015
06:15 PM
|
0
|
2
|
3964
|
POST
|
Hi, I have just recently tried using the Android SDK. I understand from the sample code that the use of PictureFillSymbol will allow me to place images onto the map as a polygon. However, when I try to use it in my project, the images will become smaller as I zoom in the map and becomes Tiled. May I know the way to disable such auto sizing and tiling? I was previously working on Arcgis SDK for WPF and I've previously used the polygon to display a video. May I know if there is any View/Controls in SDK for Android that performs a similar function? I have tried placing the Video in a CalloutPopupWindow instead (which is the current workaround for the Picture as well), but Android seems to be having a problem displaying the VideoView on the CalloutPopupWindow. Thanks in advance
... View more
03-26-2015
01:36 AM
|
0
|
0
|
4348
|
POST
|
Hi, I am rather new to the routing in ArcGIS so hopefully I can get some help here. I understand from the ArcGIS Runtime SDK for WPF sample for Network routing that a RouteTask requires a URL from a server and one of the product from ArcGIS is the ArcGIS Server Manager. So in order to have my own routing service, I will need a ArcGIS Server Manager setup in my network, right? Therefore, if my PC clients do not have a constant online connection but require routing service, I will need to set up the ArcGIS Server Manager on the network, if not on each computer, to provide the routing service? Finally, is there some other way in the Runtime for WPF for routing without the use of a server or a online connection? Thanks in advance for the help.
... View more
06-15-2014
07:29 PM
|
0
|
1
|
1438
|
POST
|
Hi, Thanks for the suggestion thus far. However, I still could not quite implement the touch selection function for the Graphics in an active layer in my Map control. The following code is created based on the sample applications from Arcgis.
public void EnableActiveLayerGraphicSelection()
{
ActiveMLL.gl.MouseLeftButtonDown += GraphicsLayer_MouseLeftButtonDown;
}
private void GraphicsLayer_MouseLeftButtonDown(object sender, GraphicMouseButtonEventArgs e)
{
e.Handled = true;
if (e.Graphic.Geometry is MapPoint)
{
e.Graphic.Selected = true;
selectedPointGraphic = e.Graphic as gGraphics;
}
else
{
editGeometry.StartEdit(e.Graphic);
}
} The above code is what I would use to select a Graphic object in my active layer in a map. However, I couldn't find a similar method for touch in the Layer class that will allow me to easily obtain the Graphic object nor provide me with a touch event. As of now, I am able to listen to the touch event in my Map control then obtain the touchpoint. But after that, I have no idea on how to easily check if the point is within a Graphic object other than looping through all the layers then check with the Geometry of each graphic.
... View more
04-29-2014
01:57 AM
|
0
|
0
|
341
|
POST
|
Hi, After drawing a Graphic (for instance a free hand line), we were trying to implement a function to select and move the drawn graphics as available in the Sample tools. However, we come to realize that it is not as easy when using the touch to select the Graphic for moving as compare to a mouse. May I know if that is some limitation for the RunTime SDK at the moment for touch to move Graphic? Finally is there any function in the SDK for grouping of Graphics (without using Layers)? Thanks in advance.
... View more
04-23-2014
08:28 PM
|
0
|
4
|
2939
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|