Examples of LineElemStyle


Examples of org.openstreetmap.josm.gui.mappaint.LineElemStyle

    }
  }

  private void setRoute(List<Way> ways) {
    clearRoute();
    LineElemStyle ls = new LineElemStyle();
    ls.color = Color.decode(LogicConstants.get("WAY_COLOR"));
    ls.width = Integer.parseInt(LogicConstants.get("WAY_WIDTH"));
    for (Way way : ways) {
      route.data.ways.add(way);
      way.mappaintStyle = ls;
View Full Code Here

Examples of org.openstreetmap.josm.gui.mappaint.LineElemStyle

      int id_layer = 0;
      for (TSPPlan plan : res) {
        latlon_origin = new LatLon(plan.getOrigin()[1],
            plan.getOrigin()[0]);
        log.info(latlon_origin);
        LineElemStyle ls = new LineElemStyle();
        float f = random.nextFloat();
        ls.color = Color
            .getHSBColor(f * random.nextFloat(), 0.9f, 0.9f);
        ls.width = LogicConstants.getInt("PLAN_WAY_WIDTH", 2);
        MarkerLayer stops = new MarkerLayer(new GpxData(), "Stops "
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.