How to use Sample Projects from GitHub (MapSui is my current challenge)

Richard Schofield 1 Reputation point
2021-02-25T21:09:24.87+00:00

I'm new to C# and application development so a bit of a newbie question.

I want to make an application that has some Mapping capabilities, and I've been trying to use the NuGet library Mapsui.WPF for some time now: Mapsui. Of the many mapping libraries that are opensource it's the only one I've been able to make some progress with.

The instructions for getting started are great. So easy, even I can do it.
I can compile an app that has access to OpenStreetMap, you can zoom, pan, easy.

Then the documentation seems to stop (at least in a language I can understand) and it says to follow the samples for things like adding points to the map etc.
The problem is, the samples are very complex, and have dozens of classes, and multiple interdependent projects.

I've tried following all the dependencies, and copying all relevant projects into my solution but many of the projects develop errors. I'm clearly still missing some classes or projects, or packages or something, but every-time, I try to add what I think is missing, then more errors develop and it goes on and on.

Am I making this overly difficult, or is there a simpler way to use a sample application and and get it running in your own solution?

Developer technologies Visual Studio Other
Developer technologies C#
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Karen Payne MVP 35,586 Reputation points Volunteer Moderator
    2021-02-25T21:36:24.307+00:00

    Hello,

    You should ask in the issue section of the repository and provide specific details and error messages.

    https://github.com/Mapsui/Mapsui/issues

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.