MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    MMM-Globe

    Utilities
    38
    118
    93298
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • schlachtkreuzer6
      schlachtkreuzer6 @binderth last edited by

      @binderth niiiice! 🙂

      1 Reply Last reply Reply Quote 0
      • schlachtkreuzer6
        schlachtkreuzer6 @binderth last edited by

        @binderth the globe is cut at south pole area, i think the white slice down there is the background color

        0_1483121888864_pi globe.PNG

        so i think the module cut a circle out of the webpage and down there is some part of the earth missing, or out of view. Also i got another issue: If I´m using the random Photo Module as background, i see a small black border around the full globe. So to fix that, there must be an adjustment for the size of the cutting circle. But anyway the main problem with that white slice is, the image source.

        SvenSommer 1 Reply Last reply Reply Quote 0
        • S
          shgmongohh @binderth last edited by

          @binderth

          If I have a bit more time, I’d like to add the standard ones and make a pull request to choose from. There’s a list of (near) real-time images from EUMETSAT: http://oiswww.eumetsat.org/IPPS/html/latestImages.html

          Very nice work!

          It would be awesome, if you could add the real time images!

          Sebastian

          schlachtkreuzer6 1 Reply Last reply Reply Quote -1
          • schlachtkreuzer6
            schlachtkreuzer6 @shgmongohh last edited by

            @shgmongohh that would be awesome! thank you in advance 🙂

            1 Reply Last reply Reply Quote 0
            • SvenSommer
              SvenSommer @schlachtkreuzer6 last edited by

              @schlachtkreuzer6
              Hey guys,
              I was able to cut the white bar by cutting the last pixels (depending on the image size) from this image with adding the following to MMM-Globe.js

              getDom: function () {
                  var wrapper = document.createElement("div");
                  if (this.config.style == "europeDiscNat") {
              	wrapper.style.height = 0.98 * this.config.imageSize - 1 + "px";
              	wrapper.style.overflow = "hidden";
                  }
              
                  var image = document.createElement("img");
              

              Looking for some building inspiration?
              Check out my large, thin and metal framed mirror on robstechlog.com.

              Modules released:
              MMM-GoogleAnalytics
              MMM-GrafanaChart
              MMM-GrafanaGauges

              schlachtkreuzer6 1 Reply Last reply Reply Quote 1
              • schlachtkreuzer6
                schlachtkreuzer6 @SvenSommer last edited by

                @SvenSommer Nice work! Thanks. Post it on github as well 🙂

                SvenSommer 1 Reply Last reply Reply Quote 0
                • SvenSommer
                  SvenSommer @schlachtkreuzer6 last edited by

                  @schlachtkreuzer6
                  done, I also included the sources from binderth and made a pull request.

                  Looking for some building inspiration?
                  Check out my large, thin and metal framed mirror on robstechlog.com.

                  Modules released:
                  MMM-GoogleAnalytics
                  MMM-GrafanaChart
                  MMM-GrafanaGauges

                  LukeCodewalker lolobyte 2 Replies Last reply Reply Quote 1
                  • LukeCodewalker
                    LukeCodewalker Module Developer @SvenSommer last edited by

                    @SvenSommer
                    could you please adjust the README.md that it contains your additional image-styles? then i will merge your pull request 🙂
                    thanks for your help improving the module

                    1 Reply Last reply Reply Quote 0
                    • lolobyte
                      lolobyte @SvenSommer last edited by

                      @SvenSommer

                      Wrong, the picture source information was from me.

                      You can read my first entry above the post from @binderth !

                      1 Reply Last reply Reply Quote 0
                      • SvenSommer
                        SvenSommer last edited by

                        @lolobyte
                        Sorry. So, thank you for this excellente source!

                        @LukeCodewalker
                        readme is adjusted.

                        Looking for some building inspiration?
                        Check out my large, thin and metal framed mirror on robstechlog.com.

                        Modules released:
                        MMM-GoogleAnalytics
                        MMM-GrafanaChart
                        MMM-GrafanaGauges

                        LukeCodewalker 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 11
                        • 12
                        • 3 / 12
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy