diff --git a/includes/openlayers.styles.inc b/includes/openlayers.styles.inc index db864b7..34bd897 100644 --- a/includes/openlayers.styles.inc +++ b/includes/openlayers.styles.inc @@ -78,7 +78,7 @@ function _openlayers_openlayers_styles() { $style->description = t('!color marker provided by the OpenLayers module.', array('!color' => $color)); $style->data = array( - 'externalGraphic' => drupal_get_path('module', 'openlayers') . + 'externalGraphic' => base_path() . drupal_get_path('module', 'openlayers') . '/themes/default_dark/img/marker-' . $marker . '.png', 'graphicWidth' => 21, 'graphicHeight' => 25, @@ -95,7 +95,7 @@ function _openlayers_openlayers_styles() { $style->title = t('Marker Black'); $style->description = t('Black marker provided by the OpenLayers module.'); $style->data = array( - 'externalGraphic' => drupal_get_path('module', 'openlayers') . + 'externalGraphic' => base_path() . drupal_get_path('module', 'openlayers') . '/themes/default_dark/markers/marker-black.png', 'graphicWidth' => 25, 'graphicHeight' => 41, @@ -110,7 +110,7 @@ function _openlayers_openlayers_styles() { $style->title = t('Marker Black Small'); $style->description = t('Small black marker provided by the OpenLayers module.'); $style->data = array( - 'externalGraphic' => drupal_get_path('module', 'openlayers') . + 'externalGraphic' => base_path() . drupal_get_path('module', 'openlayers') . '/themes/default_dark/markers/marker-black-small.png', 'graphicWidth' => 16, 'graphicHeight' => 26,