function openlayers_examples_default_openlayers_styles_alter in Openlayers 7.3
Implements hook_default_openlayers_styles_alter().
File
- modules/
openlayers_examples/ includes/ openlayers_examples.default_openlayers_styles.inc, line 429 - Default styles.
Code
function openlayers_examples_default_openlayers_styles_alter(&$exports) {
$exports['openlayers_examples_style_icon_marker']->options['path'] = file_create_url(drupal_get_path('module', 'openlayers_examples') . '/assets/marker-icon.png');
}