Skip to content

Commit

Permalink
Merge branch 'master' into update-ol
Browse files Browse the repository at this point in the history
  • Loading branch information
dpmcmlxxvi committed Jun 15, 2019
2 parents 42ee3f3 + 8acfe5f commit 9943d43
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "olexp",
"version": "0.4.0",
"version": "0.4.1",
"description": "OpenLayers Explorer is a simple out-of-the-box web mapping solution.",
"author": {
"name": "Daniel Pulido",
Expand Down
2 changes: 1 addition & 1 deletion src/js/manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ const olexp = {
* @private
* @return {boolean} True if item is hidden otherwise false
*/
NodeManager.prototype.isHidden = (layer) => {
NodeManager.prototype.isHidden = function(layer) {
if (layer instanceof olexp.measure.Overlay) {
return true;
}
Expand Down
6 changes: 3 additions & 3 deletions src/js/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ const olexp = {
* @private
* @return {object} Object of ol.control objects by key name
*/
Util.prototype.getControls = () => {
Util.prototype.getControls = function() {
const controls = {
fullscreen: new ol.control.FullScreen(),
mouseposition: new ol.control.MousePosition({
Expand Down Expand Up @@ -276,7 +276,7 @@ const olexp = {
* @private
* @return {external:ol.Graticule} New graticule based on settings
*/
Util.prototype.getGraticule = (map, options) => {
Util.prototype.getGraticule = function(map, options) {
const opts = $.extend($.extend({}, options), {color: '#' + options.color});
const graticule = new ol.Graticule({
map,
Expand Down Expand Up @@ -310,7 +310,7 @@ const olexp = {
* @private
* @return {object} Object of ol.source objects
*/
Util.prototype.getTileTypes = () => {
Util.prototype.getTileTypes = function() {
// ==================================================
// Define tile types object
// --------------------------------------------------
Expand Down

0 comments on commit 9943d43

Please sign in to comment.