1.0.5 • Published 7 years ago

koapp-module-openweathermap v1.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

Openweathermap Module

===================================

openweathermap-popover

Description

Module that displays weather information in a particular area.

Images

Configuration for visualizer

You need an AppId from OpenWeatherMap. Follow this steps

  • app/core/structure.json
"/menu-abcd/openweathermap": {
      "name": "Meteo",
      "identifier": "openweathermap",
      "type": "A",
      "icon": "assignment",
      "showOn": {
        "market": true,
        "dragDrop": true
      },
      "libs": [
        {
          "bower": {
            "weather-icons": "^2.0.10"
          },
          "src": "bower_components/weather-icons/css/weather-icons-wind.min.css"
        },
        {
          "bower": {
            "weather-icons": "^2.0.10"
          },
          "src": "bower_components/weather-icons/css/weather-icons.min.css"
        },
        {
          "bower": {
            "angular-openweathermap-api-factory": "^0.5.0"
          },
          "src": "bower_components/angular-openweathermap-api-factory/dist/angular-openweathermap-api-factory.min.js"
        }
      ],
      "view": "modules/openweathermap/index.html",
      "files": ["modules/openweathermap/controller.js", "modules/openweathermap/style.html"],
      "scope": {
        "appid": "<---- ID HERE ---->",
        "units": "metric",
        "lat": "40.4262687",
        "lon": "-3.6662797"
      }
    }

Special thanks

We created this module inspired from these libraries and examples

Details: