MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-Globe

    Scheduled Pinned Locked Moved Utilities
    119 Posts 39 Posters 200.6k Views 40 Watching
    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.
    • schlachtkreuzer6S Offline
      schlachtkreuzer6 @shgmongohh
      last edited by

      @shgmongohh that would be awesome! thank you in advance :)

      1 Reply Last reply Reply Quote 0
      • SvenSommerS Offline
        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

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

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

          SvenSommerS 1 Reply Last reply Reply Quote 0
          • SvenSommerS Offline
            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

            LukeCodewalkerL lolobyteL 2 Replies Last reply Reply Quote 1
            • LukeCodewalkerL Offline
              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
              • lolobyteL Offline
                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
                • SvenSommerS Offline
                  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

                  LukeCodewalkerL 1 Reply Last reply Reply Quote 0
                  • LukeCodewalkerL Offline
                    LukeCodewalker Module Developer @SvenSommer
                    last edited by

                    @SvenSommer
                    Merged! Thank you

                    1 Reply Last reply Reply Quote 1
                    • binderthB Offline
                      binderth
                      last edited by

                      so great coming home from skiing and everything is already fixed and commited! Thanks, guys!
                      looks awesome!

                      1 Reply Last reply Reply Quote 0
                      • B Offline
                        Burner911
                        last edited by

                        This is awesome! Any chance of a view with North America centric? @LukeCodewalker

                        schlachtkreuzer6S 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 Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy