For your pleasure.
I've created interactive GPS maps for Forza Horizon 4 and 5.
They can be downloaded here: https://drive.google.com/drive/folders/1KwQ34aT_bxdOhiBfd4ayQWF3VRf-oSwK?usp=sharing
HOWTO:
Just copy the zip files in the TruckMaps folder to the Program Files (x86)\Simhub\TruckMaps folder, and copy the html file in the Web\Maps folder into the Simhub\Web\Maps folder.
You can either open the webpage directly by going to http://:8888/maps/map-fh.html, or, using the new WebPlugin/ServerBaseUrl property in simhub, use a web page view element on your dash to display it.
MANUAL:
Very simple really. It displays a map of the environment, and zooms and focusses on your position when driving around. If you change the zoom or focus of the map, a 'Center' button will be displayed on the bottom left (exactly like the ETS maps) that will let you recenter and rezoom onto your position.
There are several layers for the maps which display different points of interest. You can turn those off by clicking on the 'Layers' button, and click on each layer seperately, or click on 'Hide All' or 'Show All' to turn them all off and on.
Please note that all Layers are turned on by default. If you don't want to see the exact location of Barn Finds (or treasure chests on the Lego Map), make sure you unselect that Layer.
If there are related maps available for a map (for instance, Forza Horizon 4 has 2 DLCs available which are linked to the base map), a 'Maps' button becomes available next to the 'Layers' map. Clicking it will open a menu with all the available maps. Clicking a map will change the map to the related on (which will also have a related map menu allowing you to get back to the base map and any other related maps).
Please keep in mind that not all the locations on every map are readily available. The DLC maps have only the basic locations available in Layers, since not every 'marker' is reachable by extracting the zip files of the game.
DISCLAIMER:
These maps are provided as is. Use them at your own risk. I will not be responsible for any problems arising from the use of the maps.
These maps are a continued work in progress. It takes a lot of time and trial and error to get these to work. One issue I'm trying to tackle is that manual zooming on mobile devices isn't reliable. This may or may not be fixed, but such is life 🙂
Acknowledgements:
The FH4 and FH5 base maps (UK and Mexico) were taken from the freely available incredible interactive maps on swissgameguides.com and swissgameguides.app. The DLC maps for FH4 were taken from the actual game.
Feel free to improve the maps and/or code. I tried to make it as flexible as possible, but if you see anything that can be improved, or have information on layers that are not in the maps yet that you want to add, feel free to do so.
Excuse me, I can't find this and the route Program Files (x86)\Simhub\TruckMaps
Can you show me the screenshots?
Excuse me, I can't find this and the route Program Files (x86)\Simhub\TruckMaps
Can you show me the screenshots?
Sorry... I was on vacation for the holidays. Just got back yesterday.
In the folder you have installed SimHub (usually c:\program files (x86\SimHub\) there should be a folder called TruckMaps. If there isn't one, just create it. It is the folder that SimHub uses to store its downloaded ETS/ATS maps. It might only be created once SimHub downloads one of the Truck Simulator maps.
Inside it, there should only be tsmap-<mapname>.zip files.
Hello
I can't make it work.
I have well pasted the zip files into truckmaps.
And well pasted the map file into the web file.
But I don't understand the manipulation in simhub for the plugin
Hello I'm new to SimHub and I can't figure out how to use this?
It does not show up in overlays or Dashboards and there is nothing to import either!!! How do i use this?
Sharing in case someone else needs help to get this working.
Here's how you get this to work.
Extract the files as described above.
1. Open simhub and go to settings. Check if your Web Server port (TCP) is set to 8888. This is the port needed to connect to the page locally.
2. Go to and test this URL "http://127.0.0.1:8888/maps/map-fh.html" to check if it's loading up correctly. If you can see the map then you're good to go.
3. If you want to load it up into your dashboard, then you need to use dash studio in simhub.
4. Click add "web page" and in the properties "StartAddress". Input http://127.0.0.1:8888/maps/map-fh.html
You should now be able to see the map and design it as you wish.
it works perfectly but is it possible to display the GPS during a race ?
Es una pasada. Tengo dos “problemas” Lo pongo en monitor secundario de 24” y si lo amplio a pantalla completa se comienza a píxeles y la definición es baja. ¿Hay forma de ampliar resolución de las imágenes? Por otro lado si quiero cargarlo en el iPad, uno antiguo, no carga el mapa. Se queda en blanco. ???
Unfortunately, it does not work with the latest version of simhub.
Hey all, I did the instructions and I open the map-fh.html and it has an icon in the upper left that says "Layers" but the rest is blank.
If I open the regular map.html it actually shows my directional arrow and my vehicle moves when I drive, but it shows a map of Europe. How do I get the map-fh.html to show the Forza Horizon 5 map?
I fixed the issue.
In the file map-fh.html
lines 625 to 628
replace
if (data.gameRunning) { var coords = data.newData.carCoordinates; var rot = data.newData.orientationYaw; var speed = data.newData.speedKmh;
by
if (data.GameRunning) { var coords = data.NewData.CarCoordinates; var rot = data.NewData.OrientationYaw; var speed = data.NewData.SpeedKmh;
lines 693 to 695
replace gameName by GameName
@dazd thank you, i got it working, but your reply may confuse people as it did me.
in short:
locate the file "map-fh" in the simhub\web\maps folder
control+f and replace any gameName with GameName - basically the bug comes from the lack of capitalization which confuses the code
next locate the file "map" in the same folder
control+f and replace gameRunning/newData with GameRunning/NewData, or copy/paste what DaZD quoted above
it took me a few reads to understand DaZD was saying to do two things, one in each file. once you do, you are good to go. map loaded and works great.
Hey @madvillain I only edited the file map-fh.html. The other file map.html was already updated directly when updating simhub (I think version 9.1.13). You are probably not up to date on simhub. The latest version was released 21/12/2023 : https://www.simhubdash.com/download-2/
Thanks for the maps, but i have a little trouble to get it wirking.
I did everythin stated in the above posts.
The Map gets displayed in the Browser correctly and i can choose layers and so on...
But the map dosent move if i drive. How does this work? Do i have to make another config?
EDIT: It is working now. I poked arount in the code and now it works:
If someone is interrested: removed link