case class FeatureCollection extends Product with Serializable
The FeatureCollection is the entry point to create GeoJSON representations.
- Alphabetic
- By Inheritance
- FeatureCollection
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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 boundingBoxes[BB](boundingBoxes: Seq[BB], properties: Properties = Properties.empty)(implicit arg0: BoundingBoxOperations[BB]): FeatureCollection
Returns a new feature collection with a feature consisting all the given bounding boxes and properties added at the end.
Returns a new feature collection with a feature consisting all the given bounding boxes and properties added at the end.
- boundingBoxes
sequence of bounding boxes of 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(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @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
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @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
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- 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(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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.
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)