function openlayers_test_rnd_int::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_int.inc, line 63 - Test
Class
- openlayers_test_rnd_int
- Style Plugin for testing purposes.
Code
function get_context_properties() {
return array(
'pointRadius' => 'getInt',
'strokeWidth' => 'getInt',
'graphicWidth' => 'getInt',
'graphicHeight' => 'getInt',
'graphicXOffset' => 'getInt',
'graphicYOffset' => 'getInt',
'rotation' => 'getInt',
'labelXOffset' => 'getInt',
'labelYOffset' => 'getInt',
'fontSize' => 'getInt',
);
}