You are here

function openlayers_test_rnd_factor::get_context_properties in Openlayers 6.2

Get an array of style property callbacks

Overrides openlayers_style_plugin::get_context_properties

File

tests/plugins/style_plugin/openlayers_test_rnd_factor.inc, line 43
Test

Class

openlayers_test_rnd_factor
Style Plugin for testing purposes.

Code

function get_context_properties() {
  return array(
    'fillOpacity' => 'getFactor',
    'strokeOpacity' => 'getFactor',
    'graphicOpacity' => 'getFactor',
  );
}