import { MMapGroupEntity } from "../MMapEnities"; /** * MMapCollection is a collection of MMapEntity objects. * Allow adding or removing [[MMapEntity]] objects. * ```typescript * const collection = new MMapCollection({}); * const markerElement = document.createElement('div'); * markerElement.className = 'marker'; * * for (let i = 0; i < 10_000; i++) { * collection.addChild(new MMapMarker({ * coordinates: [Math.random() * 180, Math.random() * 180] * }, markerElement.cloneNode(true))); * } * * map.addChild(collection); // Add collection to the map * map.removeChild(collection); // Remove all markers from the map * ``` */ export declare class MMapCollection extends MMapGroupEntity<{}> { }