1

I am developing a wpf app for controlling a ROS based robot. And I want to show a map from the robot in the UI using Mapsui. Currently I am using canvas to display the map so when I have a lot of waypoints and other indicators on the map, it's messy. And the manipulation and touch support is terrible.

I have came across this. But it involve tile structuring which is not okay for my project as I will just be getting a only.pgm file from the robot.

Is there a way I can just display the .pgm file as the background like I do in the canvas and then use layers and other good features of Mapsui on top?

4

1 回答 1

3

当前版本(Mapsui 3.0.0)不支持 .pgm。您可以为此构建自己的 IProvider。这可以基于SharpMap 代码来加载 .pgm

于 2021-10-06T06:53:40.860 回答