src/layer/heatmap/HeatMapTile.js
function(data, options) {
        this._data = data;

        this._sector = options.sector;

        this._canvas = this.createCanvas(options.width, options.height);

        this._width = options.width;
        this._height = options.height;
        this._intensityGradient = options.intensityGradient;

        this._radius = options.radius;

        this._incrementPerIntensity = options.incrementPerIntensity;
    }
function(data, options) {
        this._data = data;

        this._sector = options.sector;

        this._canvas = this.createCanvas(options.width, options.height);

        this._width = options.width;
        this._height = options.height;
        this._intensityGradient = options.intensityGradient;

        this._radius = options.radius;

        this._incrementPerIntensity = options.incrementPerIntensity;
    }
function ( data , options ) { this . _data = data ; this . _sector = options . sector ; this . _canvas = this . createCanvas ( options . width , options . height ) ; this . _width = options . width ; this . _height = options . height ; this . _intensityGradient = options . intensityGradient ; this . _radius = options . radius ; this . _incrementPerIntensity = options . incrementPerIntensity ; }
Constructs a HeatMapTile.

Returns one tile for the HeatMap information. It is basically an interface specifying the public methods
properties and default configuration. The logic itself is handled in the subclasses.

@alias HeatMapTile
@constructor
@classdesc Tile for the HeatMap layer visualising data on a canvas using shades of gray scale.

@param data {Object[]} Array of information constituting points in the map.
@param options {Object}
@param options.sector {Sector} Sector representing the geographical area for this tile. It is used to correctly
interpret the location of the MeasuredLocation on the resulting canvas.
@param options.width {Number} Width of the Canvas to be created in pixels.
@param options.height {Number} Height of the Canvas to be created in pixels.
@param options.radius {Number} Radius of the data point in pixels. The radius represents the blur applied to the
drawn shape
@param options.incrementPerIntensity {Number} The ratio representing the 1 / measure for the maximum measure.
@param options.intensityGradient {Object} Keys represent the opacity between 0 and 1 and the values represent
color strings.
Constructs a HeatMapTile .