Hey guys, I am a route creator, I know that OpenStreetMap has great benefits for route creation. Now I will share the tutorial.😀
(I am a Chinese who is not very good at English, please forgive me)
First, you should install NodeJS.
After installing it, you should run these commands one by one in PowerShell:
npm install touch-cli -g
npm install puppeteer
npm install osm-static-maps -g
If it works well, please run this command:
osmsm serve
You will see this line:
osmsm server listening on port 3000
This represents that it is working. Then, open settings.txt in your TSRE5 directory and add/change this line:
imageMapsUrl = http://localhost:3000/?height={res}&width={res}¢er={lon},{lat}&zoom= {zoom}
Last, open your TSRE5 and load a map using "Raster Images Z17", you will see the incorrect image:
屏幕截图 2024-01-31 133329.png
Don't worry, it often crashes for the first time you use it, just try again, it will work well.
屏幕截图 2024-01-31 133646.png
(I am a Chinese who is not very good at English, please forgive me)
First, you should install NodeJS.
After installing it, you should run these commands one by one in PowerShell:
npm install touch-cli -g
npm install puppeteer
npm install osm-static-maps -g
If it works well, please run this command:
osmsm serve
You will see this line:
osmsm server listening on port 3000
This represents that it is working. Then, open settings.txt in your TSRE5 directory and add/change this line:
imageMapsUrl = http://localhost:3000/?height={res}&width={res}¢er={lon},{lat}&zoom= {zoom}
Last, open your TSRE5 and load a map using "Raster Images Z17", you will see the incorrect image:
屏幕截图 2024-01-31 133329.png
Don't worry, it often crashes for the first time you use it, just try again, it will work well.
屏幕截图 2024-01-31 133646.png
