HERE Android SDK Developer's Guide

CLE2MultiPolylineGeometry

The class CLE2MultiPolylineGeometry is a member of com.here.android.mpa.customlocation2 .

Class Summary

public final class CLE2MultiPolylineGeometry

extends com.here.android.mpa.customlocation2.CLE2Geometry, java.lang.Object

Specifies a user-defined multi polyline geometry.

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in CLE2MultiPolylineGeometry
Methods

public java.util.List <MapPolyline> getMapPolylines ()

Gets the list of MapPolyline that are created from GeoPolyline to be added onto the map.

public java.util.List <GeoPolyline> getPolylines ()

Gets the list of GeoPolyline of this geometry.

public void setPolylines (java.util.List <GeoPolyline> polylines)

Sets a lists of polylines to define the shape of this CLE2MultiPolylineGeometry .

Class Details

Specifies a user-defined multi polyline geometry. A multi polyline geometry represent a list of GeoPolyline.

Method Details

public java.util.List <MapPolyline> getMapPolylines ()

Gets the list of MapPolyline that are created from GeoPolyline to be added onto the map.

Returns:

List of MapPolyline OR null if creating map polylines is not possible with GeoPolylines.

See also:

MapPolyline(GeoPolyline)

public java.util.List <GeoPolyline> getPolylines ()

Gets the list of GeoPolyline of this geometry.

Returns:

List of GeoPolyline.

public void setPolylines (java.util.List <GeoPolyline> polylines)

Sets a lists of polylines to define the shape of this CLE2MultiPolylineGeometry .

Parameters:

  • polylines

    list of polylines defining the shape of this CLE2MultiPolylineGeometry

Throws:

  • IllegalArgumentException

    if polylines is null, empty or contains null or invalid (ie. containing less than two points) elements