GithubHelp home page GithubHelp logo

Comments (8)

bcamper avatar bcamper commented on May 19, 2024

Hi - I would like to do this as well, but it requires a little more research. There are two versions of Leaflet the library is compatible with:

  • 0.7.x (current prod release): I'm not sure it's possible to implement smooth zoom for Tangram with this version, because Leaflet uses CSS transitions to zoom the map elements, but this cannot be applied to a WebGL context. Since this version also does not support fractional zoom levels, I'm not sure what to do here.
  • 1.x (unreleased, next major release): The next version of Leaflet (used by the demo bundled with this repo) supports fractional zoom. It may still use CSS transitions for regular zooms (can't remember, need to check), but it also has new functions like map.flyTo() that allow you to animate smoothly across a range of zoom levels. As Leaflet 1.x becomes an official release, we will likely revisit this issue.

Thanks for your interest and let us know if you have any more questions!

from tangram.

Hywan avatar Hywan commented on May 19, 2024

Anyway to be kept informed (maybe Twitter or if I watch this repository)?

from tangram.

Hywan avatar Hywan commented on May 19, 2024

(forget to say thank you for the answer!)

from tangram.

bcamper avatar bcamper commented on May 19, 2024

Certainly, I recommend watching this repository, and we also have a new twitter account at http://twitter.com/tangramjs, where we will post about new releases.

from tangram.

Hywan avatar Hywan commented on May 19, 2024

Do you have a list of “entry contributions”?

from tangram.

Hywan avatar Hywan commented on May 19, 2024

@bcamper Any good news :-)?

from tangram.

meetar avatar meetar commented on May 19, 2024

@Hywan Hi Evan – Thanks for your continued interest! We still plan to implement this in the future, but we don't have a deadline for it… we'll be sure to mention it in the release notes when we do.

And we don't have a list of “entry contributions”, although that's a good idea!

from tangram.

Hywan avatar Hywan commented on May 19, 2024

@meetar Thanks!

from tangram.

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.