API/examples

= OpenLayers =

Weather layers connecting
This example shows how to connect the weather stations layer and weather in the cities layer. Both layers operate independently and can be used together or separately from each other.

http://openweathermap.org/help/osm.html

Styled markers
You can change the marker style.
 * http://openweathermap.org/help/osm-station_icon.html
 * http://openweathermap.org/help/osm-weather_icon.html

To overwrite the marker you need to create the two following functions: Both functions get station measured data. Based in this data you can identify and display your own icon or popup window
 * getIcon - to change icon on the map
 * getPopupHtml - function must return html for popup window

Adding your own styles
http://openweathermap.org/help/osm-style.html

= Leaflet =