Skip to content

Commit

Permalink
Merge branch 'master' of github.com:ckan/ckanext-geoview
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Nov 25, 2024
2 parents c03a600 + bc2aec4 commit eeb924e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
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
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
2 changes: 1 addition & 1 deletion ckanext/geoview/public/js/vendor/ol-helpers/ol-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@ ol.proj.addProjection(createEPSG4326Proj('EPSG:4326:LONLAT', 'enu'));
})
}

var parseWMSCapas = function (url, version, callback, failCallback) {
var parseWMSCapas = OL_HELPERS.parseWMSCapas = function (url, version, callback, failCallback) {

if (version === undefined) {
// try to force 1.3.0
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import setup, find_packages

version = '0.2.0'
version = '0.2.2'

setup(
name='ckanext-geoview',
Expand Down

0 comments on commit eeb924e

Please sign in to comment.