User Tools

Site Tools


howto:googlemaps

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
howto:googlemaps [2020/08/16 04:54]
digdat0 pic
howto:googlemaps [2020/08/16 05:14] (current)
digdat0 formatting
Line 4: Line 4:
  
 Here is a quick how to: Here is a quick how to:
-  -  Go and get a Google Maps API license key. When I signed upGoogle asked for payment option, but gives you more than enough free use, that you won't get charged a thing for our use of Google Maps in GO.+  -  Go and get a Google Maps API license key, this may require ​developer account
   -  Download latest modder from https://​github.com/​Bin4ry/​deejayeye-modder   -  Download latest modder from https://​github.com/​Bin4ry/​deejayeye-modder
-    - Edit the RunMe.bat file with Notepad ++ and place a pause in it at line 144. See graphic. This is for Windows. Save the RunMe.bat file as RunMePause.bat,​ so you keep the original.+    - Edit the RunMe.bat file with Notepad ++ and place a pause in it at line 144. See graphic. ​
  
 {{:​howto:​app.png?​600|}} {{:​howto:​app.png?​600|}}
-  -  Patch the latest 4.1.22 NoSecNeo APK. http://​www.openpilotlegacy.org/​dji.g...92-noseceo.apk 
-  -  Make sure you enable Matioupi'​s runtime_use_GoogleMap patch, and use your new Pause.bat file The APK will decompile, run all the patches and then pause before recompiling so then you can edit the AndroidManifest.xml file in the decompile folder. 
-  -  edit the AndroidManifest.xml and enter your Google Maps key into line 61, overwriting the key thats already there. Leave the HERE maps key alone, since we want that to work also. 
-  -  Continue on with the modder and let it compile 
-  -  Install your new patched .apk. On your device, go to your /dji/ folder and create a subfolder and name it og_settings Inside that folder create a file called useGoogleMap and place it there. (I just created a .txt file and deleted the .txt extension) This is the key file. With this file there, Matioupi'​s patch will look for it upon start up of GO, and if it is there, you will have Google maps instead of HERE maps! (after initial startup and sign in, and then a restart of GO) I created the folder and placed the file after I installed GO, and ran it twice to do a quick configuration. Not sure if that is necessary, but it worked for me. 
-  -  To switch maps, close GO, and I just renamed the og_settings folder, so GO skips it. Start GO and you now have HERE maps! 
  
 +  - Patch the latest 4.1.22 NoSecNeo APK. http://​www.openpilotlegacy.org/​dji.g...92-noseceo.apk
 +  - Make sure you enable the Google Map patch. When you run it, the APK will compile and pause. You can then edit the AndroidManifest.xml file which in the decompile folder.
 +  -  Edit the AndroidManifest.xml and enter your Google Maps key into line 61, overwriting the key thats already there. Leave the HERE maps key alone, since we want that to work also.
 +  - Continue on with the modder and let it compile
 +  - Install your new patched .apk. 
 +
 +Now, On your device, ​
 +
 +  - Open the /dji/ folder ​
 +  - Create a subfolder and name it og_settings ​
 +  - Inside that folder create a text file with no extension called useGoogleMap
 +
 +With this file there, the Google Map patch will look for it upon start up of GO. If it is there, you will have Google maps instead of HERE maps! You may need to create the folder after a first initial open/setup of GO4. 
 +
 +To switch maps, close GO, and rename the og_settings folder. This will make sure GO skips the file and will use Here maps.
  
howto/googlemaps.txt ยท Last modified: 2020/08/16 05:14 by digdat0