HERE Android SDK Developer's Guide

CLE2PolylineGeometry

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

Class Summary

public final class CLE2PolylineGeometry

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

Specifies a user-defined polyline geometry.

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in CLE2PolylineGeometry
Methods

public MapPolyline getMapPolyline ()

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

public GeoPolyline getPolyline ()

Gets the GeoPolyline in this geometry.

public void setPolyline (GeoPolyline polyline)

Sets the shape of this polyline to the one supplied.

Class Details

Specifies a user-defined polyline geometry. A polyline geometry represent a single GeoPolyline

Method Details

public MapPolyline getMapPolyline ()

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

Returns:

MapPolyline OR null if creating map polyline is not possible with GeoPolyline.

public GeoPolyline getPolyline ()

Gets the GeoPolyline in this geometry.

Returns:

GeoPolyline.

public void setPolyline (GeoPolyline polyline)

Sets the shape of this polyline to the one supplied.

Parameters:

  • polyline

    polyline defining the shape of this CLE2PolylineGeometry