diff --git a/RELEASE.markdown b/RELEASE.markdown index 562d04f..abe0520 100644 --- a/RELEASE.markdown +++ b/RELEASE.markdown @@ -1,5 +1,10 @@ # Release Notes +### v1.2.1 2018-08-22 + +* Switch domain for tiles to arcticconnect.ca +* Switch attribution URL and other service URLs to arcticconnect.ca + ### v1.2.0 2016-06-10 * Add support for loading ArcticWebMap tiles through HTTPS diff --git a/bower.json b/bower.json index a127cc1..9f96036 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "polarmap.js", - "version": "1.2.0", + "version": "1.2.1", "authors": [ "James Badger " ], diff --git a/dist/polarmap-src.js b/dist/polarmap-src.js index a559531..a3224fe 100644 --- a/dist/polarmap-src.js +++ b/dist/polarmap-src.js @@ -1,5 +1,5 @@ /* - PolarMap.js 1.2.0 (d94f584) + PolarMap.js 1.2.1 (b791608) (c) 2014-2018 Arctic Connect, Geo Sensor Web Lab */ (function (window, document, L, undefined) { @@ -8,7 +8,7 @@ if (typeof(L) === "undefined") { } L.PolarMap = { - version: '1.2.0', + version: '1.2.1', Control: {}, Util: {} }; diff --git a/dist/polarmap.js b/dist/polarmap.js index 1c4d02b..b6a9e18 100644 --- a/dist/polarmap.js +++ b/dist/polarmap.js @@ -1,5 +1,5 @@ /* - PolarMap.js 1.2.0 (d94f584) + PolarMap.js 1.2.1 (b791608) (c) 2014-2018 Arctic Connect, Geo Sensor Web Lab */ -!function(t,a,e,o){"undefined"==typeof e&&(e={}),e.PolarMap={version:"1.2.0",Control:{},Util:{}},"object"==typeof module&&"object"==typeof module.exports?module.exports=e.PolarMap:"function"==typeof define&&define.amd&&define(e.PolarMap),e.PolarMap.Control.Rotation=e.Control.extend({options:{position:"topright",cwText:"↻",cwTitle:"Rotate Clockwise",ccwText:"↺",ccwTitle:"Rotate Counter-Clockwise"},onAdd:function(t){var a="leaflet-control-rotation",o=e.DomUtil.create("div",a+" leaflet-bar"),n=this.options;return this._cwButton=this._createButton(n.cwText,n.cwTitle,a+"-cw",o,this._rotateCW),this._ccwButton=this._createButton(n.ccwText,n.ccwTitle,a+"-ccw",o,this._rotateCCW),e.DomEvent.disableClickPropagation(o),e.Browser.touch||e.DomEvent.disableScrollPropagation(o),o},_rotateCW:function(){this.options.onRotateCW&&this.options.onRotateCW()},_rotateCCW:function(){this.options.onRotateCCW&&this.options.onRotateCCW()},_createButton:function(t,a,o,n,i){var s=e.DomUtil.create("a",o,n);return s.innerHTML=t,s.href="#",s.title=a,e.DomEvent.on(s,"mousedown dblclick",e.DomEvent.stopPropagation).on(s,"click",e.DomEvent.stop).on(s,"click",i,this).on(s,"click",this._refocusOnMap,this),s}}),e.PolarMap.Control.rotation=function(t){return new e.PolarMap.Control.Rotation(t)},e.PolarMap.TileLayer=e.TileLayer.extend({}),e.PolarMap.tileLayer=function(t,a){return new e.PolarMap.TileLayer(t,a)};var n=e.Projection.Mercator.R_MAJOR*Math.PI;e.PolarMap.LAEATileLayer=e.PolarMap.TileLayer.extend({options:{name:null,crs:null,minZoom:0,maxZoom:18,tms:!1,origin:[-n,n],maxResolution:(n- -n)/256,projectedBounds:e.bounds(e.point(-n,n),e.point(n,-n)),center:[90,0],zoom:4,continuousWorld:!1,noWrap:!0,attribution:'Map © ArcticConnect. Data © OpenStreetMap contributors'}}),e.PolarMap.laeaTileLayer=function(t,a){return new e.PolarMap.LAEATileLayer(t,a)},e.PolarMap.layer3571=e.PolarMap.laeaTileLayer("//{s}.tiles.arcticconnect.ca/osm_3571/{z}/{x}/{y}.png",{name:"ac_3571",crs:"EPSG:3571",proj4def:"+proj=laea +lat_0=90 +lon_0=180 +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs"}),e.PolarMap.layer3572=e.PolarMap.laeaTileLayer("//{s}.tiles.arcticconnect.ca/osm_3572/{z}/{x}/{y}.png",{name:"ac_3572",crs:"EPSG:3572",proj4def:"+proj=laea +lat_0=90 +lon_0=-150 +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs"}),e.PolarMap.layer3573=e.PolarMap.laeaTileLayer("//{s}.tiles.arcticconnect.ca/osm_3573/{z}/{x}/{y}.png",{name:"ac_3573",crs:"EPSG:3573",proj4def:"+proj=laea +lat_0=90 +lon_0=-100 +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs"}),e.PolarMap.layer3574=e.PolarMap.laeaTileLayer("//{s}.tiles.arcticconnect.ca/osm_3574/{z}/{x}/{y}.png",{name:"ac_3574",crs:"EPSG:3574",proj4def:"+proj=laea +lat_0=90 +lon_0=-40 +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs"}),e.PolarMap.layer3575=e.PolarMap.laeaTileLayer("//{s}.tiles.arcticconnect.ca/osm_3575/{z}/{x}/{y}.png",{name:"ac_3575",crs:"EPSG:3575",proj4def:"+proj=laea +lat_0=90 +lon_0=10 +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs"}),e.PolarMap.layer3576=e.PolarMap.laeaTileLayer("//{s}.tiles.arcticconnect.ca/osm_3576/{z}/{x}/{y}.png",{name:"ac_3576",crs:"EPSG:3576",proj4def:"+proj=laea +lat_0=90 +lon_0=90 +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs"}),e.PolarMap.Util.Hash=e.Class.extend({options:{map:null,lastHash:null,movingMap:!1,changeDefer:100,changeTimeout:null,isListening:!1,hashChangeInterval:null,getBaseLayer:null,setBaseLayer:null},initialize:function(a,n){n=e.setOptions(this,n),this.HAS_HASHCHANGE=function(){var a=t.documentMode;return"onhashchange"in t&&(a===o||a>7)}(),this.onHashChange=e.Util.bind(this.onHashChange,this),this.map=a,this.options.lastHash=null,this.onHashChange(),this.options.isListening||this.startListening()},formatHash:function(t){var a=[],e=t.getCenter(),o=t.getZoom(),n=Math.max(0,Math.ceil(Math.log(o)/Math.LN2));return null!==this.options.getBaseLayer&&a.push(this.options.getBaseLayer()),a.push(o,e.lat.toFixed(n),e.lng.toFixed(n)),"#"+a.join("/")},onHashChange:function(){if(!this.options.changeTimeout){var t=this;this.options.changeTimeout=setTimeout(function(){t.update(),t.options.changeTimeout=null},this.options.changeDefer)}},onMapMove:function(){if(this.options.movingMap||!this.map._loaded)return!1;var t=this.formatHash(this.map);this.options.lastHash!=t&&(location.replace(t),this.options.lastHash=t)},parseHash:function(t){0===t.indexOf("#")&&(t=t.substr(1));var a,o,n,i=t.split("/");if(4===i.length){var s=i[0];return a=parseInt(i[1],10),o=parseFloat(i[2]),n=parseFloat(i[3]),""===s||isNaN(a)||isNaN(o)||isNaN(n)?!1:{baseLayer:s,center:new e.LatLng(o,n),zoom:a}}return 3===i.length?(a=parseInt(i[0],10),o=parseFloat(i[1]),n=parseFloat(i[2]),isNaN(a)||isNaN(o)||isNaN(n)?!1:{center:new e.LatLng(o,n),zoom:a}):!1},removeFrom:function(t){this.options.changeTimeout&&clearTimeout(this.options.changeTimeout),this.options.isListening&&this.stopListening(),this.map=null},startListening:function(){this.map.on("moveend",this.onMapMove,this),this.HAS_HASHCHANGE?e.DomEvent.addListener(t,"hashchange",this.onHashChange):(clearInterval(this.options.hashChangeInterval),this.options.hashChangeInterval=setInterval(this.onHashChange,50)),this.options.isListening=!0},stopListening:function(){this.map.off("moveend",this.onMapMove,this),this.HAS_HASHCHANGE?e.DomEvent.removeListener(t,"hashchange",this.onHashChange):clearInterval(this.options.hashChangeInterval),this.options.isListening=!1},update:function(){var t=location.hash;if(t!==this.options.lastHash){var a=this.parseHash(t);a?(this.options.movingMap=!0,a.baseLayer!==o&&this.options.setBaseLayer(a.baseLayer),this.map.setView(a.center,a.zoom),this.options.movingMap=!1):this.onMapMove(this.map)}}}),e.PolarMap.Util.hash=function(t,a){return new e.PolarMap.Util.Hash(t,a)},e.PolarMap.Map=e.Map.extend({options:{changingMap:!1,fadeAnimation:!0,trackResize:!0,markerZoomAnimation:!0,center:e.latLng([90,0]),zoom:1},initialize:function(t,a){a=e.setOptions(this,a),this._initContainer(t),this._initLayout(),this._onResize=e.bind(this._onResize,this),this._initEvents(),a.maxBounds&&this.setMaxBounds(a.maxBounds),a.center&&a.zoom!==o&&this.setView(e.latLng(a.center),a.zoom,{reset:!0}),this._handlers=[],this._layers={},this._zoomBoundLayers={},this.callInitHooks(),this.on("baselayerchange",function(t){this._update(t.layer)}),this._update(a.baseLayer)},loadTileProjection:function(t){return this.options.changingMap?!1:void(this._usingTileProjection(t)?console.log("That tile layer is already active."):(this._dropTileLayers(),this._update(t)))},remove:function(){for(var t in this._layers)this.removeLayer(this._layers[t]);return e.Map.prototype.remove.call(this),this},_defineMapCRS:function(t,a){for(var o=[],n=a.minZoom;n<=a.maxZoom;n++)o.push(a.maxResolution/Math.pow(2,n));return new e.Proj.CRS(t,a.proj4def,{origin:a.origin,resolutions:o,bounds:a.projectedBounds})},_dropTileLayers:function(){var t=this;t.eachLayer(function(a){a instanceof e.TileLayer&&t.removeLayer(a)})},_setMapCRS:function(t,a){switch(t){case"EPSG:3857":return e.CRS.EPSG3857;case"EPSG:3395":return e.CRS.EPSG3395;case"EPSG:4326":return e.CRS.EPSG4326;default:return this._defineMapCRS(t,a)}},_update:function(t){if(this.options.changingMap)return!1;this.options.changingMap=!0;var a=this.getCenter(),e=this.getZoom();this._updateCRSAndLayers(t.options),this.addLayer(t,!0),this.setView(a,e,{reset:!0}),this.setMaxBounds(t.options.bounds),this.options.changingMap=!1},_updateAllLayers:function(t){var a=this;t.eachLayer?t.eachLayer(function(t){a._updateAllLayers(t)}):t.redraw?t.redraw():t.update?t.update():console.log("Don't know how to update",t)},_updateCRSAndLayers:function(t){this.options.crs=this._setMapCRS(t.crs,t),this._updateAllLayers(this)},_usingTileProjection:function(t){var a=!1,e=this._layers;for(var o in e)if(e.hasOwnProperty(o)&&(a=e[o]===t))break;return a}}),e.PolarMap.map=function(t,a){return new e.PolarMap.Map(t,a)};for(var i={attribution:'Map © ArcticConnect. Data © OpenStreetMap contributors',locationDetectionError:"Location detection error: "},s={"EPSG:3571 Bering Sea":e.PolarMap.layer3571,"EPSG:3572 Alaska":e.PolarMap.layer3572,"EPSG:3573 Canada":e.PolarMap.layer3573,"EPSG:3574 Atlantic":e.PolarMap.layer3574,"EPSG:3575 Europe":e.PolarMap.layer3575,"EPSG:3576 Russia":e.PolarMap.layer3576},r=function(t){for(var a in s)if(s.hasOwnProperty(a)&&-1!==a.indexOf(t))return s[a];return null},l=Object.keys(s).sort(),h=0;h=-180&&-165>=t?"EPSG:3571":t>-165&&-125>=t?"EPSG:3572":t>-125&&-70>=t?"EPSG:3573":t>-70&&-15>=t?"EPSG:3574":t>-15&&50>=t?"EPSG:3575":t>50&&135>=t?"EPSG:3576":"EPSG:3571",this.map.loadTileProjection(r(a))}}),t.polarMap=function(a,e){return new t.PolarMap(a,e)}}(window,document,L); \ No newline at end of file +!function(t,a,e,o){"undefined"==typeof e&&(e={}),e.PolarMap={version:"1.2.1",Control:{},Util:{}},"object"==typeof module&&"object"==typeof module.exports?module.exports=e.PolarMap:"function"==typeof define&&define.amd&&define(e.PolarMap),e.PolarMap.Control.Rotation=e.Control.extend({options:{position:"topright",cwText:"↻",cwTitle:"Rotate Clockwise",ccwText:"↺",ccwTitle:"Rotate Counter-Clockwise"},onAdd:function(t){var a="leaflet-control-rotation",o=e.DomUtil.create("div",a+" leaflet-bar"),n=this.options;return this._cwButton=this._createButton(n.cwText,n.cwTitle,a+"-cw",o,this._rotateCW),this._ccwButton=this._createButton(n.ccwText,n.ccwTitle,a+"-ccw",o,this._rotateCCW),e.DomEvent.disableClickPropagation(o),e.Browser.touch||e.DomEvent.disableScrollPropagation(o),o},_rotateCW:function(){this.options.onRotateCW&&this.options.onRotateCW()},_rotateCCW:function(){this.options.onRotateCCW&&this.options.onRotateCCW()},_createButton:function(t,a,o,n,i){var s=e.DomUtil.create("a",o,n);return s.innerHTML=t,s.href="#",s.title=a,e.DomEvent.on(s,"mousedown dblclick",e.DomEvent.stopPropagation).on(s,"click",e.DomEvent.stop).on(s,"click",i,this).on(s,"click",this._refocusOnMap,this),s}}),e.PolarMap.Control.rotation=function(t){return new e.PolarMap.Control.Rotation(t)},e.PolarMap.TileLayer=e.TileLayer.extend({}),e.PolarMap.tileLayer=function(t,a){return new e.PolarMap.TileLayer(t,a)};var n=e.Projection.Mercator.R_MAJOR*Math.PI;e.PolarMap.LAEATileLayer=e.PolarMap.TileLayer.extend({options:{name:null,crs:null,minZoom:0,maxZoom:18,tms:!1,origin:[-n,n],maxResolution:(n- -n)/256,projectedBounds:e.bounds(e.point(-n,n),e.point(n,-n)),center:[90,0],zoom:4,continuousWorld:!1,noWrap:!0,attribution:'Map © ArcticConnect. Data © OpenStreetMap contributors'}}),e.PolarMap.laeaTileLayer=function(t,a){return new e.PolarMap.LAEATileLayer(t,a)},e.PolarMap.layer3571=e.PolarMap.laeaTileLayer("//{s}.tiles.arcticconnect.ca/osm_3571/{z}/{x}/{y}.png",{name:"ac_3571",crs:"EPSG:3571",proj4def:"+proj=laea +lat_0=90 +lon_0=180 +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs"}),e.PolarMap.layer3572=e.PolarMap.laeaTileLayer("//{s}.tiles.arcticconnect.ca/osm_3572/{z}/{x}/{y}.png",{name:"ac_3572",crs:"EPSG:3572",proj4def:"+proj=laea +lat_0=90 +lon_0=-150 +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs"}),e.PolarMap.layer3573=e.PolarMap.laeaTileLayer("//{s}.tiles.arcticconnect.ca/osm_3573/{z}/{x}/{y}.png",{name:"ac_3573",crs:"EPSG:3573",proj4def:"+proj=laea +lat_0=90 +lon_0=-100 +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs"}),e.PolarMap.layer3574=e.PolarMap.laeaTileLayer("//{s}.tiles.arcticconnect.ca/osm_3574/{z}/{x}/{y}.png",{name:"ac_3574",crs:"EPSG:3574",proj4def:"+proj=laea +lat_0=90 +lon_0=-40 +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs"}),e.PolarMap.layer3575=e.PolarMap.laeaTileLayer("//{s}.tiles.arcticconnect.ca/osm_3575/{z}/{x}/{y}.png",{name:"ac_3575",crs:"EPSG:3575",proj4def:"+proj=laea +lat_0=90 +lon_0=10 +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs"}),e.PolarMap.layer3576=e.PolarMap.laeaTileLayer("//{s}.tiles.arcticconnect.ca/osm_3576/{z}/{x}/{y}.png",{name:"ac_3576",crs:"EPSG:3576",proj4def:"+proj=laea +lat_0=90 +lon_0=90 +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs"}),e.PolarMap.Util.Hash=e.Class.extend({options:{map:null,lastHash:null,movingMap:!1,changeDefer:100,changeTimeout:null,isListening:!1,hashChangeInterval:null,getBaseLayer:null,setBaseLayer:null},initialize:function(a,n){n=e.setOptions(this,n),this.HAS_HASHCHANGE=function(){var a=t.documentMode;return"onhashchange"in t&&(a===o||a>7)}(),this.onHashChange=e.Util.bind(this.onHashChange,this),this.map=a,this.options.lastHash=null,this.onHashChange(),this.options.isListening||this.startListening()},formatHash:function(t){var a=[],e=t.getCenter(),o=t.getZoom(),n=Math.max(0,Math.ceil(Math.log(o)/Math.LN2));return null!==this.options.getBaseLayer&&a.push(this.options.getBaseLayer()),a.push(o,e.lat.toFixed(n),e.lng.toFixed(n)),"#"+a.join("/")},onHashChange:function(){if(!this.options.changeTimeout){var t=this;this.options.changeTimeout=setTimeout(function(){t.update(),t.options.changeTimeout=null},this.options.changeDefer)}},onMapMove:function(){if(this.options.movingMap||!this.map._loaded)return!1;var t=this.formatHash(this.map);this.options.lastHash!=t&&(location.replace(t),this.options.lastHash=t)},parseHash:function(t){0===t.indexOf("#")&&(t=t.substr(1));var a,o,n,i=t.split("/");if(4===i.length){var s=i[0];return a=parseInt(i[1],10),o=parseFloat(i[2]),n=parseFloat(i[3]),""===s||isNaN(a)||isNaN(o)||isNaN(n)?!1:{baseLayer:s,center:new e.LatLng(o,n),zoom:a}}return 3===i.length?(a=parseInt(i[0],10),o=parseFloat(i[1]),n=parseFloat(i[2]),isNaN(a)||isNaN(o)||isNaN(n)?!1:{center:new e.LatLng(o,n),zoom:a}):!1},removeFrom:function(t){this.options.changeTimeout&&clearTimeout(this.options.changeTimeout),this.options.isListening&&this.stopListening(),this.map=null},startListening:function(){this.map.on("moveend",this.onMapMove,this),this.HAS_HASHCHANGE?e.DomEvent.addListener(t,"hashchange",this.onHashChange):(clearInterval(this.options.hashChangeInterval),this.options.hashChangeInterval=setInterval(this.onHashChange,50)),this.options.isListening=!0},stopListening:function(){this.map.off("moveend",this.onMapMove,this),this.HAS_HASHCHANGE?e.DomEvent.removeListener(t,"hashchange",this.onHashChange):clearInterval(this.options.hashChangeInterval),this.options.isListening=!1},update:function(){var t=location.hash;if(t!==this.options.lastHash){var a=this.parseHash(t);a?(this.options.movingMap=!0,a.baseLayer!==o&&this.options.setBaseLayer(a.baseLayer),this.map.setView(a.center,a.zoom),this.options.movingMap=!1):this.onMapMove(this.map)}}}),e.PolarMap.Util.hash=function(t,a){return new e.PolarMap.Util.Hash(t,a)},e.PolarMap.Map=e.Map.extend({options:{changingMap:!1,fadeAnimation:!0,trackResize:!0,markerZoomAnimation:!0,center:e.latLng([90,0]),zoom:1},initialize:function(t,a){a=e.setOptions(this,a),this._initContainer(t),this._initLayout(),this._onResize=e.bind(this._onResize,this),this._initEvents(),a.maxBounds&&this.setMaxBounds(a.maxBounds),a.center&&a.zoom!==o&&this.setView(e.latLng(a.center),a.zoom,{reset:!0}),this._handlers=[],this._layers={},this._zoomBoundLayers={},this.callInitHooks(),this.on("baselayerchange",function(t){this._update(t.layer)}),this._update(a.baseLayer)},loadTileProjection:function(t){return this.options.changingMap?!1:void(this._usingTileProjection(t)?console.log("That tile layer is already active."):(this._dropTileLayers(),this._update(t)))},remove:function(){for(var t in this._layers)this.removeLayer(this._layers[t]);return e.Map.prototype.remove.call(this),this},_defineMapCRS:function(t,a){for(var o=[],n=a.minZoom;n<=a.maxZoom;n++)o.push(a.maxResolution/Math.pow(2,n));return new e.Proj.CRS(t,a.proj4def,{origin:a.origin,resolutions:o,bounds:a.projectedBounds})},_dropTileLayers:function(){var t=this;t.eachLayer(function(a){a instanceof e.TileLayer&&t.removeLayer(a)})},_setMapCRS:function(t,a){switch(t){case"EPSG:3857":return e.CRS.EPSG3857;case"EPSG:3395":return e.CRS.EPSG3395;case"EPSG:4326":return e.CRS.EPSG4326;default:return this._defineMapCRS(t,a)}},_update:function(t){if(this.options.changingMap)return!1;this.options.changingMap=!0;var a=this.getCenter(),e=this.getZoom();this._updateCRSAndLayers(t.options),this.addLayer(t,!0),this.setView(a,e,{reset:!0}),this.setMaxBounds(t.options.bounds),this.options.changingMap=!1},_updateAllLayers:function(t){var a=this;t.eachLayer?t.eachLayer(function(t){a._updateAllLayers(t)}):t.redraw?t.redraw():t.update?t.update():console.log("Don't know how to update",t)},_updateCRSAndLayers:function(t){this.options.crs=this._setMapCRS(t.crs,t),this._updateAllLayers(this)},_usingTileProjection:function(t){var a=!1,e=this._layers;for(var o in e)if(e.hasOwnProperty(o)&&(a=e[o]===t))break;return a}}),e.PolarMap.map=function(t,a){return new e.PolarMap.Map(t,a)};for(var i={attribution:'Map © ArcticConnect. Data © OpenStreetMap contributors',locationDetectionError:"Location detection error: "},s={"EPSG:3571 Bering Sea":e.PolarMap.layer3571,"EPSG:3572 Alaska":e.PolarMap.layer3572,"EPSG:3573 Canada":e.PolarMap.layer3573,"EPSG:3574 Atlantic":e.PolarMap.layer3574,"EPSG:3575 Europe":e.PolarMap.layer3575,"EPSG:3576 Russia":e.PolarMap.layer3576},r=function(t){for(var a in s)if(s.hasOwnProperty(a)&&-1!==a.indexOf(t))return s[a];return null},l=Object.keys(s).sort(),h=0;h=-180&&-165>=t?"EPSG:3571":t>-165&&-125>=t?"EPSG:3572":t>-125&&-70>=t?"EPSG:3573":t>-70&&-15>=t?"EPSG:3574":t>-15&&50>=t?"EPSG:3575":t>50&&135>=t?"EPSG:3576":"EPSG:3571",this.map.loadTileProjection(r(a))}}),t.polarMap=function(a,e){return new t.PolarMap(a,e)}}(window,document,L); \ No newline at end of file diff --git a/package.json b/package.json index 48fe216..d26745d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "polarmap", - "version": "1.2.0", + "version": "1.2.1", "description": "Leaflet library for polar map projection switching", "main": "dist/polarmap-src.js", "directories": { diff --git a/src/leaflet.polarmap.js b/src/leaflet.polarmap.js index f36ee07..a8dc8f8 100644 --- a/src/leaflet.polarmap.js +++ b/src/leaflet.polarmap.js @@ -4,7 +4,7 @@ if (typeof(L) === "undefined") { } L.PolarMap = { - version: '1.2.0', + version: '1.2.1', Control: {}, Util: {} };