diff --git a/elevation/ElevationParser.py b/elevation/ElevationParser.py index 5c2e0228..db52327a 100644 --- a/elevation/ElevationParser.py +++ b/elevation/ElevationParser.py @@ -3,7 +3,7 @@ import urllib ELEVATION_BASE_URL = 'http://maps.google.com/maps/api/elevation/json' -CHART_BASE_URL = 'http://chart.apis.google.com/chart' +CHART_BASE_URL = 'http://chart.googleapis.com/chart' def getChart(chartData, chartDataScaling="-500,5000", chartType="lc",chartLabel="Elevation in Meters",chartSize="500x160", chartColor="orange", **chart_args): chart_args.update({ diff --git a/elevation/python/ElevationChartCreator.py b/elevation/python/ElevationChartCreator.py index a964ced3..69a6629c 100644 --- a/elevation/python/ElevationChartCreator.py +++ b/elevation/python/ElevationChartCreator.py @@ -3,7 +3,7 @@ import urllib ELEVATION_BASE_URL = 'http://maps.google.com/maps/api/elevation/json' -CHART_BASE_URL = 'http://chart.apis.google.com/chart' +CHART_BASE_URL = 'http://chart.googleapis.com/chart' def getChart(chartData, chartDataScaling="-500,5000", chartType="lc",chartLabel="Elevation in Meters",chartSize="500x160", chartColor="orange", **chart_args): chart_args.update({