What is the size of your tiles?
Are these all the same size?
How many tiles ?
I want to display the map as large as possible
I'm afraid that you must limit the size, due to memory limits.
and when the user drags the map it should move around the currently visible part of the map
I don't really understand "move around the current visible part", could you be more precise.
Do you want to have parts of different tiles to be copied onto the screen, like GoogleMaps ?
To display maps onto the screen I use the ImageLibEx library.
Where I have:
- maps as jpg files (even different sizes)
- the images are loaded in a BitmapEx object
- with the DrawerEx object I copy onto the form the part of the map I want to display
To manage several side by side maps I load the next map when the cursor reaches the border of a map. I do not display parts of several tiles onto the screen.
Attached a small example on moving an image bigger than the form size.