Mapsui
NetTopologySuite
Our great sponsors
Mapsui | NetTopologySuite | |
---|---|---|
7 | 2 | |
1,069 | 1,352 | |
3.5% | 1.1% | |
10.0 | 7.8 | |
2 days ago | 8 days ago | |
C# | C# | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Mapsui
-
AvaloniaUI: Create Multi-Platform Apps with .NET
But I think some of this stuff is already handled in Avalonia ecosystem like https://github.com/Mapsui/Mapsui, https://github.com/beto-rodriguez/LiveCharts2 and few others...
-
MAPSUI 4.0 Launched
Release 4.0.0 · Mapsui/Mapsui (github.com)
-
Should I start migrating my Xamarin app to MAUI
You are probably using Xamarin.Maps that use native maps, Google Maps on Android and Apple Maps on iOS, I assume. In Windows there's no native map, so you would need some third party library. I would recommend Mapsui
-
Google-like POI information banner?
... private static void MapOnInfo(object? sender, MapInfoEventArgs e) { var calloutStyle = e.MapInfo?.Feature?.Styles.Where(s => s is CalloutStyle).Cast().FirstOrDefault(); if (calloutStyle != null) { calloutlist.Add(calloutStyle); foreach (var callout in calloutlist) { callout.Enabled = false; } calloutStyle.Enabled = !calloutStyle.Enabled; e.MapInfo?.Layer?.DataHasChanged(); // To trigger a refresh of graphics. } if (calloutlist.Count > 1) calloutlist.RemoveRange(0, calloutlist.Count - 1); } private MemoryLayer CreatePointLayer() { return new MemoryLayer { Name = "Points", IsMapInfoLayer = true, Features = new Mapsui.Providers.MemoryProvider(GetPlacesFromList()).Features, Style = SymbolStyles.CreatePinStyle() //<- Reference for custom marker: https://github.com/Mapsui/Mapsui/blob/master/Samples/Mapsui.Samples.Common/Maps/Callouts/CustomCalloutSample.cs#L64 }; } ... private static CalloutStyle CreateCalloutStyle(string? name) { return new CalloutStyle { Title = name, TitleFont = { FontFamily = null, Size = 12, Italic = false, Bold = true }, TitleFontColor = Color.Violet, MaxWidth = 120, RectRadius = 10, ShadowWidth = 4, Enabled = false, SymbolOffset = new Offset(0, SymbolStyle.DefaultHeight * 0.3f) }; }
-
.NET Maui and MAPSUI Help - Clearing Callouts when another is clicked
Looking through their getting started page and their examples on Github (specifically: SingleCalloutSample) I was able to get my list of places to show up on the map and when clicked display certain features.This has led to me only being able to toggle whether the callout is displayed or not. What I am hoping to figure out is how to disable all other callouts once another location is selected, so that only a single callout is displayed at a time.
-
Where are the Software Developers here? eg. SAP, Microsoft, Salesforce, Oracle etc
Json.net, MahApps.Metro, and MapsUI
-
Avalonia Map support
So I did a quick DDG search and found these two results. Link 1. Link 2. Good luck.
NetTopologySuite
-
ELI5 SDK.NET for ESRI products
NetTopologySuite is popular .NET port of the JTS Topology Suite, though I have not used this. SharpMap is another popular mapping library, though it looks like active development on this may have slowed down. Also, not surprisingly, Bing Maps has quite a few .NET libraries.
-
Processing Open Street Map data with F# and .NET Interactive
We already did a lot, but in order to do more we have to introduce dedicated library/package. In dotnet it is NetTopologySuite. You can achieve a lot from the geospatial perspective with this library, here we just want to get centroids for polygons. Additionally I'm getting rid of unwanted properties, keeping only street, number and city.
What are some alternatives?
Mappalachia - The complete mapping tool for Fallout 76.
GeoJSON.NET - .Net library for GeoJSON types & corresponding Json.Net (de)serializers
OpenRailwayMap - An OpenStreetMap-based project for creating a map of the world's railway infrastructure.
SharpMap - An easy-to-use mapping library for use in web and desktop applications
awesome-gis - 😎Awesome GIS is a collection of geospatial related sources, including cartographic tools, geoanalysis tools, developer tools, data, conference & communities, news, massive open online course, some amazing map sites, and more.
GMap.NET - GMap.NET - Great Maps for Windows Forms & Presentation
GeoBlazor - Core Components for the Dymaptic GeoBlazor Library
OsmSharp - The core functionality of OsmSharp.
osm4scala - Scala and Spark library focused on reading OpenStreetMap Pbf files.
CoordinateSharp - A library designed to ease geographic coordinate format conversions, and determine sun/moon information in C#
Mapsui - Mapsui is a .NET Map component for WPF, UWP and Xamarin Android and iOS
DEM.Net - Digital Elevation model library in C#. 3D terrain models, line/point Elevations, intervisibility reports