diff --git a/js/icon.js b/js/icon.js
index 8d711ca905b94300103aceec8354879740377cb2..61984386bb2bd7dc8f0774db6155f76685ce4880 100644
--- a/js/icon.js
+++ b/js/icon.js
@@ -59,7 +59,7 @@ Drupal.gmap.getIcon = function (setname, sequence) {
       t.iconAnchor = new GPoint(q.anchorX, q.anchorY);
       t.infoWindowAnchor = new GPoint(q.infoX, q.infoY);
       */
-      p = q.path;
+      p = Drupal.settings.basePath + Drupal.settings.pathPrefix + q.path;
       t = new google.maps.MarkerImage(p + q.sequence[i].f,
         new google.maps.Size(q.sequence[i].w, q.sequence[i].h),
         null,