79191668

Date: 2024-11-15 09:05:04
Score: 1
Natty:
Report link

As your doing a project of UCSD's "Object Oriented Programming in Java" Course, In the HelloWorld class comment out this code

AbstractMapProvider provider = new Google.GoogleTerrainProvider();

and this code in Offline part

provider = new MBTilesMapProvider(mbTilesString);

and remove the Provider in this code

map1 = new UnfoldingMap(this, 50, 50, 350, 500);

This does not use the google as a provider, and uses UnfoldingMap to display the map. Be sure that your using Java 8 and have a main method in the class

public static void main(String[] args) {
        PApplet.main("module1.HelloWorld");
}

Refer to this link: https://github.com/tillnagel/unfolding/issues/145#issuecomment-596135265

Reasons:
  • Blacklisted phrase (1): this link
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dhanush G R