com.here.platform.location.io.scaladsl.geojson
FeatureCollection
Companion object FeatureCollection
case class FeatureCollection extends Product with Serializable
The FeatureCollection is the entry point to create GeoJSON representations.
- Alphabetic
- By Inheritance
- FeatureCollection
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def ++(that: FeatureCollection): FeatureCollection
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
arrow[LS](lineString: LS, properties: Properties = Properties.empty, arrowWidthMeters: Double = Feature.DefaultArrowWidth)(implicit arg0: LineStringOperations[LS]): FeatureCollection
Returns a new feature collection with an arrow added at the end.
Returns a new feature collection with an arrow added at the end. The arrow is added along the given line string, close to the middle point, in the direction of the provided linestring.
- lineString
the line to use as a base (e.g the geometry of a vertex)
- properties
the properties to use for the arrow
- arrowWidthMeters
the width of the resulting arrow
-
def
arrowRanges[LS, T](lineString: LS, ranges: Seq[RangeBasedProperty[T]], arrowWidthMeters: Double = Feature.DefaultArrowWidth)(properties: (RangeBasedProperty[T]) ⇒ Properties)(implicit arg0: LineStringOperations[LS]): FeatureCollection
Returns a new feature collection with arrows along the given line string ranges.
Returns a new feature collection with arrows along the given line string ranges.
- lineString
the line to use as a base (e.g the geometry of a vertex)
- ranges
the range based property for which to draw an arrow on the lineString (the arrow will be drawn in the middle of the range)
- arrowWidthMeters
the width of the resulting arrow,
- properties
a function to convert each range based attribute into the properties to apply to the corresponding range on the line-string
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
boundingBox[BB](boundingBox: BB, properties: Properties = Properties.empty)(implicit arg0: BoundingBoxOperations[BB]): FeatureCollection
Returns a new feature collection with the given bounding box and properties added at the end.
Returns a new feature collection with the given bounding box and properties added at the end.
- boundingBox
A bounding box type for which com.here.platform.location.core.geospatial.BoundingBoxOperations are defined.
- properties
Display Properties to use for the line-string
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
lineString[LS](lineString: LS, properties: Properties = Properties.empty)(implicit arg0: LineStringOperations[LS]): FeatureCollection
Returns a new feature collection with the given line string and properties added at the end.
Returns a new feature collection with the given line string and properties added at the end.
- lineString
A line-string type for which com.here.platform.location.core.geospatial.LineStringOperations are defined.
- properties
Display Properties to use for the line-string
-
def
lineStringPoints[LS, T](lineString: LS, points: Seq[PointBasedProperty[T]])(properties: (PointBasedProperty[T]) ⇒ Properties)(implicit arg0: LineStringOperations[LS]): FeatureCollection
Returns a new feature collection with the given points a line string and properties added at the end.
Returns a new feature collection with the given points a line string and properties added at the end.
- lineString
the line to use as a base (e.g the geometry of a vertex)
- points
the point based property to draw on the lineString
- properties
a function to convert each point based attribute into the properties to apply to the corresponding marker on the line-string
-
def
lineStringRanges[LS, T](lineString: LS, ranges: Seq[RangeBasedProperty[T]])(properties: (RangeBasedProperty[T]) ⇒ Properties)(implicit arg0: LineStringOperations[LS]): FeatureCollection
Returns a new feature collection with the given ranges on the line string added at the end.
Returns a new feature collection with the given ranges on the line string added at the end.
- lineString
the line to use as a base (e.g the geometry of a vertex)
- ranges
the range based property to draw on the lineString
- properties
a function to convert each range based attribute into the properties to apply to the corresponding range on the line-string
-
def
markerSymbolImages(markerSymbolImages: MarkerSymbolImages): FeatureCollection
Returns a new feature collection with a name-map of images appended to the existing ones.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
point[GC](coordinate: GC, properties: Properties = Properties.empty)(implicit arg0: GeoCoordinateOperations[GC]): FeatureCollection
Returns a new feature collection with the given point and properties added at the end.
Returns a new feature collection with the given point and properties added at the end.
- coordinate
A coordinate type for which com.here.platform.location.core.geospatial.GeoCoordinateOperations are defined.
- properties
Display Properties to use for the point marker
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toJson: String
Returns the GeoJSON Feature Collection as a String
-
def
toPrettyJson: String
Returns the GeoJSON Feature Collection as a pretty String
- def union(that: FeatureCollection): FeatureCollection
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
write(out: OutputStream): FeatureCollection
Writes GeoJSON to the given output stream in UTF-8.
-
def
writePretty(out: OutputStream): FeatureCollection
Writes pretty printed GeoJSON to the given output stream in UTF-8.