Skip to content

Commit

Permalink
Updated dist for Eclipse. Added JDK notice to README, and updated Hello
Browse files Browse the repository at this point in the history
World example for non-example dist.
  • Loading branch information
tillnagel committed Jun 16, 2014
1 parent ac7b50f commit 9b91726
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 2 additions & 4 deletions examples/HelloUnfoldingWorld.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import processing.core.PApplet;

import de.fhpotsdam.unfolding.UnfoldingMap;
import de.fhpotsdam.unfolding.geo.Location;
import de.fhpotsdam.unfolding.providers.OpenStreetMap;
import de.fhpotsdam.unfolding.utils.MapUtils;

/**
Expand All @@ -17,8 +15,8 @@ public class HelloUnfoldingWorld extends PApplet {
public void setup() {
size(800, 600, OPENGL);

map = new UnfoldingMap(this, new OpenStreetMap.OpenStreetMapProvider());
map.zoomAndPanTo(new Location(52.5f, 13.4f), 10);
map = new UnfoldingMap(this);
map.zoomAndPanTo(10, new Location(52.5f, 13.4f));

MapUtils.createDefaultEventDispatcher(this, map);
}
Expand Down
2 changes: 2 additions & 0 deletions resources/unfolding_app_template/README
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Workspace', Select this folder, 'Finish')

Set the native libraries for your OS ('Configure Build Path' > 'Libraries' > Set 'native library location' of jogl.jar).

Switch Java Compiler to 1.6 if you get VM problems. (Processing only works with Java 1.6)


MANUAL INSTALLATION

Expand Down

0 comments on commit 9b91726

Please sign in to comment.