Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ public abstract Builder reverseMode(
* @param streetOneName First street name of the intersection
* @param streetTwoName Second street name of the intersection
* @return this builder for chaining options together
* @since 4.10.0
* @since 4.9.0
*/
public Builder intersectionStreets(@NonNull String streetOneName,
@NonNull String streetTwoName) {
Expand Down
16 changes: 8 additions & 8 deletions services-turf/src/main/java/com/mapbox/turf/TurfConversion.java
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ public static FeatureCollection explode(@NonNull Feature feature) {
*
* @param feature a {@link Feature} object that contains {@link Polygon}
* @return a {@link Feature} object that contains {@link LineString} or {@link MultiLineString}
* @since 4.10.0
* @since 4.9.0
*/
public static Feature polygonToLine(@NotNull Feature feature) {
return polygonToLine(feature, null);
Expand All @@ -228,7 +228,7 @@ public static Feature polygonToLine(@NotNull Feature feature) {
* @param feature a {@link Feature} object that contains {@link Polygon}
* @param properties a {@link JsonObject} that represents a feature's properties
* @return a {@link Feature} object that contains {@link LineString} or {@link MultiLineString}
* @since 4.10.0
* @since 4.9.0
*/
public static Feature polygonToLine(@NotNull Feature feature, @Nullable JsonObject properties) {
Geometry geometry = feature.geometry();
Expand All @@ -245,7 +245,7 @@ public static Feature polygonToLine(@NotNull Feature feature, @Nullable JsonObje
*
* @param polygon a {@link Polygon} object
* @return a {@link Feature} object that contains {@link LineString} or {@link MultiLineString}
* @since 4.10.0
* @since 4.9.0
*/
public static Feature polygonToLine(@NotNull Polygon polygon) {
return polygonToLine(polygon, null);
Expand All @@ -259,7 +259,7 @@ public static Feature polygonToLine(@NotNull Polygon polygon) {
* @param multiPolygon a {@link MultiPolygon} object
* @return a {@link FeatureCollection} object that contains
* list of {@link Feature} of {@link LineString} or {@link MultiLineString}
* @since 4.10.0
* @since 4.9.0
*/
public static FeatureCollection polygonToLine(@NotNull MultiPolygon multiPolygon) {
return polygonToLine(multiPolygon, null);
Expand All @@ -272,7 +272,7 @@ public static FeatureCollection polygonToLine(@NotNull MultiPolygon multiPolygon
* @param polygon a {@link Polygon} object
* @param properties a {@link JsonObject} that represents a feature's properties
* @return a {@link Feature} object that contains {@link LineString} or {@link MultiLineString}
* @since 4.10.0
* @since 4.9.0
*/
public static Feature polygonToLine(@NotNull Polygon polygon, @Nullable JsonObject properties) {
return coordsToLine(polygon.coordinates(), properties);
Expand All @@ -287,7 +287,7 @@ public static Feature polygonToLine(@NotNull Polygon polygon, @Nullable JsonObje
* @param properties a {@link JsonObject} that represents a feature's properties
* @return a {@link FeatureCollection} object that contains
* list of {@link Feature} of {@link LineString} or {@link MultiLineString}
* @since 4.10.0
* @since 4.9.0
*/
public static FeatureCollection polygonToLine(@NotNull MultiPolygon multiPolygon,
@Nullable JsonObject properties) {
Expand All @@ -307,7 +307,7 @@ public static FeatureCollection polygonToLine(@NotNull MultiPolygon multiPolygon
* @param feature a {@link Feature} object that contains {@link Polygon}
* @return a {@link FeatureCollection} object that contains list of {@link Feature}
* of {@link LineString} or {@link MultiLineString}
* @since 4.10.0
* @since 4.9.0
*/
public static FeatureCollection multiPolygonToLine(@NotNull Feature feature) {
return multiPolygonToLine(feature, null);
Expand All @@ -323,7 +323,7 @@ public static FeatureCollection multiPolygonToLine(@NotNull Feature feature) {
* @param properties a {@link JsonObject} that represents a feature's properties
* @return a {@link FeatureCollection} object that contains
* list of {@link Feature} of {@link LineString} or {@link MultiLineString}
* @since 4.10.0
* @since 4.9.0
*/
public static FeatureCollection multiPolygonToLine(@NotNull Feature feature,
@Nullable JsonObject properties) {
Expand Down