I want to run map plugin in a offline network, for that I know that I need to build my own tile server to get map working. My question is, is there a way to use static png or jpeg file instead of tile server?
Definitely it is possible, but you need to do some research by yourself.
The general sequence:
1. Download tiles of the required area.
2. Run local web server that provides tiles.
3. Specify your local web server in a map XML file.