Announcement

Collapse
No announcement yet.

Map: How to Get Rid of the "For development purposes only" Water Mark

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Map: How to Get Rid of the "For development purposes only" Water Mark

    Map of Pi24/fr24feed
    PI24 Map1.14.png


    Map after carrying out modification detailed below
    PI24 Map1.15~dev.png


    How it is achieved:
    • Pi24 / fr24feed installs dump1090-mutability ver 1.14, which has Google map and displays Water Mark if you dont have Google API Key.
    • The dump1090-mutability ver 1.15~dev has OpenStreet map, which does not require a key, and does not display Water Mark.
    • The trick is to replace html folder of dump1090-mutability ver 1.14 by html folder of dump1090-mutability ver 1.15~dev


    Here is step-by-step method:

    STEP-1
    SSH to RPi using PuTTY (Windows) or Terminal (Mac / Linux)

    Note: Instead of typing the commands below, better Copy-Paste these to avoid typing mistakes.


    STEP-2
    The Pi24 image has "read-only file system"
    Change read-only file system temporarily to read & write system
    Code:
    sudo mount -o remount,rw /

    STEP-3
    Download the dump1090-mutability ver 1.15~dev files from github
    Code:
    sudo apt install git      
          
    cd ~/      
          
    git clone https://github.com/mutability/dump1090.git

    STEP-4
    The above commands will download a folder dump1090, which contains another folder public_html
    Copy the folder public_html to folder /usr/share/dump1090-mutability
    Code:
    sudo cp -r dump1090/public_html  /usr/share/dump1090-mutability/public_html

    STEP-5
    5.1 - Go to folder dump1090-mutability
    Code:
     
    cd /usr/share/dump1090-mutability
    5.2 - First change name of folder html to html-orig
    This preserves the original html folder, and enables revert in case something goes wrong
    Code:
    sudo mv html html-orig
    5.3 - Now change the name of folder public_html to html
    Code:
    sudo mv public_html html

    STEP-6
    Reboot to revert the file system to its default settings

    Code:
    sudo reboot

    DONE!
    Go to map at http://IP-OF-PI/dump1090/gmap.html
    Clear broswer cache (Ctrl+Shift+Delete) and Reload browser (Ctrl+F5)
    Enjoy new map
    Last edited by abcd567; 2019-02-13, 23:17.

  • #2
    That was a big help. Thanks abcd567

    Comment


    • #3
      Good walk around hack you came up with there abcd567
      www.ADS-B.ca

      Comment


      • #4
        Originally posted by 1090 MHz View Post
        Good walk around hack you came up with there abcd567
        Thanks Peter.


        I remember about 5 years ago you made an excellent CoCo Antenna using Andrew Heliax LDF1-50 cable

        https://forum.flightradar24.com/thre...ll=1#post53124

        http://www.ads-b.ca/

        http://ads-b.ca/antenna-collinear-F-CYYZ2/
        Last edited by abcd567; 2019-04-10, 18:03.

        Comment


        • #5
          Thanks a lot abcd567, again !

          Comment

          Working...
          X