/** * fluent setter * @see #setCoordinates(List<Coordinate>) * * @param coordinates * required parameter */ public LineString withCoordinates(final List<Coordinate> coordinates) { this.setCoordinates(coordinates); return this; }
/** * fluent setter * @see #setCoordinates(List<Coordinate>) * * @param coordinates * required parameter */ public LineString withCoordinates(final List<Coordinate> coordinates) { this.setCoordinates(coordinates); return this; }
/** * Creates a new instance of {@link List}{@code <}{@link Coordinate}{@code>} and set it to this.coordinates. * * This method is a short version for: * <pre> * <code> * List<Coordinate> newValue = new List<Coordinate>(); * this.setCoordinates(newValue); </code> * </pre> * * */ public List<Coordinate> createAndSetCoordinates() { List<Coordinate> newValue = new ArrayList<Coordinate>(); this.setCoordinates(newValue); return newValue; }
/** * Creates a new instance of {@link List}{@code <}{@link Coordinate}{@code>} and set it to this.coordinates. * * This method is a short version for: * <pre> * <code> * List<Coordinate> newValue = new List<Coordinate>(); * this.setCoordinates(newValue); </code> * </pre> * * */ public List<Coordinate> createAndSetCoordinates() { List<Coordinate> newValue = new ArrayList<Coordinate>(); this.setCoordinates(newValue); return newValue; }
.withStyleUrl("#" + styleID).createAndSetLineString() .withAltitudeMode(AltitudeMode.CLAMP_TO_GROUND) .setCoordinates(coordsList);
.withVisibility(true).createAndSetLineString() .withAltitudeMode(AltitudeMode.CLAMP_TO_GROUND) .setCoordinates(line.getCoordinatesList());
List<de.micromata.opengis.kml.v_2_2_0.Coordinate> kmlCoordinates = dumpCoordinateSequence(((LineString) geometry) .getCoordinateSequence()); kmlLine.setCoordinates(kmlCoordinates); return kmlLine; } else if (geometry instanceof Polygon) {