Methods
Create a Theme object.
Usage
Theme$new(id, name, feature, feature_order)
 
Arguments
- id
- charactervalue.
 
- name
- charactervalue.
 
- feature
- listof Feature objects.
 
- feature_order
- numericvector.
 
 
Returns
A new Theme object.
 
 
Method repr()
Generate a character summarizing the representation of the object.
 
Method get_layer_name()
Get layer names.
Returns
character vector.
 
 
Method get_layer_pane()
Get layer map pane classes.
Returns
character vector.
 
 
Method get_layer_index()
Get layer index values.
Returns
character vector.
 
 
Method get_feature_id()
Get feature identifiers.
Returns
character vector with identifier(s).
 
 
Method get_feature_name()
Get feature names.
Returns
character vector with identifier(s).
 
 
Method get_feature_current()
Get feature current.
Usage
Theme$get_feature_current()
 
Returns
numeric vector with value(s).
 
 
Method get_feature_limit()
Get feature limit.
Usage
Theme$get_feature_limit()
 
Returns
numeric vector with value(s).
 
 
Method get_feature_total()
Get feature current.
Usage
Theme$get_feature_total()
 
Returns
numeric vector with value(s).
 
 
Method get_visible()
Get visible value for all features.
 
Method get_feature_visible()
Get feature visible values.
Usage
Theme$get_feature_visible()
 
Returns
logical vector with status value(s).
 
 
Method get_feature_invisible()
Get feature invisible values.
Usage
Theme$get_feature_invisible()
 
Returns
numeric vector with date/time value(s).
 
 
Method get_feature_loaded()
Get feature loaded values.
Usage
Theme$get_feature_loaded()
 
Returns
logical vector with loaded value(s).
 
 
Method get_feature_hidden()
Get feature hidden values.
Usage
Theme$get_feature_hidden()
 
Returns
logical vector with status value(s).
 
 
Method get_feature_downloadable()
Get feature downloadable values.
Usage
Theme$get_feature_downloadable()
 
Returns
logical vector with status value(s).
 
 
Method get_feature_status()
Get feature status values.
Usage
Theme$get_feature_status()
 
Returns
logical vector with status value(s).
 
 
Method get_feature_goal()
Get feature goal values.
Returns
numeric vector with goal value(s).
 
 
Method get_feature_order()
Set relative order for displaying features on a map.
Usage
Theme$get_feature_order()
 
 
Method set_feature_order()
Set relative order for displaying features on a map.
Usage
Theme$set_feature_order(value)
 
Arguments
- value
- numericvector of new orders.
 
 
 
Method get_setting()
Get setting.
Arguments
- name
- charactersetting name.
Available options are- "feature_status",- "feature_goal",- "feature_visible",- "visible", or- "feature_order".
 
 
 
Method set_visible()
Set visible value for all features.
 
Method set_feature_visible()
Set feature visible values.
Usage
Theme$set_feature_visible(value)
 
Arguments
- value
- logicalvector containing a value for each feature.
A- listof- logicalvalues can also be supplied.
 
 
 
Method set_feature_status()
Set feature status values.
Usage
Theme$set_feature_status(value)
 
Arguments
- value
- logicalvector containing a value for each feature.
A- listof- logicalvalues can also be supplied.
 
 
 
Method set_feature_goal()
Set feature goal values.
Usage
Theme$set_feature_goal(value)
 
Arguments
- value
- numericvector containing a value for each feature.
A- listof- numericvalues can also be supplied.
 
 
 
Method set_feature_current()
Set feature current values.
Usage
Theme$set_feature_current(value)
 
Arguments
- value
- numericvector containing a value for each feature.
A- listof- numericvalues can also be supplied.
 
 
 
Method set_setting()
Set setting.
Usage
Theme$set_setting(name, value)
 
Arguments
- name
- charactersetting name.
Available options are- "feature_status",- "feature_goal",- "feature_visible",- "visible",- "feature_order",
or- "feature_current".
 
- value
- vector containing a value for each feature. 
 
 
Get data for displaying the theme in a solutionSettings() widget.
Usage
Theme$get_solution_settings_widget_data()
 
Returns
list with widget data.
 
 
Get data for displaying the theme in a mapManager() widget.
Usage
Theme$get_map_manager_widget_data()
 
Returns
list with widget data.
 
 
Method render_on_map()
Render on map.
Usage
Theme$render_on_map(x, zindex)
 
 
Method update_on_map()
Render on map.
Usage
Theme$update_on_map(x, zindex)
 
 
Method export()
Export settings
 
Method clone()
The objects of this class are cloneable with this method.
Usage
Theme$clone(deep = FALSE)
 
Arguments
- deep
- Whether to make a deep clone.