more fixes
This commit is contained in:
parent
c5a772db61
commit
ecc4f4b904
|
@ -41,7 +41,7 @@ function DataManager(pointSearch){
|
|||
_locations[0].initForecasts();
|
||||
|
||||
// get a list of observation stations info //https://api.weather.com/v3/location/near?geocode=33.74,-84.39&product=observation&format=json&apiKey=yourApiKey
|
||||
$.getJSON('https://api.weather.com/v3/location/near?geocode=' + lat + ',' + lon + '&product=observation&format=json&apiKey=' + process.env.API_KEY, function(data) {
|
||||
$.getJSON('https://api.weather.com/v3/location/near?geocode=' + lat + ',' + lon + '&product=observation&format=json&apiKey=' + api_key, function(data) {
|
||||
|
||||
var feature, geo, station, dist;
|
||||
for (var i=0; i < data.location.stationName.length || i <= 3; i++) {
|
||||
|
|
Loading…
Reference in New Issue