GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Calculates the scale (1:X) of the map at its current zoom and latitude. Returns the cached value when zoom/latitude are unchanged.

      Parameters

      • map: MapLike | null | undefined
      • options: ScaleOptions = {}

      Returns number