POST
|
Hi, I'm using the Label's Priority of the JSON in order to priorise between differente GraphicsOverlay but it's not working. Is it a known bug? I'm using it this way: StringBuilder labelBuilder = new StringBuilder(); labelBuilder.AppendLine("{"); // Define a labeling expression that will show the Name attribute value labelBuilder.AppendLine("\"allowOverrun\": true ,"); labelBuilder.AppendLine("\"allowOverlapOfLabel\": \"allow\" ,"); labelBuilder.AppendLine("\"allowOverlapOfFeatureBoundary\": \"allow\" ,"); labelBuilder.AppendLine("\"allowOverlapOfFeatureInterior\": \"allow\" ,"); labelBuilder.AppendLine("\"priority\": 25 ,"); labelBuilder.AppendLine("\"labelExpressionInfo\": {"); labelBuilder.AppendLine("\"expression\": \"return $feature.Name;\"},"); // Align label horizontally labelBuilder.AppendLine("\"labelPlacement\": \"esriServerPointLabelPlacementCenterRight\","); labelBuilder.AppendLine("\"multiPart\": \"labelLargest\","); // Set the style for the text symbol labelBuilder.AppendLine("\"symbol\": {"); labelBuilder.AppendLine("\"color\": [255,255,255,255],"); labelBuilder.AppendLine("\"haloColor\": [51,51,51,255],"); labelBuilder.AppendLine("\"haloSize\": 1.5,"); labelBuilder.AppendLine("\"font\": {\"size\": 10, \"weight\": \"bold\"},"); labelBuilder.AppendLine("\"type\": \"esriTS\"}"); labelBuilder.AppendLine("}"); Thanks
... View more
01-20-2021
04:24 AM
|
0
|
8
|
3052
|
POST
|
Hi, did you get any solution on this? I'm having the same problem... Regards Madrid
... View more
01-13-2021
02:55 AM
|
0
|
0
|
1146
|
POST
|
Thanks @JoeHershman . I've been testing that functionality with the Code Samples (Show Location History) and it's not working correctle as it recenters late and not with each position update. Apart from that, when panning on the mapview, it sems like the functionality is stopped. Is something wrong on the sample or is it a bug? Will this bugs be fixed? If yes, how can this be used to assign a graphic to be recentered, because from what I've seen you create the symbol on runtime, but I need to assign this recenter mode to a already created graphic.
... View more
01-07-2021
02:27 AM
|
0
|
10
|
2548
|
POST
|
Hi, I'm using ArcGIS Runtime .net 100.9 version. I'd like to know if there's a way of center constantly the map on the movement of an element. What I'm using now is to when moving the element, make a SetViewpointCenterAsync, but it's not a valid approach since the map's center is changed everytime. Map should stay centered all the time on the element without any visual effect. Regards Gonzalo
... View more
12-21-2020
02:05 AM
|
0
|
13
|
3263
|
POST
|
I'm using wmts with geoserver by getting the capabilities like this: http://192.168.0.1:8070/geoserver/World/gwc/service/wmts?REQUEST=getcapabilities By doing it this way, Arcgis is using the REST interface to get tiles. Is there any way to use the KVP interface?
... View more
10-01-2019
04:45 AM
|
0
|
2
|
1372
|
POST
|
Is there anyway to set layers or graphics priorities? With priorities I mean that in case of overlapping, set a priority of being on top to some certain type of graphics / layers?
... View more
07-26-2019
12:04 AM
|
0
|
2
|
1287
|
POST
|
Hi, Is there any way to reduce the timeout when failing to load asynchronously a WmtsService? I am doing it the following way: WmtsService myWmtsService = new WmtsService(new Uri(currentLayer.Path)); await myWmtsService.LoadAsync().ConfigureAwait(true); Regards Gonzalo
... View more
07-15-2019
12:31 AM
|
0
|
0
|
348
|
POST
|
I'm using IdentifyGraphicsOverlaysAsync to detect a graphic from the map with the latitude and longitude of the element, the exact latitude and longitude. The problem es that this method not always returns the appropiate graphic and it returns others that are close. I've test many method usages but none of them returns only the graphic. Only if I put a big number of results it works, but I only want one graphic result, the one int the position. Why is this method not working and how can I make it work appropiately?
... View more
06-07-2019
03:13 AM
|
0
|
0
|
405
|
POST
|
I need to adjust those properties for the offline map. Which one is the correct option to use offline maps allowing me to change those properties?
... View more
06-04-2019
07:30 AM
|
0
|
0
|
587
|
POST
|
I've got an offline (local) map in case the online one fails. I get the local maps and I create a Geodatabase per each file, and then I create a FeatureLayer being the FeatureTable of the featurelayer the geodatabase. Finally I assign the LayerCollection of FeatureLayers to the BaseMap.BaseLayers. My problem is that I need to adjust the contrast, gamma y brightness as with the WmtsLayer but I cannot. I've tried to cast the FeatureLayer to a Layer and then to ImageAdjustmentLayer but it returns and InvalidCastException. How can I do this?
... View more
05-23-2019
05:13 AM
|
0
|
2
|
672
|
POST
|
Your approach ends into the same result: Esri.ArcGISRuntime.ArcGISRuntimeException: 'Object already owned.: Graphic cannot be added - it is already in an owning collection.'
... View more
03-13-2019
01:01 AM
|
0
|
0
|
1196
|
POST
|
Hi, I have a map and an overview map, and I'd like to have same graphics on both maps, but when trying to assign a GraphicsOverlay to the GraphicOverlays of both maps, it returns an exception that object is already owned, because both maps have same graphics. How can this be done? Can I clone or copy graphics o GraphicOverlays? Regards Gonzalo
... View more
02-21-2019
03:13 AM
|
0
|
4
|
1543
|
POST
|
Will MaxExtent be available in next update of ArcGIS Runtime?
... View more
02-10-2019
11:51 PM
|
0
|
1
|
938
|
Title | Kudos | Posted |
---|---|---|
2 | 02-07-2019 11:21 PM |
Online Status |
Offline
|
Date Last Visited |
04-12-2021
12:58 AM
|