AbstractMarkerTiler::Tile* AbstractMarkerTiler::resetRootTile() { tileDelete(d->rootTile); d->rootTile = tileNew(); return d->rootTile; }
void AbstractMarkerTiler::tileDeleteChildren(AbstractMarkerTiler::Tile* const tile) { if (!tile) return; QVector<Tile*> tileChildren = tile->takeChildren(); foreach(Tile* tilec, tileChildren) { tileDelete(tilec); }