AfriGIS Map SDK (BB10)  v 1.0.0
Provides easy integration of AfriGIS Maps into BB10 platform.
Signals | Public Member Functions | Public Attributes | List of all members
PolylineItem Class Reference

Annotation Item object representing a poly-line (example: route) on map. This class manages the data that defines the area and handles the drawing of the poly-line on a map. More...

#include <PolylineItem.hpp>

Inheritance diagram for PolylineItem:
Item

Signals

void loadPolylineNow ()
 private. More...
 

Public Member Functions

 PolylineItem (QList< AGLocationCoordinate2D > *geoLocationCoordinates, bool enableZoomToExtend, ViewManager *viewManager, AGOffsetInPixel offset)
 private. More...
 
 ~PolylineItem ()
 destructor. More...
 
void render ()
 private. More...
 
void updateLocation (QList< AGLocationCoordinate2D > *updatedGeoLocationCoordinates)
 private. More...
 
QList< AGLocationCoordinate2D > * getLocation ()
 private. More...
 
void setView (AnnotationView *annotationView)
 private. More...
 
AnnotationViewgetView ()
 private. More...
 
void setAssociatedData (QVariant associatedData)
 set any type of data associated with this circle. More...
 
QVariant getAssociatedData ()
 get the data associated with this circle. More...
 
- Public Member Functions inherited from Item
 Item ()
 private. More...
 
virtual ~Item ()
 private. More...
 

Public Attributes

int zoomLevelToViewFullRouteView
 private. More...
 
float centerRelativeOfRouteGeoLocationCoordinatesX
 private. More...
 
float centerRelativeOfRouteGeoLocationCoordinatesY
 private. More...
 
AGLocationCoordinate2DcenterOfRouteGeoLocationCoordinates
 private. More...
 
- Public Attributes inherited from Item
float offsetX
 private. More...
 
float offsetY
 
QVariant associatedData
 private. More...
 

Detailed Description

Annotation Item object representing a poly-line (example: route) on map. This class manages the data that defines the area and handles the drawing of the poly-line on a map.

Since
v0.6.0

Constructor & Destructor Documentation

PolylineItem::PolylineItem ( QList< AGLocationCoordinate2D > *  geoLocationCoordinates,
bool  enableZoomToExtend,
ViewManager *  viewManager,
AGOffsetInPixel  offset 
)

private.

Since
v0.6.0
PolylineItem::~PolylineItem ( )

destructor.

Since
v0.6.0

Member Function Documentation

QVariant PolylineItem::getAssociatedData ( )
virtual

get the data associated with this circle.

Returns
associatedData to get
Since
v0.6.0

Implements Item.

QList< AGLocationCoordinate2D > * PolylineItem::getLocation ( )
virtual

private.

Since
v0.6.0

Implements Item.

AnnotationView * PolylineItem::getView ( )
virtual

private.

Since
v0.6.0

Implements Item.

void PolylineItem::loadPolylineNow ( )
signal

private.

Since
v0.6.0
void PolylineItem::render ( )
virtual

private.

Since
v0.6.0

Implements Item.

void PolylineItem::setAssociatedData ( QVariant  associatedData)
virtual

set any type of data associated with this circle.

Parameters
associatedDatato set
Since
v0.6.0

Implements Item.

void PolylineItem::setView ( AnnotationView annotationView)
virtual

private.

Since
v0.6.0

Implements Item.

void PolylineItem::updateLocation ( QList< AGLocationCoordinate2D > *  )
virtual

private.

Since
v0.6.0

Implements Item.

Member Data Documentation

AGLocationCoordinate2D* PolylineItem::centerOfRouteGeoLocationCoordinates

private.

Since
v0.6.0
float PolylineItem::centerRelativeOfRouteGeoLocationCoordinatesX

private.

Since
v0.6.0
float PolylineItem::centerRelativeOfRouteGeoLocationCoordinatesY

private.

Since
v0.6.0
int PolylineItem::zoomLevelToViewFullRouteView

private.

Since
v0.6.0

The documentation for this class was generated from the following files: