|
POST
|
It's bizzare it would work on Android but not on iOS. What do you see on iOS when you run the app: - White mapview with esri logo or - Gray map with empty grid - Do you see any attribution text on the bottom? - What is map's loadstatus when it does not render on iOS? You could also try subscribing to `MapView.LayerViewStateChanged` to get more info on layer's rendering state. I am happy to try if you are able to share the vtpk that does not render on iOS.
... View more
06-26-2024
06:51 PM
|
0
|
1
|
2353
|
|
POST
|
You need to check ON `Support ArcGIS Maps SDK` at the time of creating a map package. See ArcGIS Pro reference doc https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/package-map.htm Also see our public sample on accessing a Featurelayer from a localservice: https://github.com/Esri/arcgis-maps-sdk-dotnet-samples/tree/main/src/WPF/WPF.Viewer/Samples/LocalServer/LocalServerFeatureLayer Hope this helps!
... View more
06-19-2024
02:12 PM
|
2
|
1
|
1558
|
|
POST
|
I am unable to reproduce the behavior. If you can share symbol's json I will be more than happy to look at it further.
... View more
06-19-2024
02:05 PM
|
0
|
1
|
980
|
|
POST
|
@AndeBell , we have fixed the bug and it will be publicly available in upcoming 200.5 release scheduled sometime in mid August. Once again, thank you for reporting the issue.
... View more
06-18-2024
06:46 PM
|
0
|
0
|
1009
|
|
POST
|
There is no blending capability yet but you can mosaic multiple rasters. See https://github.com/Esri/arcgis-maps-sdk-dotnet-samples/tree/main/src/WPF/WPF.Viewer/Samples/Layers/ApplyMosaicRule for reference. Hope this helps.
... View more
06-14-2024
03:54 PM
|
0
|
0
|
751
|
|
POST
|
Thanks for reporting the issue and providing a clean reproducer. We will look into this further shortly and report back once I have more info.
... View more
06-03-2024
08:39 PM
|
0
|
0
|
1063
|
|
POST
|
I should have asked earlier how are you creating the symbols for the graphics. I believe you are using multilayer symbol. If not, then I recommend using Multilayer symbol for the graphic using the example provided below. If you are already using Multilayer symbol then choosing the right color for the bottommost stroke symbol layer and not having to apply any additional transparency should work for your use case. If you need additional transparency you can set it GraphicOverlay. overlay.Opacity = 0.8; Below are two images I captured with code snippet below. First one is GraphicsOverlay with 0.8 opacity and second one is without opacity. var overlay = new GraphicsOverlay();
polylineBuilder = new PolylineBuilder(SpatialReferences.Wgs84);
polylineBuilder.AddPoint(new MapPoint(-30, 20, SpatialReferences.Wgs84));
polylineBuilder.AddPoint(new MapPoint(30, 20, SpatialReferences.Wgs84));
polylineBuilder.AddPoint(new MapPoint(-30, -20, SpatialReferences.Wgs84));
polylineBuilder.AddPoint(new MapPoint(30, -20, SpatialReferences.Wgs84));
var tranpstrokeLayer = new SolidStrokeSymbolLayer(20, Color.Gray);
tranpstrokeLayer.CapStyle = StrokeSymbolLayerCapStyle.Round;
strokeLayer = new SolidStrokeSymbolLayer(3, Color.White);
strokeLayer.CapStyle = StrokeSymbolLayerCapStyle.Round;
dashEffect = new DashGeometricEffect();
dashEffect.DashTemplate.Add(7);
dashEffect.DashTemplate.Add(9);
dashEffect.DashTemplate.Add(0.5);
dashEffect.DashTemplate.Add(9);
strokeLayer.GeometricEffects.Add(dashEffect);
lineSymbol = new MultilayerPolylineSymbol(new List<SymbolLayer> { tranpstrokeLayer,strokeLayer });
var dashDotGraphic = new Graphic(polylineBuilder.ToGeometry(), lineSymbol);
overlay.Graphics.Add(dashDotGraphic); Few resources: https://github.com/Esri/arcgis-maps-sdk-dotnet-samples/tree/main/src/WPF/WPF.Viewer/Samples/Symbology/RenderMultilayerSymbols https://developers.arcgis.com/net/api-reference/api/net/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Symbology.MultilayerSymbol.html https://developers.arcgis.com/net/styles-and-data-visualization/symbols-renderers-and-styles/ Hope this helps.
... View more
05-10-2024
02:36 PM
|
0
|
0
|
1535
|
|
POST
|
I don't think there is currently any way to avoid the dark shaded area caused by overlapping in Native SDK. I was comparing Native SDK behavior with ArcGIS Pro and noticed that in ArcGIS Pro single feature does not cast shadow but multiple features will result in overlap shadows. Image above is from ArcGIS Pro that shows that if it is one geometry , it displays without overlaps at connecting vertices but if there are different geometries , it would cause the darker shade at overlaps. Unfortunately it is not same in Native SDKs. I will look further and see if something can be done in Native SDKs to achieve the same behavior. I will also log an issue internally for us to look into this further. If I find any workarounds I will let you know. Thanks, Preeti
... View more
05-09-2024
10:22 AM
|
0
|
1
|
1568
|
|
POST
|
Can't really tell from the logs what's going wrong and without knowing the app workflow or repro code its difficult to investigate further. I understand you can't provide your application code. Perhaps you can try creating a new app using .NET Maps SDK template and use the same map that you are trying to load in your app and see if that deploys on devices you are seeing a crash. If it doesn't then I suspect something in the app is triggering the crash. If you can create a consistent reproducible app, I will be more than happy to look at it further.
... View more
04-29-2024
01:16 PM
|
0
|
0
|
1881
|
|
POST
|
Hi @stuartkerkhof I tried the repro with 200.2 and you are right it is not working. Apparently it is a bug with FeatureCollectionLayer. I tried the code with GraphicsOverlay and it seems to be working. I don't know your workflow but you could use GraphicsOverlay as alternative solution until the bug is addressed. Here is the code using graphics overlay, if that helps. I will try to bump the priority on fixing issue with FeatureCollectionLayer in a near future release but can't promise anything for sure. private async void addGraphics_Click(object sender, EventArgs e)
{
var _graphicsOverlay = new GraphicsOverlay();
mapview.GraphicsOverlays.Add(_graphicsOverlay);
SolidStrokeSymbolLayer lineSymbol = new SolidStrokeSymbolLayer(1, Color.Black);
List<SymbolLayer> symbolLayers = new List<SymbolLayer>
{
lineSymbol
};
MultilayerPolylineSymbol multilayerPolylineSymbol = new MultilayerPolylineSymbol(symbolLayers);
List<MapPoint> mapPoints = new List<MapPoint>();
MapPoint[] coordinatesArray = new MapPoint[] { new MapPoint(0, 0), new MapPoint(5, 0), new MapPoint(5, 2), new MapPoint(5, -2) };
foreach (MapPoint coordinate in coordinatesArray)
{
mapPoints.Add(coordinate);
}
VectorMarkerSymbolElement symLyrEl = new VectorMarkerSymbolElement(new Polyline(mapPoints), multilayerPolylineSymbol);
List<VectorMarkerSymbolElement> vectorMarkerSymbolElements = new List<VectorMarkerSymbolElement>();
//add custom element to vectormarker symbol
vectorMarkerSymbolElements.Add(symLyrEl);
SimpleMarkerSymbol pointSymbol = new SimpleMarkerSymbol(SimpleMarkerSymbolStyle.Circle, Color.Transparent, 5)
{
Color = Color.Transparent,
Outline = new SimpleLineSymbol(SimpleLineSymbolStyle.Solid, Color.Black, 1)
};
pointSymbol.Style = SimpleMarkerSymbolStyle.Circle;
MultilayerPointSymbol multilayerPointSymbol = pointSymbol.ToMultilayerSymbol();
VectorMarkerSymbolElement vectorMarkerSymbolElement = new VectorMarkerSymbolElement(new MapPoint(0, 10), multilayerPointSymbol);
//add circle symbol to vectormarker symbol
vectorMarkerSymbolElements.Add(vectorMarkerSymbolElement);
VectorMarkerSymbolLayer symLyr = new VectorMarkerSymbolLayer(vectorMarkerSymbolElements);
List<VectorMarkerSymbolLayer> vectorMarkerSymbolLayers = new List<VectorMarkerSymbolLayer>();
vectorMarkerSymbolLayers.Add(symLyr);
MultilayerPointSymbol sym = new MultilayerPointSymbol(vectorMarkerSymbolLayers)
{
AngleAlignment = SymbolAngleAlignment.Map,
};
var sr = SpatialReference.Create(4839);
var map = new Map(sr);
map.ReferenceScale = 445;
mapview.Map = map;
var UVrenderer = new UniqueValueRenderer()
{
RotationExpression = "[RotationField]",
RotationType = RotationType.Arithmetic,
};
UVrenderer.FieldNames.Add("Asset_Type");
UVrenderer.UniqueValues.Add(new UniqueValue("Asset_Type", "Asset_Type", sym, "whatever"));
UVrenderer.DefaultSymbol = new SimpleMarkerSymbol(style: SimpleMarkerSymbolStyle.Cross, Color.Red, size: 10);
Graphic g1 = new Graphic();
g1.Geometry = new MapPoint(0, 0);
g1.Attributes["RotationField"] = 140;
g1.Attributes["Asset_Type"] = "whatever";
_graphicsOverlay.Graphics.Add(g1);
Graphic g2 = new Graphic();
g2.Geometry = new MapPoint(0, 0);
g2.Attributes["RotationField"] = 140;
g2.Attributes["Asset_Type"] = "whatever2";
_graphicsOverlay.Graphics.Add(g2);
_graphicsOverlay.Renderer = UVrenderer;
_graphicsOverlay.RenderingMode = GraphicsRenderingMode.Dynamic;
_graphicsOverlay.ScaleSymbols = true;
}
... View more
04-10-2024
12:45 PM
|
0
|
2
|
1948
|
|
POST
|
For WPF , you can create two types of application : WPF using .NET Framework or WPF using .NET. These are two different frameworks for creating a WPF app. I was suggesting to create a WPF application targeting .NET. Red circled ones are Microsoft's template for 1) WPF .NET and 2) WPF using .NET Framework. I was suggesting to use either the Maps SDK template( highlighted in blue) or the one I checked in image below. Blue is ArcGIS Maps SDK template for WPF .NET SDK templates can be installed from within Visual Studio. See https://developers.arcgis.com/net/install-and-set-up/#install-the-visual-studio-project-templates-optional for more info.
... View more
03-08-2024
03:36 PM
|
0
|
0
|
2576
|
|
POST
|
Creating point cloud layer can not be done in ArcGIS Maps SDK for .NET using Rest APIs. If you want to publish it programmatically you need use an ArcGIS Pro Geoprocessing Tool called `Create Point Cloud Scene Layer Content (Data Management)`. Once you have the output .slpk you can use it in your .NET SDK app and add it to scene. https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/create-point-cloud-scene-layer-package.htm
... View more
03-08-2024
09:25 AM
|
0
|
1
|
1547
|
|
POST
|
Is it a WPF Framework app? If yes, try a WPF .NET app.
... View more
03-08-2024
09:07 AM
|
0
|
1
|
2606
|
|
POST
|
The fix is planned for upcoming 200.4 release in mid April.
... View more
02-02-2024
08:25 AM
|
0
|
0
|
3680
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-11-2025 03:29 PM | |
| 2 | 09-04-2025 04:44 PM | |
| 1 | 04-14-2025 10:39 AM | |
| 1 | 12-17-2024 01:28 PM | |
| 1 | 01-16-2025 02:56 PM |
| Online Status |
Offline
|
| Date Last Visited |
Thursday
|