Class YMKSublayer

Describes a collection of objects on the map that will be rendered together.

Properties

featureType

Describes the type of features stored in this sublayer.

filter

Sublayer filter.

layerId

The sublayer is a part of the tiled layer or independent map object collection.

modeAgainstLabels

Determines how features of the sublayer participates in label conflict resolution.

modeAgainstPlacemarks

Determines how features of the sublayer participates in placemark conflict resolution.

valid

Tells if this object is valid or no.

Property Detail

featureType

(assign, readwrite) YMKSublayerFeatureType featureType

Describes the type of features stored in this sublayer.

filter

(assign, readonly) YMKSublayerFeatureFilter * filter

Sublayer filter.

The default filter excludes nothing.

layerId

(assign, readwrite) NSString * layerId

The sublayer is a part of the tiled layer or independent map object collection.

All features in the same sublayer are rendered together.

All layers are listed in this table (G - Ground, M - Models, P - Placemarks, L - Labels):

| layer name | G | M | P | L | description | ---------------------------------------------------------------------| | map | + | | + | + | main map layer | | personalizedPoi | + | | + | | personalized POI layer | | jams | + | | + | | traffic layer | | carparks | + | | + | | car park layer | | transport | | | + | | transport object collection | | searchPins | | | + | | search pins collection | | advertPins | | | + | | advert pins on the route | | buildings | | + | | | buildings and models from all layers | | | | | | | (except textured models) | | mapObjects | + | + | + | | default map object layer | | userLocation | + | + | + | | user location layer | ---------------------------------------------------------------------| | user layer | + | | + | + | any new user layer | | collection | + | + | + | | any new map object layer |

modeAgainstLabels

(assign, readwrite) YMKConflictResolutionMode modeAgainstLabels

Determines how features of the sublayer participates in label conflict resolution.

modeAgainstPlacemarks

(assign, readwrite) YMKConflictResolutionMode modeAgainstPlacemarks

Determines how features of the sublayer participates in placemark conflict resolution.

valid

(assign, readonly, getter=isValid) BOOL valid

Tells if this object is valid or no.

Any method called on an invalid object will throw an exception. The object becomes invalid only on UI thread, and only when its implementation depends on objects already destroyed by now. Please refer to general docs about the interface for details on its invalidation.