Skip to content

Commit

Permalink
Merge pull request #315 from Chicago/iss301
Browse files Browse the repository at this point in the history
Added API key to OpenWeather calls
  • Loading branch information
tomschenkjr authored Aug 7, 2017
2 parents 4a4f835 + 92a1793 commit cdc7155
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/js/custom/Config.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ ogrid.Config = {
overlayLayers: [{
groupName: 'Open Weather Layers',
name: 'Cloud Cover',
url: 'http://{s}.tile.openweathermap.org/clouds/precipitation/{z}/{x}/{y}.png',
url: 'http://{s}.tile.openweathermap.org/clouds/{z}/{x}/{y}.png?APPID=8e0f9d1de886ff78c6bab40f2e6d1afe',
useEsri: false,
options: {
attribution: 'Map data (c) OpenWeatherMap',
Expand All @@ -115,7 +115,7 @@ ogrid.Config = {
},{
groupName: 'Open Weather Layers',
name: 'Quantity of Precipitation',
url: 'http://{s}.tile.openweathermap.org/map/precipitation/{z}/{x}/{y}.png',
url: 'http://{s}.tile.openweathermap.org/map/precipitation/{z}/{x}/{y}.png?APPID=8e0f9d1de886ff78c6bab40f2e6d1afe',
useEsri: false,
options: {
attribution: 'Map data (c) OpenWeatherMap',
Expand All @@ -125,7 +125,7 @@ ogrid.Config = {
}, {
groupName: 'Open Weather Layers',
name: 'Sea Level Pressure',
url: 'http://{s}.tile.openweathermap.org/map/pressure_cntr/{z}/{x}/{y}.png',
url: 'http://{s}.tile.openweathermap.org/map/pressure_cntr/{z}/{x}/{y}.png?APPID=8e0f9d1de886ff78c6bab40f2e6d1afe',
useEsri: false,
options: {
attribution: 'Map data (c) OpenWeatherMap',
Expand All @@ -135,7 +135,7 @@ ogrid.Config = {
}, {
groupName: 'Open Weather Layers',
name: 'Temperature',
url: 'http://{s}.tile.openweathermap.org/map/temp/{z}/{x}/{y}.png',
url: 'http://{s}.tile.openweathermap.org/map/temp/{z}/{x}/{y}.png?APPID=8e0f9d1de886ff78c6bab40f2e6d1afe',
useEsri: false,
options: {
attribution: 'Map data (c) OpenWeatherMap',
Expand Down Expand Up @@ -264,4 +264,4 @@ ogrid.Config = {
url: 'http://opengrid.readthedocs.org/en/latest/User%20Documentation',
type: 'icon' //valid values are 'button' or 'icon'
}
};
};

0 comments on commit cdc7155

Please sign in to comment.