HERE Android SDK Developer's Guide

PixelResult

The class PixelResult is a member of com.here.android.mpa.mapping.Map.

Class Summary

public static class Map.PixelResult

extends java.lang.Object

Result class for conversion of a GeoCoordinate to screen pixel coordinates.

[For complete information, see the section Class Details]

See also:

projectToPixel(GeoCoordinate)

Nested Class Summary

Table 1. Nested Classes in PixelResult
Nested Classes

public static final enumeration Map.PixelResult.Error

Error code for the computation of GeoCoordinate to screen pixel coordinate projection

Method Summary

Table 2. Methods in PixelResult
Methods

public Error getError ()

Get the Map.PixelResult.Error of the GeoCoordinate to screen Pixel conversion.

public PointF getResult ()

Get the result of the GeoCoordinate to screen Pixel conversion.

Class Details

Result class for conversion of a GeoCoordinate to screen pixel coordinates.

See also:

projectToPixel(GeoCoordinate)

Method Details

public Error getError ()

Get the Map.PixelResult.Error of the GeoCoordinate to screen Pixel conversion.

Returns:

Error screen space in pixels.

public PointF getResult ()

Get the result of the GeoCoordinate to screen Pixel conversion.

Returns:

PointF screen space in pixels.