MEMapInfo Class Reference

Inherits from NSObject
Conforms to NSCopying
Declared in MEMapInfo.h

Overview

Base class object that describes a map layer and options for it. Used when adding a map, virtual map or inquiring about map. There are several sub-classes of MEMapInfo. When adding a map, you create an MEMapInfo object of the appropriate type, populate its properties and then call MEMapViewController addMapUsingMapInfo passing in the MEMapInfo object.

There are several possible map types, see MEMapType.

When adding a map, it is best to use the appropriate MEMapInfo-derived object type:

Different map types can have different content types and loading strategies. Please refer to:

  mapType

Map type.

@property (assign) MEMapType mapType

See Also

Declared In

MEMapInfo.h

  sqliteFileName

Associated filename.

@property (retain) NSString *sqliteFileName

Declared In

MEMapInfo.h

  tableNamePrefix

Table name prefix.

@property (retain) NSString *tableNamePrefix

Declared In

MEMapInfo.h

  loadingStrategy

Map loading strategy type.

@property (assign) MEloadingStrategy loadingStrategy

Declared In

MEMapInfo.h

  name

Unique name of map.

@property (retain) NSString *name

Declared In

MEMapInfo.h

  zOrder

They layer order of this map, higher means higher in the stack.

@property (assign) unsigned int zOrder

Declared In

MEMapInfo.h

  maxLevel

Maximum detail level of the map. (Specified for in-memory marker maps and virtual maps).

@property (assign) unsigned int maxLevel

Declared In

MEMapInfo.h

  priority

Specifies the relative priority of this map layer. Please read see MEMapViewController’s setMapPriority function for an explanation of priority.

@property (assign) int priority

Declared In

MEMapInfo.h

  alpha

0 to 1 value for the map alpha. 0 is invisible, 1 is opaque.

@property (assign) double alpha

Declared In

MEMapInfo.h

  isVisible

Whether or not the map is vibile.

@property (assign) BOOL isVisible

Declared In

MEMapInfo.h

  compressTextures

Whether or not to compress textures for this map to 2 byte formats.

@property (assign) BOOL compressTextures

Declared In

MEMapInfo.h

  minX

The minimum longitude for this map.

@property (assign) double minX

Declared In

MEMapInfo.h

  minY

The minimum latitude for this map.

@property (assign) double minY

Declared In

MEMapInfo.h

  maxX

The maximum longitude for this map.

@property (assign) double maxX

Declared In

MEMapInfo.h

  maxY

The maximum latitude for this map.

@property (assign) double maxY

Declared In

MEMapInfo.h

  borderPixelCount

Specifies number of pixels that border each tile.

@property (assign) unsigned int borderPixelCount

Declared In

MEMapInfo.h

  defaultTileName

Specifies the name of the pre-loaded default tile to render while tiles are being loaded or to use when a tile is not available.

@property (retain) NSString *defaultTileName

Declared In

MEMapInfo.h

+ mapTypeDescription:

Returns a human readable map type description for the specified map type.

+ (NSString *)mapTypeDescription:(MEMapType)mapType

Declared In

MEMapInfo.h