![]() |
WhirlyGlobe
1.2
A 3D interactive globe toolkit for iOS
|
#import <MarkerLayer.h>
Public Member Functions | |
(void) | - addTexID: |
Add a texture ID to be displayed. | |
Properties | |
bool | isSelectable |
WhirlyGlobe::SimpleIdentity | selectID |
WhirlyGlobe::GeoCoord | loc |
The location for the center of the marker. | |
std::vector < WhirlyGlobe::SimpleIdentity > | texIDs |
float | width |
The width in 3-space (remember the globe has radius = 1.0) | |
float | height |
The height in 3-space (remember the globe has radius = 1.0) | |
NSTimeInterval | period |
The period over which we'll switch textures. | |
NSTimeInterval | timeOffset |
WhirlyGlobe Marker A single marker object to be placed on the globe. It will show up with the given width and height and be selectable if so desired.
- (bool) isSelectable [read, write, assign] |
If set, this marker should be made selectable and it will be if the selection layer has been set
- WhirlyGlobe: [read, write, assign] |
If the marker is selectable, this is the unique identifier for it. You should set this ahead of time
- std: [read, assign] |
The list of textures to use. If there's just one we show that. If there's more than one, we switch between them over the period.
- (NSTimeInterval) timeOffset [read, write, assign] |
For markers with more than one texture, this is the offset we'll use when calculating position within the period.