View responsible for presenting annotations visually in map. Annotation view are loosely coupled to a corresponding annotation object, which is an object that corresponds to the Item interface. When an annotation’s coordinate point is in the visible region, the annotation view will draw the annotation item.
More...
#include <AnnotationView.hpp>
View responsible for presenting annotations visually in map. Annotation view are loosely coupled to a corresponding annotation object, which is an object that corresponds to the Item interface. When an annotation’s coordinate point is in the visible region, the annotation view will draw the annotation item.
- Since
- v0.6.0
AnnotationView::AnnotationView |
( |
ViewManager * |
viewManager, |
|
|
QList< Item * > * |
itemList = NULL |
|
) |
| |
AnnotationView::~AnnotationView |
( |
| ) |
|
void AnnotationView::addItemList |
( |
QList< Item * > * |
itemList | ) |
|
add item list to draw on annotation view
- Parameters
-
itemList | items to be drawn on this annotation view. |
- Since
- v0.6.0
QList< QPair< float, float > > * AnnotationView::convertGeoCoordinatesToRelativeCoordinates |
( |
QList< AGLocationCoordinate2D > * |
geoCoordinates | ) |
|
QList< AGLocationCoordinate2D > * AnnotationView::convertRelativeCoordinatesToGeoCoordinates |
( |
QList< QPair< float, float > > * |
relativeCoordinates | ) |
|
void AnnotationView::enableClustering |
( |
bool |
status | ) |
|
enable clustering
- Parameters
-
- Since
- v0.6.0
QList< Item * > AnnotationView::getAllItemList |
( |
| ) |
|
get all item list
- Returns
- list of items that the annotation view holds.
- Since
- v0.6.0
QList< Item * > AnnotationView::getCurretRenderedItemList |
( |
| ) |
|
get all currently rendered item list
- Returns
- list of currently rendered items that the annotation view holds.
- Since
- v0.6.0
AGMapFont_t * AnnotationView::getTextFont |
( |
| ) |
|
void AnnotationView::init |
( |
| ) |
|
bool AnnotationView::isClusterEnable |
( |
| ) |
|
get clster is enabled or not
- Returns
- status.
- Since
- v0.6.0
void AnnotationView::loadTiles |
( |
| ) |
|
|
inlinevirtual |
void AnnotationView::pan |
( |
float |
moveX, |
|
|
float |
moveY |
|
) |
| |
|
inlinevirtual |
void AnnotationView::removeItem |
( |
Item * |
item | ) |
|
remove a single item
- Parameters
-
- Since
- v0.6.0
void AnnotationView::render |
( |
| ) |
|
|
virtual |
void AnnotationView::renderNow |
( |
| ) |
|
|
virtual |
void AnnotationView::setMap |
( |
| ) |
|
|
inlinevirtual |
void AnnotationView::sigClusterItemList |
( |
| ) |
|
|
signal |
void AnnotationView::update |
( |
| ) |
|
|
inlinevirtual |
void AnnotationView::zoom |
( |
float |
moveX, |
|
|
float |
moveY, |
|
|
double |
scaleX, |
|
|
double |
scaleY |
|
) |
| |
|
virtual |
float AnnotationView::centerAbsoluteCoordX |
float AnnotationView::centerOfViewX |
The documentation for this class was generated from the following files:
- D:/office_workspaces/ndk-10.2.0-workspace/AfrigisMapSDK/src/PublicMap/include/AnnotationView.hpp
- D:/office_workspaces/ndk-10.2.0-workspace/AfrigisMapSDK/src/PublicMap/PublicImplementation/AnnotationView.cpp