|
POST
|
Are able to view the raster layer though?, If yes, then it's fine because the issue with rater layer reporting incorrect viewstate and error is already logged internally in our bug tracking system but hasn't been prioritized yet.
... View more
01-18-2023
01:01 PM
|
0
|
0
|
721
|
|
POST
|
Sorry I didn't catch that :-), are you saying you have a fix for BasemapGallery control for .NetFramework and want to send the fix for a review? If you like your fix to be reviewed you are more than welcome to raise a PR in toolkit repo and we can assess the fix at that time.
... View more
01-18-2023
11:47 AM
|
0
|
2
|
1019
|
|
POST
|
The AR Toolkit for ArcGIS Maps SDK for .NET is currently not available for version 200.0 due to the absence of support for ARCore with .NET for Android. Microsoft needs to adds the support for ARCore in Android. Here is the Microsoft issue, if you want to refer.
... View more
01-18-2023
08:27 AM
|
1
|
0
|
2872
|
|
POST
|
Thanks for reporting the issue. We have identified this as a bug only with WPF .NET Framework apps built with ArcGIS Maps SDK for .NET. We have logged this bug in our system and it will be fixed in next release cycle. In the meantime we suggest creating ArcGIS Maps SDK for .NET - WPF .NET6 app.
... View more
01-13-2023
05:32 PM
|
0
|
1
|
1036
|
|
POST
|
The error is quite generic and there could be varied reasons for it. I suggest you try following to ensure your MAUI environment is set up correctly: - Try an out-of-the box MAUI app using Visual Studio template - Try creating a new project using ArcGIS Maps SDK Template. If yo haven't installed templates yet, you can look them up in Extensions dialog box from Visual Studio - Ensure you have a valid API Key to access base maps. Let me know if this helps or is more meaningful to determine the cause of the error.
... View more
01-09-2023
09:31 AM
|
0
|
1
|
1467
|
|
BLOG
|
The 200.0 release of ArcGIS Maps SDK for .NET introduces full support for .NET MAUI. You can read about the highlights common to all ArcGIS Maps SDKs for Native Apps in the shared ArcGIS Runtime blog post and additional details in the 200.0 Release Notes. For our .NET community here are a few more highlights... .NET MAUI support ArcGIS Maps SDK for .NET now fully supports .NET MAUI (Multi-platform App UI). ArcGIS Runtime SDK for .NET version 100.15 LTS was the last version to support Xamarin Forms. The evolution of Xamarin.Forms, .NET MAUI is a cross-platform framework for creating native mobile and desktop apps with C# and XAML, and enables you to develop apps that can run on Android, iOS, and Windows from a single shared code-base. To learn more about developing apps with .NET MAUI please refer to the Microsoft documentation. Mac Catalyst support Support for Mac Catalyst is included in this release. You can now deploy iOS apps on macOS by building your apps with the net6.0-Catalyst target framework. .NET 7 support .NET 7 is fully supported in ArcGIS Maps SDK for .NET. ARM64 support on Windows In addition to UWP, you can now build and deploy WPF and WinUI applications using ArcGIS Maps SDK for .NET on ARM64 devices. Support for Windows 10 Enterprise LTSC 2019 (1809) In ArcGIS Runtime 100.15, the minimum supported Windows version was Windows 10 build 18362. ArcGIS Maps SDK for .NET v200.0 supports Windows versions back to Windows 10 build 17763 (1809 version). For information on supported Win 10 Enterprise versions, please refer to Win 10 Enterprise lifecycle and LTSC lifecycle in the Microsoft documentation. Extension ArcGIS Maps SDK for .NET Project Templates provides application project templates for .NET MAUI, and Windows that reference the appropriate NuGet packages for each platform and use a Model-View-ViewModel (MVVM) design pattern. The templates have been enhanced to enable the creation of either a 2D or 3D app. They also provide template code for fluent API configuration. This extension, available for Visual Studio on Windows, can be installed within Visual Studio from the online Visual Studio Marketplace using the Manage Extensions dialog. Alternatively download from your ArcGIS developer dashboard for installation offline. Extension ArcGIS Maps SDK for .NET contains a subset of the NuGet packages that are published on NuGet.org and will configure a local NuGet package source in your user profile that you can reference if you are developing in an environment with limited online access. This extension, available for Visual Studio on Windows, can be downloaded from your ArcGIS developer dashboard. SDK Each release of Runtime also includes significant updates to the ArcGIS Developer guide doc, API Reference doc, Toolkit, and Samples. In this release we have added ArcGIS Maps SDK for .NET Toolkit components for .NET MAUI and WinUI. All of 100.15 Xamarin Forms samples have been ported over to a new .NET MAUI sample viewer. Explore the new .NET MAUI samples in this guide. We thank you for your ongoing support and feedback and hope you will find these updates valuable as you continue to use ArcGIS Runtime to build amazing applications for your users. To explore and learn more about ArcGIS Maps SDK for .NET please visit https://developers.arcgis.com/net/. The ArcGIS Runtime .NET team
... View more
12-14-2022
10:31 AM
|
1
|
0
|
1939
|
|
POST
|
You mentioned `123点.geodatabase `, `123线.geodatabase` work but `*点.geodatabase` does not. It is actually not a ArcGIS runtime issue. It is actually the windows file naming convention that prohibits use of asterisk * in the file name. For more info about reserved keywords please see the Microsoft documentation. Side note: I tried creating a geodatabase `@点.geodatabase` and that worked ok.
... View more
12-07-2022
04:13 PM
|
0
|
2
|
4851
|
|
POST
|
Symbology configuration under settings "Symbolize features uniquely by deriving symbol property values from feature attributes" is currently not supported in ArcGIS Runtime SDKs or on ArcGIS Online Map Viewer. It is on the road map but has not been prioritized for a near future release and hence has no definitive time lines yet. I would appreciate if you could provide some more details about your current workflow and how and why do you need this feature? Do you need to simply consume a webmap published with this configuration in Runtime SDK or do you want to configure these properties on the renderer using API. This will help us evaluate and re-prioritize the issue. Thanks
... View more
12-01-2022
11:14 AM
|
0
|
1
|
2478
|
|
POST
|
I looked further into this and it appears to be as designed. ArcGIS Runtime only supports three SymbolStyle classes which are line, points and polygon symbols. Reason for excluding the text symbols class and essentially other symbol types that are available in ArcGIS Pro is that ArcGIS Runtime does not have publicly known multilayer symbol types to represent those CIM symbol types.
... View more
11-09-2022
04:59 PM
|
0
|
1
|
1094
|
|
POST
|
I believe you can call update only on an existing portal item so I suggest : - Add PortalItem first then call update - Enclose UpdateItemAsync() in try catch block to catch any errors.
... View more
10-19-2022
01:02 PM
|
0
|
1
|
1457
|
|
POST
|
What is incorrect in image above? are circles missing? Can you please share images of how it use to render before 100.11? Also please elaborate what does "It is not as responsive as before" mean? As I said earlier, I can't really look into the problem until I have a repro code. May be you can create a simple reproducer if you try moving code around in my last sample to match your workflow?
... View more
10-14-2022
03:56 PM
|
0
|
5
|
1574
|
|
POST
|
Hi Stuart, We have been trying different ways to reproduce the problem but can't get the problem to occur at our end. Thanks for sharing the code but it's hard because we can't use your code as is. I even tried using FeatureCollection to match closely with your code , but still could not reproduce the problem. If you can tweak code attached in this post to reproduce the problem, we will be more than happy to look into it further. I would also suggest considering to contact esri Technical support to get help in troubleshooting the issue at your app level. private async void addGraphics_Click(object sender, RoutedEventArgs e)
{
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(BasemapStyle.ArcGISLightGray);
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: 20);
Field f1 = new Field(FieldType.Int32, "RotationField", "RotationField", 0, null, true, true);
Field f2 = new Field(FieldType.Text, "Asset_Type", "Asset_Type", 16, null, true, true);
var ftable = new FeatureCollectionTable(new Field[] { f1, f2 }, GeometryType.Point,sr );
FeatureCollection fcoll = new FeatureCollection();
fcoll.Tables.Add(ftable);
FeatureCollectionLayer fcollayer = new FeatureCollectionLayer(fcoll);
var f = ftable.CreateFeature();
f.Geometry = new MapPoint(0, 0, ftable.SpatialReference);
f.Attributes["RotationField"] = 140;
f.Attributes["Asset_Type"] = "whatever";
await ftable.AddFeatureAsync(f);
var f0 = ftable.CreateFeature();
f0.Geometry = new MapPoint(10, 10, ftable.SpatialReference);
f0.Attributes["RotationField"] = 240;
f0.Attributes["Asset_Type"] = "whatever2";
await ftable.AddFeatureAsync(f0);
ftable.Renderer = UVrenderer;
await fcoll.LoadAsync();
map.OperationalLayers.Add(fcollayer);
} And here is the output of code : one feature rendering with default symbol and other using the multilayer symbol.
... View more
10-12-2022
03:28 PM
|
0
|
8
|
1586
|
|
POST
|
Priyanka tried in Android and it works. Then in tried in .Net I see above symbol created with exact code you provided, just changed the coordinate collection to an array of MapPoint and added a graphic to graphics overlay that uses this symbol and it all works fine. 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 map = new Map(BasemapStyle.ArcGISLightGray);
mapview.Map = map;
var GO = new GraphicsOverlay();
mapview.GraphicsOverlays.Add(GO);
var g = new Graphic(new MapPoint(10, 10, SpatialReferences.Wgs84), sym);
GO.Graphics.Add(g);
... View more
10-05-2022
11:38 AM
|
0
|
1
|
1920
|
|
POST
|
Hi Stuart, Thanks for providing the code. I will look into this but before I dive in I wanted to check if you have tested in latest version of ArcGIS Runtime SDK For .NET 100.15? --Preeti
... View more
10-04-2022
10:47 AM
|
0
|
1
|
3090
|
|
POST
|
First cast the renderer as UniqueValueRenderer and then get uniquevalues ``` var uvr= layer.Renderer as UniqueValueRenderer; var uv_values= uvr.UniqueValues; ```
... View more
09-30-2022
08:29 AM
|
0
|
0
|
1692
|
| Title | Kudos | Posted |
|---|---|---|
| 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 | |
| 1 | 12-26-2024 11:08 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|