Tilemap control in MAUI
In WinForms I have a TileViewer control, which basically just displays a Bitmap on the background image. While reacting to mouse events, I can leverage the Graphics object from said background image to draw a tile cursor and other things over the image.
All together, this works as a fantastic tilemap editor for old games.
In an effort to port such an application over to MAUI, I now need a replacement for such a tile display.
So far my search was unsuccessful. It seems like no one has wanted this before and ChatGPT started halucinating some Draw functions that do not exist when I asked it the same question.
So here is my question on how I would properly approach this. The requirements are simple:
- Must be able to display a Image
- Image can be drawn upon
- Scrollable
1 Reply
FWIW, I found some mentions of SkiaSharp maybe being useful for this