function openlayers_behavior_cluster::options_init in Openlayers 6.2
Same name and namespace in other branches
- 7.2 plugins/behaviors/openlayers_behavior_cluster.inc \openlayers_behavior_cluster::options_init()
Provide initial values for options.
Overrides openlayers_behavior::options_init
File
- includes/
behaviors/ openlayers_behavior_cluster.inc, line 15 - Implementation of OpenLayers Cluster behavior.
Class
- openlayers_behavior_cluster
- Cluster behavior
Code
function options_init() {
return array(
'clusterlayer' => array(),
'distance' => '20',
'threshold' => NULL,
);
}