openlayers_test_features.openlayers_styles.inc in Openlayers 6.2
File
tests/openlayers_test_features/openlayers_test_features.openlayers_styles.inc
View source
<?php
function openlayers_test_features_openlayers_styles() {
$export = array();
$openlayers_styles = new stdClass();
$openlayers_styles->disabled = FALSE;
$openlayers_styles->api_version = 1;
$openlayers_styles->name = 'openlayers_test_features_style_example';
$openlayers_styles->title = 'Test Features Style: Example';
$openlayers_styles->description = 'This is a test style for Features, providing a basic style.';
$openlayers_styles->data = array(
'pointRadius' => 10,
'fillColor' => '#BBBBBB',
'strokeColor' => '#222222',
'strokeWidth' => 3,
'fillOpacity' => 0.2,
'strokeOpacity' => 0.8,
'strokeLinecap' => 'round',
'strokeDashstyle' => 'solid',
'graphicOpacity' => 1,
'labelAlign' => 'cm',
);
$export['openlayers_test_features_style_example'] = $openlayers_styles;
return $export;
}