function hbTileLayer (copyrights, minResolution, maxResolution, options)
{
  GTileLayer.call (this, copyrights, minResolution, maxResolution, options);

  this.minRes = minResolution;
  this.maxRes = maxResolution;

  if (options)
  {
    if (options.opacity)
    {
      this.opacity = options.opacity;
    }
    else
    {
      this.opacity = 1.0;
    }
    
    if (options.isPng)
    {
      this.isAPng = options.isPng;
    }
    else
    {
      this.isAPng = false;
    }
    
    this.tileUrlTemplate = options.tileUrlTemplate;
    this.draggingCursor = options.draggingCursor;
  }
}

hbTileLayer.prototype = new GTileLayer ();

hbTileLayer.prototype.minResolution = function ()
{
  return this.minRes;
}

hbTileLayer.prototype.maxResolution = function ()
{
  return this.maxRes;
}

hbTileLayer.prototype.getTileUrl = function (tile, zoom)
{
  return this.tileUrlTemplate;
}

hbTileLayer.prototype.isPng = function ()
{
  return this.isAPng;
}

hbTileLayer.prototype.getOpacity = function ()
{
  return this.opacity
}
