Mapsui
sciter-js-sdk
Mapsui | sciter-js-sdk | |
---|---|---|
7 | 12 | |
1,071 | - | |
1.7% | - | |
10.0 | - | |
6 days ago | - | |
C# | ||
MIT License | - |
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.
sciter-js-sdk
-
AvaloniaUI: Create Multi-Platform Apps with .NET
- https://gitlab.com/sciter-engine/sciter-js-sdk/-/tree/main/b... - Skia backend.
You can load in usciter this document:
https://gitlab.com/sciter-engine/sciter-js-sdk/-/blob/main/s...
It shows pretty large colorized texts so you can estimate how Direct2D and Skia handle GPU accelerated text rendering. For these two binaries the difference is only in graphics used - Direct2D and Skia.
-
Show HN: DataSheetGrid, an Airtable-like React component
Agree about virtualization in principle. Not that nightmarish though.
My Sciter supports built-in virtualization out of the box. But I shall admit that this is second approach to the problem.
Currently Sciter's behavior:virtual-list supports as fixed-height items (that's easy) as variable-height items like messages [1] in chats.
API is relatively simple [2]: single event "contentrequired" that virtual-list sends to JS. In response JS shall either append or prepend requested number of DOM elements to the container (a.k.a. sliding window scroller). Example, grid showing 20000 records: https://gitlab.com/sciter-engine/sciter-js-sdk/-/blob/main/s...
[1] https://sciter.com/behaviorvirtual-list-for-sciter-and-scite...
-
I've built a multi-session browser
Thank you for your explanation. As for Electron alternatives, Sciter is much more lightweight, supports Vue and includes a native webview. Anyway, good luck with your project!
- JavaScript import maps are now supported cross-browser
-
XUL Layout has been removed from Firefox
> we have a number of other libs to integrate, some of which add their own rendering (which requires access to e.g. a Vulkan context, not merely HTML/CSS or other high-level UI elements)…
I have a customer that is doing something close: it is a 3D CAD alike app where they have Vulkan rendering 3D scene with Sciter UI on top of that - rendering chrome UI around that 3D and on the same Vulkan surface.
Sciter API supports rendering in windowless mode (https://gitlab.com/sciter-engine/sciter-js-sdk/-/tree/main/d...) where app supplies OpenGL, Vulkan or DirectX context to render on.
> Sorry, but I'll have to pass.
Understood. Sometimes people need not just to get job done but also "OS" label on it.
-
Flutter Desktop Isn't There Yet
Attempt to combine all these definition in single language is doomed to fail. If in doubts then look at WPF.
3. Notes on language-behind-UI...
If to consider #2 then such simple thing as JavaScript language and VM are quite adequate to the task. Language-behind-UI do not need to be that performant, but it must be flexible. I may express un-popular opinion but language-behind-UI should be typeless.
Simply put: don't do ray tracing in language-behind-UI. But! Such a language shall have simple mechanism of adding high performant functions. There are good languages that are specifically designed for performance: C, C++, D, Rust, Zig, WebAssembly, etc. You just need convenient mechanism to expose those functions to runtime of language-behind-UI. Like here: https://gitlab.com/sciter-engine/sciter-js-sdk/-/blob/main/d...
You need JITs, compilation, fat VMs and runtimes, strong types only if your language is the only mean to define algorithms in whole application. But expect that your code will always be sub-optimal - neither enough performant nor super flexible.
4. Conclusion
Flutter should be something Sciter-alike :) - use [X]HTML/JSX, CSS and some already well known language-behind-UI. JavaScript is the natural choice. If needed you should be able to use native UI components - like in Sciter you can use existing HWND based and windowless native components inside your UI. It may not follow Web UI model on 100% (that's impossible) but to be conceptually close so developers can reuse their skills. Web UI model is conceptually close to Mobile one - all application UI is constrained inside single window.
-
What is the fastest, lightest weight GUI framework?
I'm surprised no one has mentioned it but I've been using SciterJS (website) for my most recent project. I wouldn't ever claim it's the best UI framework out there, but it's lightweight and I've never felt so productive - I've rapidly developed my UI and integrated it with my native C++ far faster than I thought possible. I will note that it is far, far cheaper and has so many more features than Ultralight does.
-
The miracle of Smalltalk’s become: (2009)
Only when code tries to access props/methods of the loaded object it gets fetched from disk, its __proto__ is set to particular class, etc.
More on this architecture: https://gitlab.com/sciter-engine/sciter-js-sdk/-/blob/main/d...
Patched QuickJS with storage support is here: https://gitlab.com/c-smile/quickjspp - it uses DyBase of Konstantin Knizhnik as a storage.
-
Localizing a Qt App; Or Anything Else For That Matter
More on i18n support in Sciter.
-
Sciter.Android, preview available
Sciter got native (built-in) Signal implementation made after PReact's Signals;
What are some alternatives?
NetTopologySuite - A .NET GIS solution that is fast and reliable for the .NET platform.
Ultralight - Lightweight, high-performance HTML renderer for game and app developers.
Mappalachia - The complete mapping tool for Fallout 76.
quickjspp
OpenRailwayMap - An OpenStreetMap-based project for creating a map of the world's railway infrastructure.
capy - 💻Build one codebase and get native UI on Windows, Linux and Web
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.
game-scripter-js - Write games in JavaScript, compile to tiny executable.
GeoBlazor - Core Components for the Dymaptic GeoBlazor Library
compression-dictionary-transport
osm4scala - Scala and Spark library focused on reading OpenStreetMap Pbf files.
Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond