docs: def map_floor(continent_id, floor, lang="en"):
      """This resource returns details about a map floor, used to populate a
      world map. All coordinates are map coordinates.
  
      The returned data only contains static content. Dynamic content, such as
      vendors, is not currently available.
  
      :param continent_id: The continent.
      :param floor: The map floor.
      :param lang: Show localized texts in the specified language.
  
      The response is an object with the following properties:
  
      texture_dims (dimension)
          The dimensions of the texture.
  
      clamped_view (rect)
          If present, it represents a rectangle of downloadable textures. Every
          tile coordinate outside this rectangle is not available on the tile
          server.
  
      regions (object)
          A mapping from region id to an object.
  
      Each region object contains the following properties:
  
      name (string)
          The region name.
  
      label_coord (coordinate)
          The coordinates of the region label.
  
      maps (object)
          A mapping from the map id to an object.
  
          Each map object contains the following properties:
  
          name (string)
              The map name.
  
          min_level (number)
              The minimum level of the map.
  
          max_level (number)
              The maximum level of the map.
  
          default_floor (number)
              The default floor of the map.
  
          map_rect (rect)
              The dimensions of the map.
  
          continent_rect (rect)
              The dimensions of the map within the continent coordinate system.
  
          points_of_interest (list)
              A list of points of interest (landmarks, waypoints and vistas)
  
              Each points of interest object contains the following properties:
  
              poi_id (number)
                  The point of interest id.
  
              name (string)
                  The name of the point of interest.
  
              type (string)
                  The type. This can be either "landmark" for actual points of
                  interest, "waypoint" for waypoints, or "vista" for vistas.
  
              floor (number)
                  The floor of this object.
  
              coord (coordinate)
                  The coordinates of this object.
  
          tasks (list)
              A list of renown hearts.
  
              Each task object contains the following properties:
  
              task_id (number)
                  The renown heart id.
  
              objective (string)
                  The objective or name of the heart.
  
              level (number)
                  The level of the heart.
  
              coord (coordinate)
                  The coordinates where it takes place.
  
          skill_challenges (list)
              A list of skill challenges.
  
              Each skill challenge object contains the following properties:
  
              coord (coordinate)
                  The coordinates of this skill challenge.
  
          sectors (list)
              A list of areas within the map.
  
              Each sector object contains the following properties:
  
              sector_id (number)
                  The area id.
  
              name (string)
                  The name of the area.
  
              level (number)
                  The level of the area.
  
              coord (coordinate)
                  The coordinates of this area (this is usually the center
                  position).
  
      Special types:
      Dimension properties are two-element lists of width and height.
      Coordinate properties are two-element lists of the x and y position.
      Rect properties are two-element lists of coordinates of the upper-left and
      lower-right coordinates.
  
      """
      cache_name = "map_floor.%s-%s.%s.json" % (continent_id, floor, lang)
      params = {"continent_id": continent_id, "floor": floor, "lang": lang}
      return get_cached("map_floor.json", cache_name, params=params)