MEMarker Class Reference
| Inherits from | NSObject |
| Declared in | MEMarker.h MEMarker.m |
Tasks
-
uidproperty -
metaDataproperty -
uniqueNameproperty -
weightproperty -
rotationproperty -
rotationTypeproperty -
locationproperty -
cachedImageNameproperty -
anchorPointproperty -
offsetproperty -
minimumLevelproperty -
hitTestSizeproperty -
nearestNeighborTextureSamplingproperty -
uiImageproperty -
compressTextureproperty -
isVisibleproperty
Properties
anchorPoint
The image point that acts as the center of rotation and geographic anchor.
@property (assign) CGPoint anchorPointDeclared In
MEMarker.hcachedImageName
The name of a previously cached image to use for the marker. If this is set, the uiImage property is ignored.
@property (retain) NSString *cachedImageNameDeclared In
MEMarker.hcompressTexture
Whether or not to convert the provided uiImage to RGB565 or RGBA4444 2-byte format. This cuts texture memory size in half compared to 4-byte per pixel formats.
@property (assign) BOOL compressTextureDeclared In
MEMarker.hhitTestSize
Dimensions of the hit-test box for the marker in points. When set to anything other than width=0, height=0 (the default), this property overrides the normal hitTesting logic for the marker which is based on the anchor point and size of the marker image. This property should only be set when the marker image size is small enough that targeting it with a finger-tap would be difficult due to it being too small. When set, this size is automatically scaled to physical coordinates to take into account retina displays. The hit testing logic considers a box of this size around the anchor point of the marker.
@property (assign) CGSize hitTestSizeDeclared In
MEMarker.hlocation
Geographic location of the marker.
@property (assign) CLLocationCoordinate2D locationDeclared In
MEMarker.hmetaData
Contains meta data provided when the marker was generated. NOTE: internally, metaData and uniqueName are stored in the same string. Each property is present because this object is overloaded for clustered and dynamic marker maps.
@property (retain) NSString *metaDataDeclared In
MEMarker.hminimumLevel
Minimum level the marker should appear. Defaults to 0. Set to higher if you want the marker to only appear at higher zoom levels.
@property (nonatomic, assign) unsigned int minimumLevelDeclared In
MEMarker.hnearestNeighborTextureSampling
When a marker texture is drawn, the default sampling of it’s texture is bilinear. For some markers, for example those with text that you wish to be as crisp as possible on-screen, this can appear less readable when a marker image pixel falls between screen pixels. Setting this to YES will force nearest-neighbor sampling of the texture. The down-side, is that when the marker is being animated or panned around the map it’s image may appear to ‘snap’ to pixel alignment.
@property (assign) BOOL nearestNeighborTextureSamplingDeclared In
MEMarker.hoffset
Amount to offset marker from projected location on screen (in points) from anchorPoint.
@property (assign) CGPoint offsetDeclared In
MEMarker.hrotation
Rotation of the marker in degrees.
@property (assign) double rotationDeclared In
MEMarker.hrotationType
Specifies how the engine will render rotation of the marker. The default is kMarkerRotationScreenEdgeAligned.
@property (assign) MEMarkerRotationType rotationTypeDeclared In
MEMarker.huiImage
UIImage that represents the marker. You should set this property if you do not set a cachedImageName.
@property (retain) UIImage *uiImageDeclared In
MEMarker.huid
The row id of the marker from the sqlite database if it was loaded from a clustered marker map database produced by Altus tools.
@property (assign) unsigned int uidDeclared In
MEMarker.huniqueName
For markers added to dynamic marker maps, set this to a unique name. NOTE: internally, metaData and uniqueName are stored in the same string. Each property is present because this object is overloaded for clustered and dynamic marker maps.
@property (retain) NSString *uniqueNameDeclared In
MEMarker.h