This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private val base: Path = Paths.get("{Directory where dynmap worlds storage}") | |
| private val blank: Path = Paths.get("{FullpathToblank}/blank.png") | |
| @GetMapping("/{tileType}/{z}/{x}/{y}.png") | |
| @Throws(IOException::class) | |
| //tileType needs to be 'f' or 'flat' | |
| fun getDynMapTile( | |
| @PathVariable tileType: String, | |
| @PathVariable z: Int, | |
| @PathVariable x: Int, |