Package de.fhpotsdam.unfolding

Examples of de.fhpotsdam.unfolding.UnfoldingMap


    // Set our location of the maps
    float lon = 52.5f;
    float lat = 13.4f;

    // Initialize two maps
    map1 = new UnfoldingMap(this, mapXposition, mapYposition, mapWidth, mapHeight);
    map1.zoomAndPanTo(new Location(lon, lat), 10);
    map2 = new UnfoldingMap(this, mapXposition, mapYposition, mapWidth, mapHeight, new Microsoft.AerialProvider());
    map2.zoomAndPanTo(new Location(lon, lat), 10);
    MapUtils.createDefaultEventDispatcher(this, map1, map2);
  }
View Full Code Here


  DebugDisplay debugDisplay;

  public void setup() {
    size(1024, 768, P2D);

    map = new UnfoldingMap(this, "myMap");
    map.zoomAndPanTo(new Location(52.5f, 13.4f), 10);
    MapUtils.createDefaultEventDispatcher(this, map);

    // Create debug display (optional: specify position and size)
    debugDisplay = new DebugDisplay(this, map);
View Full Code Here

  public void setup() {
    size(800, 400);
    smooth();

    map = new UnfoldingMap(this);
    // map.setTweening(true);
    map.zoomToLevel(3);
    map.panTo(new Location(40f, 8f));
    MapUtils.createDefaultEventDispatcher(this, map);
View Full Code Here

  UnfoldingMap map;

  public void setup() {
    size(800, 800, OPENGL);

    map = new UnfoldingMap(this);
    MapUtils.createDefaultEventDispatcher(this, map);
    map.setTweening(true);

    List<Feature> countryFeatures = GeoJSONReader.loadData(this, "countries.geo.json");
    List<Marker> countryMarkers = MapUtils.createSimpleMarkers(countryFeatures);
View Full Code Here

  UnfoldingMap map;

  public void setup() {
    size(800, 600, OPENGL);

    map = new UnfoldingMap(this);
    map.zoomAndPanTo(new Location(50f, 12f), 4);
    MapUtils.createDefaultEventDispatcher(this, map);
  }
View Full Code Here

    provider1 = new Google.GoogleMapProvider();
    provider2 = new Microsoft.AerialProvider();
    provider3 = new OpenStreetMap.CloudmadeProvider(MapDisplayFactory.OSM_API_KEY, 23058);

    map = new UnfoldingMap(this, provider1);
    MapUtils.createDefaultEventDispatcher(this, map);
  }
View Full Code Here

  int currentLocation = 0;

  public void setup() {
    size(800, 600, OPENGL);

    map = new UnfoldingMap(this);
    map.setTweening(true);
    map.zoomAndPanTo(locations[currentLocation], 8);

    MapUtils.createDefaultEventDispatcher(this, map);
  }
View Full Code Here

  UnfoldingMap map;

  public void setup() {
    size(800, 600, OPENGL);
    map = new UnfoldingMap(this, 50, 50, 700, 500);
    map.zoomAndPanTo(new Location(52.5f, 13.4f), 10);
    MapUtils.createDefaultEventDispatcher(this, map);

    // background color of the map
    map.setBackgroundColor(color(60, 70, 10));
View Full Code Here

  public void setup() {
    size(400, 400, OPENGL);
    noStroke();

    map = new UnfoldingMap(this);
    map.setTweening(true);
    map.zoomToLevel(3);
    map.panTo(new Location(40f, 8f));
    MapUtils.createDefaultEventDispatcher(this, map);
  }
View Full Code Here

  UnfoldingMap map;

  public void setup() {
    size(600, 600, OPENGL);

    map = new UnfoldingMap(this);
    map.zoomAndPanTo(new Location(52.5f, 13.4f), 10);
    MapUtils.createDefaultEventDispatcher(this, map);
  }
View Full Code Here

TOP

Related Classes of de.fhpotsdam.unfolding.UnfoldingMap

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.