Skip to content

Commit

Permalink
Switch domain to arcticconnect.ca
Browse files Browse the repository at this point in the history
arcticconnect.org is currently unavailable, I have set up
arcticconnect.ca instead for our ArcticWebMap tile cache. Please
use the .ca domain for all Arctic Connect services.

Copyright years have also been updated to 2018.
  • Loading branch information
openfirmware committed Aug 22, 2018
1 parent d94f584 commit b791608
Show file tree
Hide file tree
Showing 18 changed files with 36 additions and 34 deletions.
4 changes: 2 additions & 2 deletions API.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ A subclass of `L.TileLayer`. Should be initialized with additional options to de
```javascript

// See L.TileLayer documentation for URL template
var url = "http://{s}.tiles.arcticconnect.org/osm_3571/{z}/{x}/{y}.png";
var url = "http://{s}.tiles.arcticconnect.ca/osm_3571/{z}/{x}/{y}.png";

// Extent is dependent on projection. The following is used for EPSG:3571 to
// EPSG:3576.
Expand Down Expand Up @@ -143,7 +143,7 @@ A subclass of `L.TileLayer`. Should be initialized with additional options to de

// Attribution for the tile layer. This is required for certain tile
// providers.
attribution: 'Map &copy; <a href="http://arcticconnect.org">ArcticConnect</a>. Data &copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors',
attribution: 'Map &copy; <a href="http://arcticconnect.ca">ArcticConnect</a>. Data &copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors',

// If the tile layer is part of a set of projections that form a
// complete circle, then prev/next can link to the next CCW/CW layer in
Expand Down
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Copyright (c) 2014-2016, Geo Sensor Web Lab
Copyright (c) 2014-2016, James Badger
Copyright (c) 2014-2018, Geo Sensor Web Lab
Copyright (c) 2014-2018, James Badger
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are
Expand Down
8 changes: 5 additions & 3 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A JavaScript library that can re-project Leaflet maps and map features.

PolarMap.js is part of the [Arctic Connect project](http://arcticconnect.org), specifically the [Arctic Web Map](http://webmap.arcticconnect.org/) module. We thank [CANARIE](http://www.canarie.ca) for the funding support.
PolarMap.js is part of the [Arctic Connect project](http://arcticconnect.ca), specifically the [Arctic Web Map](http://webmap.arcticconnect.ca/) module. We thank [CANARIE](http://www.canarie.ca) for the funding support.

There are two layers to PolarMap.js: the lower-level Leaflet.PolarMap plugin, and the basic PolarMap library. Each has their advantages depending on the situation. The basic PolarMap library has the default loadout of plugins and configuration for Arctic Connect tiles and services. The Leaflet.PolarMap plugin lets the developer pick and choose their integrations, at the trade-off of more code/configuration.

Expand Down Expand Up @@ -85,15 +85,17 @@ Different versions of PolarMap.js are available for different versions of Leafle
<tr><td>1.0.x</td> <td>2.0.x</td></tr>
</table>

A version of PolarMap.js for Leaflet 1.0.x is not yet available.

## Code Reuse

This library contains modified code from the [leaflet-hash](https://github.com/mlevans/leaflet-hash) project. Leaflet-hash is [MIT Licensed](http://opensource.org/licenses/MIT).

## Support

[PolarMap.js](https://github.com/GeoSensorWebLab/polarmap.js) is maintained by James Badger (@openfirmware) and the GeoSensorWeb Lab. If you have issues with the JavaScript library portion, please contact us by email at [email protected] or post an issue on the [PolarMap.js issue tracker](https://github.com/GeoSensorWebLab/polarmap.js/issues).
[PolarMap.js](https://github.com/GeoSensorWebLab/polarmap.js) is maintained by James Badger (@openfirmware) and the GeoSensorWeb Lab. If you have issues with the JavaScript library portion, please post an issue on the [PolarMap.js issue tracker](https://github.com/GeoSensorWebLab/polarmap.js/issues).

If you are having issue with the underlying map data, such as map inaccuracies, missing data, or general style comments, then please contact [email protected] or post an issue on the [Web Map issue tracker](https://github.com/GeoSensorWebLab/awm-styles/issues).
If you are having issue with the underlying map data, such as map inaccuracies, missing data, or general style comments, then please post an issue on the [Web Map issue tracker](https://github.com/GeoSensorWebLab/awm-styles/issues).

## License

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"polar"
],
"license": "BSD-2-Clause",
"homepage": "http://webmap.arcticconnect.org/polarmap.html",
"homepage": "http://webmap.arcticconnect.ca/polarmap.html",
"ignore": [
"**/.*",
"node_modules",
Expand Down
20 changes: 10 additions & 10 deletions dist/polarmap-src.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
PolarMap.js 1.2.0 (4ead999)
(c) 2014-2016 Arctic Connect, Geo Sensor Web Lab
PolarMap.js 1.2.0 (d94f584)
(c) 2014-2018 Arctic Connect, Geo Sensor Web Lab
*/
(function (window, document, L, undefined) {
if (typeof(L) === "undefined") {
Expand Down Expand Up @@ -129,7 +129,7 @@ L.PolarMap.LAEATileLayer = L.PolarMap.TileLayer.extend({
continuousWorld: false,
noWrap: true,
// map attribution text for tiles and/or data
attribution: 'Map &copy; <a href="http://arcticconnect.org">ArcticConnect</a>. Data &copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
attribution: 'Map &copy; <a href="http://arcticconnect.ca">ArcticConnect</a>. Data &copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
}
});

Expand All @@ -142,7 +142,7 @@ L.PolarMap.laeaTileLayer = function (url, options) {
* L.PolarMap.layer3571 presets a tile layer with the EPSG:3571 settings.
*/

L.PolarMap.layer3571 = L.PolarMap.laeaTileLayer("//{s}.tiles.arcticconnect.org/osm_3571/{z}/{x}/{y}.png", {
L.PolarMap.layer3571 = L.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"
Expand All @@ -153,7 +153,7 @@ L.PolarMap.layer3571 = L.PolarMap.laeaTileLayer("//{s}.tiles.arcticconnect.org/o
* L.PolarMap.layer3572 presets a tile layer with the EPSG:3572 settings.
*/

L.PolarMap.layer3572 = L.PolarMap.laeaTileLayer("//{s}.tiles.arcticconnect.org/osm_3572/{z}/{x}/{y}.png", {
L.PolarMap.layer3572 = L.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"
Expand All @@ -164,7 +164,7 @@ L.PolarMap.layer3572 = L.PolarMap.laeaTileLayer("//{s}.tiles.arcticconnect.org/o
* L.PolarMap.layer3573 presets a tile layer with the EPSG:3573 settings.
*/

L.PolarMap.layer3573 = L.PolarMap.laeaTileLayer("//{s}.tiles.arcticconnect.org/osm_3573/{z}/{x}/{y}.png", {
L.PolarMap.layer3573 = L.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"
Expand All @@ -175,7 +175,7 @@ L.PolarMap.layer3573 = L.PolarMap.laeaTileLayer("//{s}.tiles.arcticconnect.org/o
* L.PolarMap.layer3574 presets a tile layer with the EPSG:3574 settings.
*/

L.PolarMap.layer3574 = L.PolarMap.laeaTileLayer("//{s}.tiles.arcticconnect.org/osm_3574/{z}/{x}/{y}.png", {
L.PolarMap.layer3574 = L.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"
Expand All @@ -186,7 +186,7 @@ L.PolarMap.layer3574 = L.PolarMap.laeaTileLayer("//{s}.tiles.arcticconnect.org/o
* L.PolarMap.layer3575 presets a tile layer with the EPSG:3575 settings.
*/

L.PolarMap.layer3575 = L.PolarMap.laeaTileLayer("//{s}.tiles.arcticconnect.org/osm_3575/{z}/{x}/{y}.png", {
L.PolarMap.layer3575 = L.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"
Expand All @@ -197,7 +197,7 @@ L.PolarMap.layer3575 = L.PolarMap.laeaTileLayer("//{s}.tiles.arcticconnect.org/o
* L.PolarMap.layer3576 presets a tile layer with the EPSG:3576 settings.
*/

L.PolarMap.layer3576 = L.PolarMap.laeaTileLayer("//{s}.tiles.arcticconnect.org/osm_3576/{z}/{x}/{y}.png", {
L.PolarMap.layer3576 = L.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"
Expand Down Expand Up @@ -584,7 +584,7 @@ L.PolarMap.map = function (id, options) {
/* Strings */

var t = {
attribution: 'Map &copy; <a href="http://arcticconnect.org">ArcticConnect</a>. Data &copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors',
attribution: 'Map &copy; <a href="http://arcticconnect.ca">ArcticConnect</a>. Data &copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors',
locationDetectionError: "Location detection error: "
};

Expand Down
6 changes: 3 additions & 3 deletions dist/polarmap.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions examples/Leaflet.PolarMap/basic/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var projectedTiles = {
/*
// URL to tiles is first argument
"arctic_connect@EPSG:3573":
L.PolarMap.tileLayer("http://tiles.arcticconnect.org/osm_3573/{z}/{x}/{y}.png", {
L.PolarMap.tileLayer("http://tiles.arcticconnect.ca/osm_3573/{z}/{x}/{y}.png", {
// name for searching/querying active projected tile provider. Should be
// unique.
name: "arctic_connect@EPSG:3573",
Expand All @@ -33,7 +33,7 @@ var projectedTiles = {
// Default zoom level
zoom: 15,
// Map attribution text for tiles and/or data
attribution: 'Map &copy; <a href="http://arcticconnect.org">ArcticConnect</a>. Data &copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
attribution: 'Map &copy; <a href="http://arcticconnect.ca">ArcticConnect</a>. Data &copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
})
*/

Expand Down
2 changes: 1 addition & 1 deletion examples/tiles-only/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
code: 'EPSG:3573',
proj4def: '+proj=laea +lat_0=90 +lon_0=-100 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs',
origin: [-extent, extent],
tilesURL: 'http://{s}.tiles.arcticconnect.org/osm_3573/{z}/{x}/{y}.png',
tilesURL: 'http://{s}.tiles.arcticconnect.ca/osm_3573/{z}/{x}/{y}.png',
attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors',
zoom: {
min: 0,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"maps",
"polar"
],
"homepage": "http://webmap.arcticconnect.org/polarmap.html",
"homepage": "http://webmap.arcticconnect.ca/polarmap.html",
"bugs": {
"url": "https://github.com/GeoSensorWebLab/polarmap.js/issues"
},
Expand Down
2 changes: 1 addition & 1 deletion src/copyright.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
PolarMap.js {VERSION}
(c) 2014-2016 Arctic Connect, Geo Sensor Web Lab
(c) 2014-2018 Arctic Connect, Geo Sensor Web Lab
*/
2 changes: 1 addition & 1 deletion src/layer/tile/LAEATileLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ L.PolarMap.LAEATileLayer = L.PolarMap.TileLayer.extend({
continuousWorld: false,
noWrap: true,
// map attribution text for tiles and/or data
attribution: 'Map &copy; <a href="http://arcticconnect.org">ArcticConnect</a>. Data &copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
attribution: 'Map &copy; <a href="http://arcticconnect.ca">ArcticConnect</a>. Data &copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
}
});

Expand Down
2 changes: 1 addition & 1 deletion src/layer/tile/Layer3571.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* L.PolarMap.layer3571 presets a tile layer with the EPSG:3571 settings.
*/

L.PolarMap.layer3571 = L.PolarMap.laeaTileLayer("//{s}.tiles.arcticconnect.org/osm_3571/{z}/{x}/{y}.png", {
L.PolarMap.layer3571 = L.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"
Expand Down
2 changes: 1 addition & 1 deletion src/layer/tile/Layer3572.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* L.PolarMap.layer3572 presets a tile layer with the EPSG:3572 settings.
*/

L.PolarMap.layer3572 = L.PolarMap.laeaTileLayer("//{s}.tiles.arcticconnect.org/osm_3572/{z}/{x}/{y}.png", {
L.PolarMap.layer3572 = L.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"
Expand Down
2 changes: 1 addition & 1 deletion src/layer/tile/Layer3573.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* L.PolarMap.layer3573 presets a tile layer with the EPSG:3573 settings.
*/

L.PolarMap.layer3573 = L.PolarMap.laeaTileLayer("//{s}.tiles.arcticconnect.org/osm_3573/{z}/{x}/{y}.png", {
L.PolarMap.layer3573 = L.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"
Expand Down
2 changes: 1 addition & 1 deletion src/layer/tile/Layer3574.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* L.PolarMap.layer3574 presets a tile layer with the EPSG:3574 settings.
*/

L.PolarMap.layer3574 = L.PolarMap.laeaTileLayer("//{s}.tiles.arcticconnect.org/osm_3574/{z}/{x}/{y}.png", {
L.PolarMap.layer3574 = L.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"
Expand Down
2 changes: 1 addition & 1 deletion src/layer/tile/Layer3575.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* L.PolarMap.layer3575 presets a tile layer with the EPSG:3575 settings.
*/

L.PolarMap.layer3575 = L.PolarMap.laeaTileLayer("//{s}.tiles.arcticconnect.org/osm_3575/{z}/{x}/{y}.png", {
L.PolarMap.layer3575 = L.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"
Expand Down
2 changes: 1 addition & 1 deletion src/layer/tile/Layer3576.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* L.PolarMap.layer3576 presets a tile layer with the EPSG:3576 settings.
*/

L.PolarMap.layer3576 = L.PolarMap.laeaTileLayer("//{s}.tiles.arcticconnect.org/osm_3576/{z}/{x}/{y}.png", {
L.PolarMap.layer3576 = L.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"
Expand Down
2 changes: 1 addition & 1 deletion src/polarmap.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* Strings */

var t = {
attribution: 'Map &copy; <a href="http://arcticconnect.org">ArcticConnect</a>. Data &copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors',
attribution: 'Map &copy; <a href="http://arcticconnect.ca">ArcticConnect</a>. Data &copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors',
locationDetectionError: "Location detection error: "
};

Expand Down

0 comments on commit b791608

Please sign in to comment.