Skip to content

Commit

Permalink
Merge pull request #105 from yurijGagarin/leaflet-issue
Browse files Browse the repository at this point in the history
fix: geojson preview issues
  • Loading branch information
amercader authored Sep 27, 2024
2 parents e388f85 + 95ccb4b commit 51619a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/geoview/public/js/shp_preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ckan.module('shppreview', 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.get(preload_resource['url']).done(
function(data){
Expand Down

0 comments on commit 51619a6

Please sign in to comment.