       @_set_data()
       @_map_data()
       @map_initialized = true
-    
+
     # brute force way of handling resize or responsive event -------------------------------------------------------------
     if @height != @map_frame.get('height') or @width != @map_frame.get('width')
       extent = @get_extent()

      [x, y, z, bounds] = t
      if @_is_valid_tile(x, y, z)
        key = @mget('tile_source').tile_xyz_to_key(x, y, z)
        if key of @mget('tile_source').tiles
          cached.push(key)

        else

          [px, py, pz] = @mget('tile_source').get_closest_parent_by_tile_xyz(x, y, z)
          parent_key = @mget('tile_source').tile_xyz_to_key(px, py, pz)
          if parent_key of @mget('tile_source').tiles and parent_key not in parents
            parents.push(parent_key)

          if zooming_out


    tile.onerror = @_on_tile_error
    tile.alt = ''

    tile.tile_data =
      tile_coords : [x, y, z]
      quadkey : @mget('tile_source').tile_xyz_to_quadkey(x, y, z)
      cache_key : @mget('tile_source').tile_xyz_to_key(x, y, z)
      bounds : bounds
      loaded : false
      x_coord : bounds[0]
      y_coord : bounds[3]

    @mget('tile_source').tiles[tile.tile_data.cache_key] = tile_data
    tile.src = @mget('tile_source').get_image_url(x, y, z)
    return tile

