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

Annotation Item object representing a circular area on map. This class manages the data that defines the area and handles the drawing of the circular area on a map. More...

#include <CircleItem.hpp>

Inheritance diagram for CircleItem:
Item

Public Member Functions

 CircleItem (QList< AGLocationCoordinate2D > *circleCenter, float circleRadius, QColor *circleColor, ViewManager *viewManager, AGOffsetInPixel offset)
 private. More...
 
 ~CircleItem ()
 destructor. More...
 
void render ()
 private. More...
 
void updateLocation (QList< AGLocationCoordinate2D > *updatedGeoLocationCoordinates)
 update location of circle centre. More...
 
QList< AGLocationCoordinate2D > * getLocation ()
 get location of circle annotation. 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...
 

Additional Inherited Members

- Public Attributes inherited from Item
float offsetX
 private. More...
 
float offsetY
 
QVariant associatedData
 private. More...
 

Detailed Description

Annotation Item object representing a circular area on map. This class manages the data that defines the area and handles the drawing of the circular area on a map.

Since
v0.6.0

Constructor & Destructor Documentation

CircleItem::CircleItem ( QList< AGLocationCoordinate2D > *  circleCenter,
float  circleRadius,
QColor *  circleColor,
ViewManager *  viewManager,
AGOffsetInPixel  offset 
)

private.

Since
v0.6.0
CircleItem::~CircleItem ( )

destructor.

Since
v0.6.0

Member Function Documentation

QVariant CircleItem::getAssociatedData ( )
virtual

get the data associated with this circle.

Returns
associatedData to get
Since
v0.6.0

Implements Item.

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

get location of circle annotation.

Returns
location
Since
v0.6.0

Implements Item.

AnnotationView * CircleItem::getView ( )
virtual

private.

Since
v0.6.0

Implements Item.

void CircleItem::render ( )
virtual

private.

Since
v0.6.0

Implements Item.

void CircleItem::setAssociatedData ( QVariant  associatedData)
virtual

set any type of data associated with this circle.

Parameters
associatedDatato set
Since
v0.6.0

Implements Item.

void CircleItem::setView ( AnnotationView annotationView)
virtual

private.

Since
v0.6.0

Implements Item.

void CircleItem::updateLocation ( QList< AGLocationCoordinate2D > *  updatedGeoLocationCoordinates)
virtual

update location of circle centre.

Parameters
updatedGeoLocationCoordinateslocation to update
Since
v0.6.0

Implements Item.


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