Skip to content

Commit

Permalink
Move proj4 to the app config to allow developers to use offline versi…
Browse files Browse the repository at this point in the history
…on of proj4.
  • Loading branch information
green3g committed May 12, 2016
1 parent 50fb57e commit e8ef183
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion viewer/js/config/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
}, {
name: 'put-selector',
main: 'put',
name: 'proj4js',
location: '//cdnjs.cloudflare.com/ajax/libs/proj4js/2.3.12'
location: 'https://cdn.rawgit.com/kriszyp/put-selector/v0.3.6'
}, {
name: 'xstyle',
Expand Down Expand Up @@ -61,4 +63,4 @@
]))();
controller.startup();
});
})();
})();
4 changes: 2 additions & 2 deletions viewer/js/gis/dijit/MapInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ define([
'dojo/dom-style',
'dojo/number',
'dojo/topic',
'//cdnjs.cloudflare.com/ajax/libs/proj4js/2.3.12/proj4.js',
'proj4js/proj4',
'xstyle/css!./MapInfo/css/MapInfo.css'
], function (
declare,
Expand Down Expand Up @@ -217,4 +217,4 @@ define([
return deg + '°' + minIntTxt + '\'' + secTxt + '" ' + dir;
}
});
});
});

0 comments on commit e8ef183

Please sign in to comment.