|
AfriGIS Map SDK (BB10)
v 1.0.0
Provides easy integration of AfriGIS Maps into BB10 platform.
|
Annotation Item object representing a rectangle area on map which is filled with provided image. This class manages the data that defines the area and handles the drawing of the rectangle area on a map which is filled with provided image. More...
#include <ImageItem.hpp>
Public Member Functions | |
| ImageItem (QList< AGLocationCoordinate2D > *imageCenter, QByteArray *image, int imageWidth, int imageHeight, ViewManager *viewManager, AGOffsetInPixel offset) | |
| private. More... | |
| ~ImageItem () | |
| destructor. More... | |
| void | render () |
| private. More... | |
| void | updateLocation (QList< AGLocationCoordinate2D > *updatedGeoLocationCoordinates) |
| update location of the image annotation. More... | |
| void | addItemInCluster (Item *item) |
| private. More... | |
| QList< Item * > | getItemListInCluster () |
| private. More... | |
| void | clearCluster () |
| private. More... | |
| int | getClusterSize () |
| private. More... | |
| bool | isClusterItem () |
| private. More... | |
| QList< AGLocationCoordinate2D > * | getLocation () |
| get location of image annotation. More... | |
| QPair< int, int > | getSize () |
| get width and height. More... | |
| void | setView (AnnotationView *annotationView) |
| private. More... | |
| AnnotationView * | getView () |
| private. More... | |
| bool | isTouched (bb::cascades::TouchEvent *event) |
| private. More... | |
| bool | isTouched (double localX, double localY) |
| check if the pixel coordinate is on the image or not. More... | |
| bool | isBubbleEnabled () |
| private. More... | |
| void | setBubbleEnabled (bool bubbleStatus) |
| private. More... | |
| QVariant | getAssociatedData () |
| get the data associated with this circle. More... | |
| void | setAssociatedData (QVariant associatedData) |
| set any type of 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... | |
Annotation Item object representing a rectangle area on map which is filled with provided image. This class manages the data that defines the area and handles the drawing of the rectangle area on a map which is filled with provided image.
| ImageItem::ImageItem | ( | QList< AGLocationCoordinate2D > * | imageCenter, |
| QByteArray * | image, | ||
| int | imageWidth, | ||
| int | imageHeight, | ||
| ViewManager * | viewManager, | ||
| AGOffsetInPixel | offset | ||
| ) |
private.
| ImageItem::~ImageItem | ( | ) |
destructor.
| void ImageItem::addItemInCluster | ( | Item * | item | ) |
private.
| void ImageItem::clearCluster | ( | ) |
private.
|
virtual |
| int ImageItem::getClusterSize | ( | ) |
private.
| QList< Item * > ImageItem::getItemListInCluster | ( | ) |
private.
|
virtual |
| QPair< int, int > ImageItem::getSize | ( | ) |
get width and height.
|
virtual |
| bool ImageItem::isBubbleEnabled | ( | ) |
private.
| bool ImageItem::isClusterItem | ( | ) |
private.
| bool ImageItem::isTouched | ( | bb::cascades::TouchEvent * | event | ) |
private.
| bool ImageItem::isTouched | ( | double | localX, |
| double | localY | ||
| ) |
check if the pixel coordinate is on the image or not.
| localX | x coordinate |
| localY | y coordinate |
|
virtual |
|
virtual |
set any type of data associated with this circle.
| associatedData | to set |
Implements Item.
| void ImageItem::setBubbleEnabled | ( | bool | bubbleStatus | ) |
private.
|
virtual |
|
virtual |
1.8.9.1