MapObjectManager | iOS SDK | 2GIS Documentation
iOS SDK

MapObjectManager

Extends: Hashable
public static func == (lhs: MapObjectManager, rhs: MapObjectManager) -> Bool

Returns a Boolean value indicating whether two values are equal.

public convenience init(
    map: Map,
    layerId: String? = nil
)

Create IMapObjectManager.

Parameters
map
layerId
String?

ID of a layer with "Dynamic object" style type. Created objects will be stored in this layer so that you can define their order relative to other layers. If not set, objects are stored above other layers.

Methods
Properties

Override the visibility of all objects added to the manager instance. The value false here takes precedence over the visibility of an individual object.