Package de.fhpotsdam.unfolding.marker

Examples of de.fhpotsdam.unfolding.marker.SimplePolygonMarker


    map = new UnfoldingMap(this, "map");
    map.zoomToLevel(4);
    map.panTo(new Location(50f, 12f));
    MapUtils.createDefaultEventDispatcher(this, map);

    SimplePolygonMarker franceMarker = new SimplePolygonMarker(getFranceShapeLocations());
    SimplePolygonMarker corsicaMarker = new SimplePolygonMarker(getCorsicaShapeLocations());

    if (useMultiMarker) {
      // Create and add as MultiMarker
      MultiMarker multiMarker = new MultiMarker();
      multiMarker.addMarkers(franceMarker, corsicaMarker);
View Full Code Here


    ArrayList<Location> list = new ArrayList<Location>();
    list.add(new Location(0, 0));
    list.add(new Location(0, squareWidth));
    list.add(new Location(squareWidth, squareWidth));
    list.add(new Location(squareWidth, 0));
    squareMarker = new SimplePolygonMarker(list);
  }
View Full Code Here

    MapUtils.createDefaultEventDispatcher(this, mapsWithInner);

    // inner marker
    pointMarker = new SimplePointMarker(pointLocation);
    pointMarker.setRadius(5);
    areaMarker = new SimplePolygonMarker();
    areaMarker.addLocations(areaLocation1, areaLocation2, areaLocation3);
    labelMarker = new InnerLabelMarker(pointLocation);
    addMarkerToMaps(mapsWithInner, pointMarker, areaMarker, labelMarker);

    // outer marker
View Full Code Here

TOP

Related Classes of de.fhpotsdam.unfolding.marker.SimplePolygonMarker

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.