Skip to content

Commit

Permalink
fix imagePath
Browse files Browse the repository at this point in the history
  • Loading branch information
TomeCirun committed Sep 25, 2024
1 parent 75f20a1 commit c87f4cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/geoview/public/js/geojson_preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ ckan.module('geojsonpreview', function (jQuery, _) {
self.map = ckan.commonLeafletMap('map', this.options.map_config, {attributionControl: false});

// hack to make leaflet use a particular location to look for images
L.Icon.Default.imagePath = this.options.site_url + 'js/vendor/leaflet/dist/images';
L.Icon.Default.imagePath = this.options.site_url + 'js/vendor/leaflet/images/';

jQuery.getJSON(preload_resource['url']).done(
function(data){
Expand Down

0 comments on commit c87f4cb

Please sign in to comment.