Class Index | File Index

Classes


Class IAnalysis

IAnalysis class --This class could be considered a concrete implementation class
Defined in: locationbox_analysis.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
IAnalysis(mapper)
Create a new IAnalysis instance.
Method Summary
Method Attributes Method Name and Description
 
createBarAnalysis(typ, mouseclick)
Create bar analysis
 
createColoringAnalysis(typ, sym, mouseclick)
Create map coloring analysis
 
createPieAnalysis(typ, mouseclick)
Create pie analysis
 
Remove any analysis being shown.
 
Set the data for the bar analysis in xml format.
 
Set analysis bar style
 
Set the data for the map coloring analysis in xml format.
 
Set the data for the pie analysis in xml format.
 
Set the style of pie analysis specifying names, colors and the radius of the pie image.
 
setVisible(visible)
Set the visibility of analysis theme.
Class Detail
IAnalysis(mapper)
Create a new IAnalysis instance.
Parameters:
{object} mapper
IMapper object to use of multiple maps (optional).
Method Detail
createBarAnalysis(typ, mouseclick)
Create bar analysis
Parameters:
{string} typ
Type of the region.
{Function} mouseclick
The user defined function that is called when a bar analysis image is clicked.
See:
http://www.locationbox.com.tr/web/api_analysis.jsp
http://www.locationbox.com.tr/web/demo/analysisbar.jsp

createColoringAnalysis(typ, sym, mouseclick)
Create map coloring analysis
Parameters:
{string} typ
Type of the region.
{object} sym
Style object
{Function} mouseclick
The user defined function that is called when a coloring analysis is clicked.
See:
http://www.locationbox.com.tr/web/api_analysis.jsp
http://www.locationbox.com.tr/web/demo/analysiscoloring.jsp

createPieAnalysis(typ, mouseclick)
Create pie analysis
Parameters:
{string} typ
Type of the region.
{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
http://www.locationbox.com.tr/web/demo/analysispie.jsp

removeAnalysis()
Remove any analysis being shown.

setAnalysisBarData(xml)
Set the data for the bar analysis in xml format.
Parameters:
{string} xml
Bar analysis data formatted in xml.
See:
http://www.locationbox.com.tr/web/api_analysis.jsp

setAnalysisBarStyle(style)
Set analysis bar style
Parameters:
{obj} style
Style object

setAnalysisColoringData(xml)
Set the data for the map coloring analysis in xml format.
Parameters:
{string} xml
Map coloring analysis data formatted in xml.
See:
http://www.locationbox.com.tr/web/api_analysis.jsp

setAnalysisPieData(xml)
Set the data for the pie analysis in xml format.
Parameters:
{string} xml
Pie analysis data formatted in xml.
See:
http://www.locationbox.com.tr/web/api_analysis.jsp

setAnalysisPieStyle(style)
Set the style of pie analysis specifying names, colors and the radius of the pie image.
Parameters:
{obj} style
The style of the pie images in json format.
See:
http://www.locationbox.com.tr/web/api_analysis.jsp

setVisible(visible)
Set the visibility of analysis theme.
Parameters:
{boolean} visible
Visibility status. Takes true or false as input.

Documentation generated by JsDoc Toolkit 2.4.0 on Mon Aug 25 2014 11:26:06 GMT+0300 (EEST)