Members
punycode :Object
The `punycode` object.
Type:
- Object
- Source:
Methods
changeAtt(feat)
Changes the innerHTML of the attribute dropdown, with the reponse from the AJAX request.
Parameters:
Name | Type | Description |
---|---|---|
feat |
checkAttValue()
check if attribute value has been chosen then enable next button
- Source:
checkDiscrete()
If discrete data then a few things have to be hidden on the appropriate pages
- Source:
checkDiscrete_p3()
If discrete data then a few things have to be hidden on p3
- Source:
checkDiscrete_p4()
If discrete data then a few things have to be hidden on p4
- Source:
checkHeatOrPropSym()
If heat or choropleth map then a few things have to be hidden on the appropriate pages
- Source:
closeNav()
Closes a navigation.
- Source:
closeNav()
Closes a navigation.
- Source:
closeNav2()
Closes a navigation 2.
- Source:
convertToImage()
Convert map to image
- Source:
download()
download map to PNG
- Source:
downloadMap()
Downloads a map.
- Source:
generateBuilderAndFinalMap()
Used to call to a function to load the maps legend.
hideMetaData()
Hides the meta data.
- Source:
hideNav2()
Hides the navigation 2.
- Source:
isFloat(n)
Checks if param is a float
Parameters:
Name | Type | Description |
---|---|---|
n |
isInt(n)
Checks if param is an int
Parameters:
Name | Type | Description |
---|---|---|
n |
jenks(tempVectorLayerClasses, numberOfClasses)
Performs jenks calculations
Parameters:
Name | Type | Description |
---|---|---|
tempVectorLayerClasses |
array | The vector layer classes |
numberOfClasses |
number | The number of classes |
jenksMatrices(tempVectorLayerClasses, numberOfClasses)
Compute the matrices required for Jenks breaks. These matrices
can be used for any classing of data with `classes <= numberOfClasses
Parameters:
Name | Type | Description |
---|---|---|
tempVectorLayerClasses |
array | The vector layer classes |
numberOfClasses |
number | The number of classes |
listDataSets(response)
insert datasets into list html element
Parameters:
Name | Type | Description |
---|---|---|
response |
loadClassificationAndClasses()
Calls loadMap function to create the map type selected with different classification and classes.
loadColorSchemes()
Calls loadMap function to create the map type selected with different colors.
loadDataset(url, callback)
Loads a dataset.
Parameters:
Name | Type | Description |
---|---|---|
url |
||
callback |
function | The callback function, used for the XML Request. |
loadFinalMap()
Loads the final map.
loadMap(mapType, pageToLoad, callback)
Loads a map. Specified with the paramaters
Parameters:
Name | Type | Description |
---|---|---|
mapType |
number | The map type to create. 1 = Dotdensity, 2 = choropleth, 3 = Heatmap, 4 = Proportional Symbol |
pageToLoad |
number | The page to execute for in the wizard. |
callback |
function | The callback function used to iterate through the number of maps needed to create. |
loadWizardMaps(mapToLoad)
Loads wizard map types.
Parameters:
Name | Type | Description |
---|---|---|
mapToLoad |
number | The map type to create. |
openNav()
Opens a navigation.
- Source:
openNav()
Opens a navigation.
- Source:
openNav2()
Opens a navigation 2.
- Source:
populateAtt(val)
Populates the attributes of the data set selected.
Parameters:
Name | Type | Description |
---|---|---|
val |
populateAttValues()
populateattribute values
requestCapabilities()
Request capabilities which contain the names of datasets
setAttrValue()
Sets the attribute value.
setBoundaries()
Sets the boundaries.
setDataset()
Sets the dataset.
setMapTitle()
Sets the map title.
- Source:
setNumClasses()
Sets the number classes.
- Source:
setStdMethod()
Sets the standard method.
- Source:
setStdMethod()
Sets the standard method.
showLogin()
Shows the login.
- Source:
showMapKey()
Shows the map key.
- Source:
showMetaData()
Shows the meta data.
- Source:
showNav2()
Shows the navigation 2.
- Source:
unHideMeta()
unhides meta data
- Source: