Before you start, ensure you have your own OpenWeather API-Key to be able to retrieve the weather data.
You just want to give it a quick try and check it's capabilities, follow these few points.
Uncompressed (development version)
Compressed (production version)
If you are going to run this tool under SSL-encoded URL, you'll need to update
the OpenWeather API endpoint in your
OPENWEATHER_APIKEY.js. The default one
is as follows:
OPENWEATHER_ENDPOINT = "http://api.openweathermap.org/data/2.5/";
To use the SSL-enabled endpoint, update it to:
OPENWEATHER_ENDPOINT = "https://pro.openweathermap.org/data/2.5/";
Please note, that SSL connection is not available with their free and Starup subscription plans. You'll need at least Developer subscription.
You did it quick and dirty and now you feel to mess around with it? Here we go, this is your new route.
/assetsand get crazy (not the one in
index.htmlin your browser to enjoy all your changes.
how to build.
gruntjs to do all the magic behind the scenes.
It minifies and combines several files together to lower the payload of the web-app.
/of this web-app in your terminal
> npm install -D
> bower install
/build, place it anywhere you want and voilá.
Important thing to know is this: amCharts Weather Map is not a product. It's rather a showcase of what can be done with amCharts products. While we'll do our best to answer your queries in GitHub issue tracker, we won't be able to extend full-fledged amCharts support service to this tool.
amCharts Weather Map library is licensed under Apache License 2.0.
This basically means you're free to use or modify it, even make your own versions or completely different products out of them.
Please see attached file "license.txt" for the complete license or online here:
appidparameter for OpenWeather API call
defaultStationsin config, top 15 by population has been hardcoded
loadMapto dynamically replace the map files and search context
This tool uses OpenWeatherMap API.
This tool relies on data extracted from GeoNames.