traverse abstract method

void traverse(
  1. MapObjectVisitor mapObjectVisitor
)

Traverses through the collection with a visitor object. Used for iteration over map objects in the collection.

The class does not retain the object in the 'mapObjectVisitor' parameter. It is your responsibility to maintain a strong reference to the target object while it is attached to a class.

Implementation

void traverse(
    mapkit_map_map_object_visitor.MapObjectVisitor mapObjectVisitor);