Code Monkey home page Code Monkey logo

Comments (6)

xserverinternet avatar xserverinternet commented on June 10, 2024

Hi, i can also reproduce it with 49.0.1. Seems it has to do with the flipping of the back- and foreground-buffer. Will look for an alternative.

from leaflet.nontiledlayer.

temapanf avatar temapanf commented on June 10, 2024

I tried to Mozilla Firefox 43.0.1 also doing well. Perhaps the FF update will solve the problem.

from leaflet.nontiledlayer.

xserverinternet avatar xserverinternet commented on June 10, 2024

Hi,

It seems that the issue came with v45, see this thread https://bugzilla.mozilla.org/show_bug.cgi?id=705826 The thread indicates the Firefox users not very satisfied with this behaviour in general.

I couldn't find a simple workaround for it. The only workaround would be to use the canvas instead of an image. But this would need some elaborate work and maybe browser switches.

So if the Firefox devs don't come around with a solution i can take a look at this after the holidays. I have some experience with dynamic canvas-layers :) http://ptv-logistics.github.io/xmas-server/

Oliver

from leaflet.nontiledlayer.

temapanf avatar temapanf commented on June 10, 2024

Thank you! Merry Christmas :)

from leaflet.nontiledlayer.

xserverinternet avatar xserverinternet commented on June 10, 2024

OK, i now use the canvas , which fixes the blinkng issue. The layer now also works for both Leaflet 1.0. http://ptv-logistics.github.io/Leaflet.NonTiledLayer/index.html and 0.7. http://ptv-logistics.github.io/Leaflet.NonTiledLayer/test.0.7.html

The code detects the canvas automatically, so it should work on IE8 also. But i don't know if canvas works well on every browser. You can override it by setting the useCanvas option to true/false.

Oliver

from leaflet.nontiledlayer.

xserverinternet avatar xserverinternet commented on June 10, 2024

sorry - wrong commit! Now it should be flicker-free.

Oliver

from leaflet.nontiledlayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.