You are here

function openlayers_layer_types in Openlayers 6.2

Same name and namespace in other branches
  1. 7.2 openlayers.module \openlayers_layer_types()

Get all layer types.

Parameters

$reset: Boolean whether to reset cache or not.

Return value

Array of layer type info.

5 calls to openlayers_layer_types()
openlayers_get_layer_object in ./openlayers.module
Get layer object
openlayers_ui_get_layer_type_options in modules/openlayers_ui/includes/openlayers_ui.layers.inc
Get layer type options.
openlayers_ui_layers_settings in modules/openlayers_ui/includes/openlayers_ui.layers.inc
Layer-wide-settings form
openlayers_ui_layers_settings_submit in modules/openlayers_ui/includes/openlayers_ui.layers.inc
Submit handler for openlayers_ui_layers_settings
openlayers_ui_object_list in modules/openlayers_ui/openlayers_ui.module
Menu callback for Layers.

File

./openlayers.module, line 430
Main OpenLayers API File

Code

function openlayers_layer_types($reset = FALSE) {
  ctools_include('plugins');
  return ctools_get_plugins('openlayers', 'layer_types');
}