Derived from: NMAMapObject
[For complete information, see the section Class Details]
Public Property Summary
Instance Method Summary
Applications can, as necessary, add or remove certain types of NMAMapObject objects to or from a NMAMapContainer (refer to addMapObject: for details). A NMAMapContainer is also useful for grouping together NMAMapObject objects to allow application operations on entire groups of map objects without requiring an iterative approach to inspecting or changing the state of each individual NMAMapObject (e.g. for changing their visibility).
You can use the
visible property to control whether the objects in the container are visible. If it's set to YES, then the visibility settings of each map object in the container are used. But unlike other map objects, NMAMapContainer does not support the use of visibility masks, so you cannot set container visibility on a zoom level basis.
Public Property Details
Instance Method Details
Adds a NMAMapObject to the NMAMapContainer.
NMAMapObject types that can be added to a NMAMapContainer are:
Attempts to add an object twice to the same container will be ignored.
A NMAMapObject to be added to the NMAMapContainer.
YES if the NMAMapObject was added successfully, NO otherwise.
Removes all NMAMapObject objects from the NMAMapContainer.
YES if all NMAMapObject objects were removed successfully, NO otherwise.
Removes the specified NMAMapObject from the NMAMapContainer.
If the specified NMAMapObject is not contained within the NMAMapContainer, the container will be unchanged.
A NMAMapObject to remove from the NMAMapContainer.
YES if the NMAMapObject was removed successfully, NO otherwise.