Skip to content

KingofApp/koapp-module-openweathermap

Repository files navigation

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:

About

Module that displays weather information in a particular area

Resources

License

Stars

Watchers

Forks

Packages

No packages published