@@ -139,9 +139,11 @@ default POIMarker createPOIMarker(String id, BlueMapMap map, double posX, double
139139 * @param id the id of the new marker
140140 * @param map the {@link BlueMapMap} of the new marker
141141 * @param position the position of the new marker
142+ * @param shape the Shape of the marker (See: {@link ShapeMarker#setShape(Shape, float)})
143+ * @param height the height of shape of the marker (See: {@link ShapeMarker#setShape(Shape, float)})
142144 * @return the created {@link ShapeMarker}
143145 */
144- ShapeMarker createShapeMarker (String id , BlueMapMap map , Vector3d position , Shape shape );
146+ ShapeMarker createShapeMarker (String id , BlueMapMap map , Vector3d position , Shape shape , float height );
145147
146148 /**
147149 * Creates a {@link ShapeMarker} with the given id and adds it to this {@link MarkerSet}.<br>
@@ -152,19 +154,14 @@ default POIMarker createPOIMarker(String id, BlueMapMap map, double posX, double
152154 * @param posX the x-position of the new marker
153155 * @param posY the y-position of the new marker
154156 * @param posZ the z-position of the new marker
157+ * @param shape the Shape of the marker (See: {@link ShapeMarker#setShape(Shape, float)})
158+ * @param height the height of shape of the marker (See: {@link ShapeMarker#setShape(Shape, float)})
155159 * @return the created {@link ShapeMarker}
156160 */
157- default ShapeMarker createShapeMarker (String id , BlueMapMap map , double posX , double posY , double posZ , Shape shape ) {
158- return createShapeMarker (id , map , new Vector3d (posX , posY , posZ ), shape );
161+ default ShapeMarker createShapeMarker (String id , BlueMapMap map , double posX , double posY , double posZ , Shape shape , float height ) {
162+ return createShapeMarker (id , map , new Vector3d (posX , posY , posZ ), shape , height );
159163 }
160164
161- /**
162- * Adds the given {@link Marker} to this {@link MarkerSet}.<br>
163- * If a {@link Marker} with the id of the given {@link Marker} already exists it will be replaced!
164- * @param marker the {@link Marker} to be added
165- */
166- void addMarker (Marker marker );
167-
168165 /**
169166 * Removes the given Marker from this {@link MarkerSet}.<br>
170167 * This is equivalent to calling <code>removeMarker(marker.getId())</code>.
0 commit comments