TS 2020 MapTiler

Discord Einladung
Trete unserem Discord-Server bei (klicke hier zum Beitreten).
  • MapTiler

    MapTiler für TrainSimulator 2014 - Classic


    Fortsetzung des Google Maps Overlay Proxy


    Hiermit wird es Möglich Kacheln von Google Maps in den TS zu bringen statt die Kostenpflichtige Static Maps API zu nutzen.

    Interessant für Nutzer die keine Kreditkarte haben.


    Vereinfacht gesagt es Biegt nur die Links von Google API auf sogenannte X/Y/Z Kacheln um, die zum Beispiel auch von QGIS und Co benutzt werden.


    Jetzt auch mit OpenStreetMaps und MapBox Support

    Zusätzliche Informationen

    Autor
    Wutknubbel
    Sprache
    Javascript
    Version
    1.01a

    Änderungshinweis

    Kommentar zur Änderung (nach Veröffentlichung):
    Komplett Neue Version von Google Maps Overlay Proxy (Derzeit in Release Candidate 1)
    Wird bald den Overlay Proxy Ablösen

    Dateien

Teilen

Kommentare 21

  • wie wäre es mal mit einer vernünftigen Erklärung z.b im einem Video viele sagen das die Anleitung schrott ist und man es kaum versteht was von einem gewollt ist.

    • Edited so i can make it work.

      Train Simulator MapTiler V1.01a

      ===============================


      Preface:

      --------

      I originally created this guide with a different title 'Google Maps Overlay Workaround'. Now it's new title 'How to use Google Maps without an API key requirement!' to make it easier for players to understand the intention of this guide.


      First of all, you will need to download MapTiler MapTiler


      Installation can be a bit tricky.


      1) Unzip maptiler.zip to drive C:\

      It must go into drive C:\ directory otherwise MapTiler will not work.


      2) Inside maptiler's archive, you will need to install the Node application, open the folder titled 'NodeApp' and install either one

      Node-v16.15.0-x64 = For 64 bit system

      Node-v16.15.0-x86 = For 32 bit system


      3) If you are using Windows 10, go into Network & Internet Settings, click on the 'Proxy' menu

      Turn on 'Use setup script' type in the Proxy address provided within the 'images' folder of MapTiler archive. Hint: The image is titled 'Proxy'. use this proxy address and click Save


      Note: If MapTiler is NOT in use, always turn off 'Use setup script'.


      ---------------------------------------------------

      To use MapTiler


      1) Go to NodeApp folder and run x64 or x86 (don't ask why just go on to the next step).


      2) Open Node.js folder from the 'Start menu'. Run Node.js command prompt as administrator


      3) Type in, CD C:\MapTiler\Proxy then press enter


      4) Type in, node MapTiler.js Google


      5) See this msg on screen: Welcome to Map-Tiler v1.01a a Train Simulator Overlay Proxy Server

      Using Google as TileService

      Listening on Port: 6789 (number may be different)

      Please wait until you see "Sending Proxy Script" before you starting RailWorks or use the Windows Proxy trick (See Manual)


      6) Wait until you see the message 'Sending Proxy Script' before loading TS Classic


      7) When you see 'Sending Proxy Script' run TS Classic.


      8) Go to settings and set the map, Satellite, 640 x 640, and 5 x 5.


      9) While being in the editor press CTRL+G to activate Google Maps overlay.


      NOTE: In the Google Maps Overlay settings, I recommend using the settings found in the MapTiler images folder. This image is titled 'overlay settings'.

      New features:

      --------------

      - Now automatically detects the zoom factor from the TS settings (important for the new tile servers)

      - Now automatically detects the map type (Google only) and switches internally to the correct tile server

      - Added various tile servers

      - Google (Satellite, Hybrid, Roadmap, Terrain)

      - OpenStreetmap

      - MapBox (Has very good satellite images in some areas)


      Call with node MapTiler.js <tile server> | osm mbox default=google

      - node MapTiler.js mbox Uses MapBox

      - node MapTiler.js osm Uses OpenStreetMap

      - node MapTiler.js google Uses GoogleMaps

  • Moin, bei mir Funktioniert der MapTiler auch nicht. Jedes mal diese Meldung C:\Users\xiang\Work\node-images\src\Image.cc:580 Unknow format.

    Ich gehe nach der Anleitung aber da passiert nichts:

  • Funktioniert leider nicht bei mir. Kreise drehen sich aber mehr passiert nicht. Alles so gemacht wie es in der Readme steht. Node.js als 64 bit installiert.

  • When will the new version of the program be released?

  • How to Yandex maps.

  • Hallo, hab gerade versucht den MapTiler zu benutzen, einmal hat es funktioniert, jetzt kommt auf einmal ein Fehler


    "C\Users\xiang\Work\node-images\src\Image.cc:580 Unknown format"

    • :thumbup: , leider hab ich genau das selbe Problem (immernoch), bei meinen Freund funktioniert es warum auch immer.

    • Dann ist die Falsche Node.js Version Installiert.


      Images.js ist Deprecated und funktioniert in der neuesten Version von Node.JS nicht mehr.


      Am besten eine ältere Version von Node.js installieren.

    • Hallo,


      bei mir tritt der Fehler nur mit MapBox auf. Google funktioniert.

      Kann es sein, dass der access_token für MapBox abgelaufen/gesperrt ist?


      Als Test:

      https://a.tiles.mapbox.com/v4/mapbox.satellite/0/0/0.jpg?access_token=pk.eyJ1Ijoib3BlbnN0cmVldG1hcCIsImEiOiJja2w5YWt5bnYwNjZmMnFwZjhtbHk1MnA1In0.eq2aumBK6JuRoIuBMm6Gew

      -> {"message":"Forbidden"}


      VG

      t:b

    • We are waiting for the new version

    • Habe bei mir vor 2 Wochen wieder versucht den MapTiler zu installieren, mit der Node.JS Version die im Ordner war. Anfangs funktionierte es immer noch nicht mit dem selben Fehler. Aber dann ist meinem Freund aufgefallen das oben die Koordinaten vertauscht waren. Als ich sie getauscht habe funktionierte alles und der Fehler kann nicht mehr.

      Vielleicht kann das als Tipp helfen. :)

      Mit freundlichen Grüßen

      JippiMonster

  • Hallo, hab gerade versucht den MapTiler zu benutzen, einmal hat es funktioniert, jetzt kommt auf einmal ein Fehler


    "C\Users\xiang\Work\node-images\src\Image.cc:580 Unknown format"


    Edit: Die Koordinaten waren vertauscht und jetzt funktioniert es.

  • Hello, Wutknubbel

    I have downloaded MapTiler and installed it.

    I was following your tutorial on how to start it and it work at first but then threw this error:


    Error: Not found C:\Proxy\node_modules\images\vendor\win32-ia32-binding.node , You can rebuild it, to directory C:\Proxy\node_modules\images, Run `node-gyp rebuild` Command.

    at module.exports (C:\Proxy\node_modules\images\scripts\binding.js:21:11)

    at Object.<anonymous> (C:\Proxy\node_modules\images\index.js:32:46)

    at Module._compile (node:internal/modules/cjs/loader:1105:14)

    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)

    at Module.load (node:internal/modules/cjs/loader:981:32)

    at Function.Module._load (node:internal/modules/cjs/loader:822:12)

    at Module.require (node:internal/modules/cjs/loader:1005:19)

    at require (node:internal/modules/cjs/helpers:102:18)

    at Object.<anonymous> (C:\Proxy\MapTiler.js:13:10)

    at Module._compile (node:internal/modules/cjs/loader:1105:14)


    Is there a way to fix this? Thanks!


    -Indobell

  • Hi bei mir sagt er nur welcome to maptiler usw. und Running on Port 6789. Was kann ich tuen?

    • Unter anderen bitte die Anleitung lesen und genau befolgen.

      Er wartet Anscheind darauf das der Proxy Konfiguriert und eingeschaltet ist.

  • Hello, for me this doesnt works even after "Sending Proxy Script" appears on CMD. I already have Node.js

  • Bei mir gehts nicht hab alles gemacht und auch so wie´s soll. Was soll ich machen?

    • Alles so eingestellt wie im Liesmich.txt angegeben ?

      Welche Node Version hast du Installiert ? 64Bit oder 32Bit ?

    • Läuft mitllerweile bei mir, super Sahe, danke!

  • In Welches Verzeichnis muss ich die Ordner kopieren? In der Readme steht nur Proxy Verzeichnis in C;/Verzeichnis. Bedeutet das es ist egal in welches Verzeichnis ich es kopiere?