ensureIndexFresh method

void ensureIndexFresh()

Ensures spatial index is up-to-date before querying. Call this before any spatial operations.

Implementation

void ensureIndexFresh() {
  if (_indexDirty) {
    _rebuildSpatialIndex();
  }
}