Skip to content

aerisweather/aerisjs

Repository files navigation

This library has been deprecated. Check out our new JavaScript SDK instead!


The Aeris Weather API is one of the most complete and advanced weather APIs available and quickly gives you access to many different types of weather information.

Out of the box, Aeris.js provides a suite of tools for rendering weather maps and widgets, using data from the Aeris API. Maps can be rendered using the Google Maps API or OpenLayers.

Usage of the Aeris API requires an Aeris API developer account. Visit hamweather.com to sign up for a free account.

/**
 * Aeris.js is currently in beta release.
 * While we will make our best efforts to maintain a stable API,
 * minor changes may be made to the interface while Aeris.js
 * is in beta release. 
 *
 *
 * We would love to hear your feedback, thoughts, and dreams for
 * this library.
 *
 * Why not open a pull request?!
*/

Documentation


TL;DR

<script type="text/javascript" src="//cdn.aerisjs.com/aeris.js"></script>
<script type="text/javascript">
    var map = new aeris.maps.Map('map-canvas', {
        center: [45, -90],
        zoom: 12
    });
    var radarLayer = new aeris.maps.layers.Radar();
    
    radarLayer.setMap(map);
</script>