Skip to content

Commit 1ffc981

Browse files
Fix path for custom category icons in overview map
1 parent 14a3d52 commit 1ffc981

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/com_jtg/assets/js/jtgOverView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function addTrackMarkers(tracks, catIcons) {
77
for (i=0; i < catIcons.length; i++)
88
{
99
iconStyles.push(new ol.style.Style( {
10-
image: new ol.style.Icon( { src: jtgBaseUrl+'components/com_jtg/assets/images/cats/'+catIcons[i],anchorOrigin: 'bottom-left', anchor: [0.5,0] } )
10+
image: new ol.style.Icon( { src: jtgBaseUrl+'images/jtrackgallery/cats/'+catIcons[i],anchorOrigin: 'bottom-left', anchor: [0.5,0] } )
1111
} ) );
1212
}
1313
var arrayOfMarkers = [];

0 commit comments

Comments
 (0)