/**
* Create a new IAnalysis instance.
* @class IAnalysis class
* This class could be considered a concrete implementation class.
* @param {object} mapper IMapper object to use of multiple maps (optional).
* @constructor
*/
function IAnalysis(mapper) {
}
/**
* Create map coloring analysis.
*
* @param {string} typ Type of the region.
* @param {object} sym Style object.
* @param {object} styleScheme style scheme object.
* @param {function} mouseclick The user defined function that is called when a coloring analysis is clicked.
* @param {object} hoverStyle Color object for hover style create with mapper.createColorStyle(name, fillColor, fillOpacity, borderColor, borderOpacity, borderWidth).
*/
IAnalysis.prototype.createColoringAnalysis=function(typ, sym,styleScheme, mouseclick, hoverStyle) {
return;
}
/**
* Create Us map coloring analysis.
*
* @param {string} typ Type of the region.
* @param {object} sym Style object.
* @param {object} styleScheme Style scheme object.
* @param {function} mouseclick The user defined function that is called when a coloring analysis is clicked.
*/
IAnalysis.prototype.createUsColoringAnalysis=function(typ, sym,styleScheme, mouseclick) {
return;
}
/**
* Create bar analysis.
*
* @param {string} typ Type of the region.
* @param {function} mouseclick The user defined function that is called when a bar analysis image is clicked.
*/
IAnalysis.prototype.createBarAnalysis=function(typ, mouseclick) {
return;
}
/**
* Create Us bar analysis.
*
* @param {string} typ Type of the region.
* @param {function} mouseclick The user defined function that is called when a bar analysis image is clicked.
*/
IAnalysis.prototype.createUsBarAnalysis=function(typ, mouseclick) {
return;
}
/**
* Create pie analysis.
*
* @param {string} typ Type of the region.
* @param {function} mouseclick The user defined function that is called when a pie analysis image is clicked.
* @see http://www.locationbox.com.tr/web/api_analysis.jsp
* @see http://www.locationbox.com.tr/web/demo/analysispie.jsp
*/
IAnalysis.prototype.createPieAnalysis=function(typ, mouseclick) {
return;
}
/**
* Create Us pie analysis.
*
* @param {string} typ Type of the region.
* @param {function} mouseclick The user defined function that is called when a pie analysis image is clicked.
*/
IAnalysis.prototype.createUsPieAnalysis=function(typ, mouseclick) {
return;
}
/**
* Set the style of pie analysis specifying names, colors and the radius of the pie image.
*
* @param {obj} style The style of the pie images in json format.
* @see http://www.locationbox.com.tr/web/api_analysis.jsp
*/
IAnalysis.prototype.setAnalysisPieStyle=function(style) {
return;
}
/**
* Set the data for the pie analysis in xml format.
*
* @param {string} typ Required. The column to match non-spatial data with spatial data (e.g. 'id' or 'il_id').
* @param {string} xml Pie analysis data formatted in xml.
* @see http://www.locationbox.com.tr/web/api_analysis.jsp
*/
IAnalysis.prototype.setAnalysisPieData=function(typ, xml) {
return;
}
/**
* Set analysis bar style.
*
* @param {obj} style Style object.
*/
IAnalysis.prototype.setAnalysisBarStyle=function(style) {
return;
}
/**
* Set the data for the bar analysis in xml format.
*
* @param {string} typ Required. The column to match non-spatial data with spatial data (e.g. 'id' or 'il_id').
* @param {string} xml Bar analysis data formatted in xml.
* @see http://www.locationbox.com.tr/web/api_analysis.jsp
*/
IAnalysis.prototype.setAnalysisBarData=function(typ, xml) {
return;
}
/**
* Remove any analysis being shown.
*
*/
IAnalysis.prototype.removeAnalysis=function() {
return;
}
/**
* Set the data for the map coloring analysis in xml format.
* @param {string} typ Required. The column to match non-spatial data with spatial data (e.g. 'id' or 'il_id').
* @param {string} xml Map coloring analysis data formatted in xml.
* @see http://www.locationbox.com.tr/web/api_analysis.jsp
*/
IAnalysis.prototype.setAnalysisColoringData=function(typ,xml) {
return;
}