GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Warns when map.center looks like it was written [lng, lat].

      center is [lat, lng] (map/facade.ts _centerFromArray), same order as bounds. Three profiles had it swapped — guyane declared [-53, 4], i.e. latitude -53 (Southern Ocean) instead of 4°N. It went unnoticed because they also declare bounds, which the loader prefers; the wrong center only bites the day the bounds go away.

      A range check alone would not catch it (-53 is a valid latitude), so the tell is a center sitting OUTSIDE its own bounds while fitting once swapped.

      Parameters

      • map: Record<string, unknown>
      • warn: (msg: string) => void

      Returns void